We are doing the intial steps to re-program all our v8 sites to Umbraco 9 and is therefore testing it using Visual Studio Code. We are using the native database.
In the local environment everything works fine but when we try to deploy the local test-solution to a sandbox environment online, the Umbraco install wizard starts.
I have used this command to make the files for the webserver:
It seems that important files, as for example the database is excluded from this. Initial tweaking in config files is probably needed to get everything working - but I can't find any information about that anywhere.
Any ideas on what we need to do to make this work?
Are you able to access sandbox environment?
Are all files in place?
Is correct connectionstring set up in appsettings.json at sandbox environment?
Do you use SQL CE? Is it copied to environment?
Are you able to connect to DB from sandbox?
...
We are using similar publish command without any issues, not using --self-contained switch. That works without issues, so I guess you need to check something else.
Hi Jörg,
Thank you for getting back.
Yes I have access to the IIS on sandbox environment - and I can get Umbraco to run (showing install screen)
I have not changed anything in appsettings.json assuming that the SQL CE database is uploaded the same place.... but this could very well be the issue....
I will look into this.
I use SQL CE and by default it is not copied into local \Publish folder but I have tried to upload what is missing - but I evidently misses something.
I read somewhere that everything should land in the \Publish folder when running the 'publish' command. But it doesn't seem so..
I have found what the problem was.
Our sandbox environment has stopped supporting .mdf (MS SQL Express).
So after a deployment on regular SQL server everything works as intended.
Deploying Umbraco 9
We are doing the intial steps to re-program all our v8 sites to Umbraco 9 and is therefore testing it using Visual Studio Code. We are using the native database.
In the local environment everything works fine but when we try to deploy the local test-solution to a sandbox environment online, the Umbraco install wizard starts. I have used this command to make the files for the webserver:
It seems that important files, as for example the database is excluded from this. Initial tweaking in config files is probably needed to get everything working - but I can't find any information about that anywhere. Any ideas on what we need to do to make this work?
Are you able to access sandbox environment?
Are all files in place?
Is correct connectionstring set up in appsettings.json at sandbox environment?
Do you use SQL CE? Is it copied to environment?
Are you able to connect to DB from sandbox?
...
We are using similar publish command without any issues, not using --self-contained switch. That works without issues, so I guess you need to check something else.
Hi Jörg, Thank you for getting back. Yes I have access to the IIS on sandbox environment - and I can get Umbraco to run (showing install screen)
I have not changed anything in appsettings.json assuming that the SQL CE database is uploaded the same place.... but this could very well be the issue.... I will look into this.
I use SQL CE and by default it is not copied into local \Publish folder but I have tried to upload what is missing - but I evidently misses something. I read somewhere that everything should land in the \Publish folder when running the 'publish' command. But it doesn't seem so..
I have found what the problem was. Our sandbox environment has stopped supporting .mdf (MS SQL Express). So after a deployment on regular SQL server everything works as intended.
Thank you for leading me in the right direction.
is working on a reply...