Comments (8)
Welcome and thanks for your request.
If turning off maintenance mode see FAQ doesn't do the trick, I'd suggest you revert as described here and wait for the devs to do their magic.
from nextcloud-snap.
@Pilzinsel64 has had a similar issue see #2641 and already posted upstream.
from nextcloud-snap.
Hi @scubamuc, thanks for your input and the info you posted. Definitely useful, revert helped me. I don't think it's related to #2641 which is around a problem when some files (web root) cannot be located (during or after an upgrade).
In contrast, here the problem seems to be that a file that is known and can be located (/snap/nextcloud/XXX/htdocs/.htaccess
) is read-only and the upgrade process was never designed to handle this situation gracefully so it just exits prematurely and leaves the instance in maintenance mode.
After rollback, these are the relevant mounts in the system under test:
$ mount | grep -E '(/snap/nextcloud/39216|/snap/nextcloud/40247)'
/var/lib/snapd/snaps/nextcloud_39216.snap on /snap/nextcloud/39216 type squashfs (ro,nodev,relatime,errors=continue,x-gdu.hide)
/var/lib/snapd/snaps/nextcloud_40247.snap on /snap/nextcloud/40247 type squashfs (ro,nodev,relatime,errors=continue,x-gdu.hide)
/dev/sda1 on /snap/nextcloud/40247/conf/ssl.conf type ext4 (rw,relatime,x-systemd.before=snap.nextcloud.apache.service)
/dev/sda1 on /snap/nextcloud/40247/htdocs/.htaccess type ext4 (rw,relatime,x-systemd.before=snap.nextcloud.apache.service)
/dev/sda1 on /snap/nextcloud/39216/htdocs/.htaccess type ext4 (rw,relatime,x-systemd.before=snap.nextcloud.apache.service)
/dev/sda1 on /snap/nextcloud/39216/conf/ssl.conf type ext4 (rw,relatime,x-systemd.before=snap.nextcloud.apache.service)
The error message is spurious (I definitely did not have a full disk) and I theorise that the mount holding the given .htaccess file, normally mounted rw
(as above), is removed during the upgrade, and the error is generated because this removed mount shadows the same file from another mount which is a read-only squashfs.
from nextcloud-snap.
That bug was introduced in 27.1.5, we caught it (#2631) and reported it, and it was fixed in 27.1.6 (nextcloud/server#42385). I'm running this just fine, why is it deciding to break for you?
from nextcloud-snap.
I'm amd64, and it appears that you're arm64, which is really the only obvious difference. @nextcloud-snap/triagers any chance one of you running on arm64 can duplicate this?
from nextcloud-snap.
@pachulo is running on arm64...
from nextcloud-snap.
Yes, my production instance runs on arm64, but I didn't experience this when upgrading from 26.0.10 to 27.1.6, so I don't really know what's going on here...
from nextcloud-snap.
OK, thanks everyone, I'll keep en eye on things and re-open if needed.
from nextcloud-snap.
Related Issues (20)
- issues after update to 29.0.2snap1 stable HOT 3
- Foreign Key Collision in Migration causes Stuck in Maintenance HOT 5
- Issue with cron after update to 29.0.4snap2 HOT 1
- documentation, add wiki managing automatic updates
- Snap Nextcloud seems to have not enabled imagic HOT 1
- Only self-signed certificate is delivered HOT 4
- documentation, add wiki database-apps-files maintenance
- documentation, wiki edit FAQ's
- documentation, wiki add CG-NAT and DSLite, work on details and beautify
- Trying to track down long term stability issue HOT 19
- Upgrade Nextcloud to 29.0.5 HOT 1
- Upgrade Redis to 7.2.5
- Upgrade PHP to 8.2.22
- Collabora stops working after a few hours HOT 6
- Upgrade Nextcloud to 28.0.9 HOT 1
- documentation, wiki "reverse proxy configuration"
- Nextcloud Office: Namespaces wont' work out of the box inside of a snap HOT 4
- Fedora Server 40 - Snap move nextcloud data folder HOT 1
- Update Nextcloud to 29.0.6 HOT 2
- Object Name and Folder Structure When Using S3 Storage (IDrive e2) as Primary Storage HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextcloud-snap.