Some solutions to various issues which occur when updating/installing a standard installation of Nextcloud on a Synology NAS. All entered in an ssh terminal after issuing sudo -i:
To update missing indexes enter this command, substituting your php.id in place of my semi-hidden one:
The last solution took me hours and hours to solve, but was so simple! I had been trying to link using /volume1/web but for some reason it required the ‘real’ location of /var/services/web
This seems to cause problems when nginx is restarted.
“DSM cannot start up normally because it ran into a problem. Please contact the Synology support team for help.”
I run Nextcloud as a virtual host in WebStation. Checking HSTS in the config works.
I’ve not had this problem - since I incorporated this fix I have restarted nginx manually several times for various reasons and have rebooted my DS a few times too. Not once has it complained. I installed NextCloud directly, no virtual host or anything like that. If you copied and pasted the fix double check that the correct quotes have survived me posting and you copying - I know this has caused problems in the past.
Lol! Just re-red the thread and it was you who commented about the quotes in another fix. Maybe it’s the issue for this one too.