Giter VIP home page Giter VIP logo

Comments (8)

scubamuc avatar scubamuc commented on September 26, 2024

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.

scubamuc avatar scubamuc commented on September 26, 2024

@Pilzinsel64 has had a similar issue see #2641 and already posted upstream.

from nextcloud-snap.

marekful avatar marekful commented on September 26, 2024

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.

kyrofa avatar kyrofa commented on September 26, 2024

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.

kyrofa avatar kyrofa commented on September 26, 2024

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.

scubamuc avatar scubamuc commented on September 26, 2024

@pachulo is running on arm64...

from nextcloud-snap.

pachulo avatar pachulo commented on September 26, 2024

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.

marekful avatar marekful commented on September 26, 2024

OK, thanks everyone, I'll keep en eye on things and re-open if needed.

from nextcloud-snap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.