I ran the web updater to upgrade from 14.0.2 to 14.0.4.
The Upgrade got stuck and now I can’t enter my Nextcloud instance.
It shows Update in process.
I changed maintainance mode from true to false but that doesn’t change anything.
Also I tried the occ command to disable maintainance. All I get is Coukd not open input file: occ.
And now, I am helpless. I know that I have to run the command within the nextcloud root folder. I also checked the permissions. I dunno what to do now?
Thats strange… Basically this is where your data saved.
But based on this:
It looks like your clean up step (that is basically number 9) has the same issue that I mentioned here:
But you have not folder updater-xxxxx inside of the data folder. Could you please check if you did not rejected your data folder, just check your config.php (run inside of NC folder) to see where your data folder is:
I am so sorry for being that stupid. My data folder location is on a external hdd drive. I did not think of that at all. So I followed your commands and copied the updater-xxxxxx folder to /var/www/ and was able to run the update and disable maintainance mode via occ. Perfect!
I was wandering if that issue will happen again and startet to update to version 15.
The update is hanging at the same point. The web updater shows that it tries data folder under /var/www/nextcloud/data and fails, because the real data folder is elsewhere.
After moving files from updater-xxxxxx to /var/www/ I was able to do the update again.
The question now, how can I prevent this happening in the future? Is there another config I have to say that the data location is not on the default location?
In the past I was able to update using the web updater, so what changed?