Nextcloud Box: Update auf 10.0.3 nicht möglich

Ich habe heute meine Nextcloud Box bekommen und installiert.

Ich habe zwei Wege Authentifizierung und Verschlüsselung aktiviert.

Ich kann nun nicht auf Version 10.0.3 upgraden, Fehler:

Vorformatierter TextUpdate
Initializing
Current version is 10.0.1.
Update to Nextcloud 10.0.3 available. (channel: “stable”)
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-10.0.3.zip
Retry update
Check for expected files
Check for write permissions
The following places can not be written to:
/snap/nextcloud/136/htdocs/updater/…/.
/snap/nextcloud/136/htdocs/updater/…/.htaccess
/snap/nextcloud/136/htdocs/updater/…/.user.ini
/snap/nextcloud/136/htdocs/updater/…/3rdparty/.
/snap/nextcloud/136/htdocs/updater/…/3rdparty/.gitignore
/snap/nextcloud/136/htdocs/updater/…/3rdparty/LICENSE INFO
/snap/nextcloud/136/htdocs/updater/…/3rdparty/README.md
/snap/nextcloud/136/htdocs/updater/…/3rdparty/autoload.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/bantu/.
/snap/nextcloud/136/htdocs/updater/…/3rdparty/bantu/ini-get-wrapper/.
/snap/nextcloud/136/htdocs/updater/…/3rdparty/bantu/ini-get-wrapper/.gitignore
/snap/nextcloud/136/htdocs/updater/…/3rdparty/bantu/ini-get-wrapper/.scrutinizer.yml
/snap/nextcloud/136/htdocs/updater/…/3rdparty/bantu/ini-get-wrapper/LICENSE
/snap/nextcloud/136/htdocs/updater/…/3rdparty/bantu/ini-get-wrapper/README.md
/snap/nextcloud/136/htdocs/updater/…/3rdparty/bantu/ini-get-wrapper/composer.json
/snap/nextcloud/136/htdocs/updater/…/3rdparty/bantu/ini-get-wrapper/phpunit.xml.dist
/snap/nextcloud/136/htdocs/updater/…/3rdparty/bantu/ini-get-wrapper/src/.
/snap/nextcloud/136/htdocs/updater/…/3rdparty/bantu/ini-get-wrapper/src/IniGetWrapper.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/composer/.
/snap/nextcloud/136/htdocs/updater/…/3rdparty/composer/ClassLoader.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/composer/LICENSE
/snap/nextcloud/136/htdocs/updater/…/3rdparty/composer/autoload_classmap.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/composer/autoload_files.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/composer/autoload_namespaces.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/composer/autoload_psr4.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/composer/autoload_real.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/composer/autoload_static.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/composer/include_paths.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/composer/installed.json
/snap/nextcloud/136/htdocs/updater/…/3rdparty/composer.json
/snap/nextcloud/136/htdocs/updater/…/3rdparty/composer.lock
/snap/nextcloud/136/htdocs/updater/…/3rdparty/deepdiver1975/.
/snap/nextcloud/136/htdocs/updater/…/3rdparty/deepdiver1975/tarstreamer/.
/snap/nextcloud/136/htdocs/updater/…/3rdparty/deepdiver1975/tarstreamer/LICENSE
/snap/nextcloud/136/htdocs/updater/…/3rdparty/deepdiver1975/tarstreamer/src/.
/snap/nextcloud/136/htdocs/updater/…/3rdparty/deepdiver1975/tarstreamer/src/TarStreamer.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/.
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/.
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/LICENSE
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/README.md
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/composer.json
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/lib/.
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/lib/Doctrine/.
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/lib/Doctrine/Common/.
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/.
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/.
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Attribute.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Attributes.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Enum.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/IgnoreAnnotation.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Required.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Target.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationReader.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationRegistry.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/DocLexer.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/FileCacheReader.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/IndexedReader.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/PhpParser.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/Reader.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/SimpleAnnotationReader.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/TokenParser.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/cache/.
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/cache/.coveralls.yml
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/cache/.gitignore
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/cache/LICENSE
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/cache/README.md
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/cache/UPGRADE.md
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/cache/lib/.
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/cache/lib/Doctrine/.
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/cache/lib/Doctrine/Common/.
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/.
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/ApcCache.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/ArrayCache.php
/snap/nextcloud/136/htdocs/updater/…/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/Cache.php
etc.
vorformatierten Text mit 4 Leerzeichen einrücken

Same problem here… cannot update due missing permissions?

Here my permissions of /updater folder I am missing something?

If your folders have the same permissions, it can’t work because only root can write and your php scripts (also the updater) runs as www-data.

Well, i bought a pre built system (Nextcloud Box) so I do not have to struggle with system administration :-/
So how to sort this?

Sorry, I somehow did miss that you use the Nextcloud box, you can’t use the updater app, you have to use the snappy stuff:

Works, until this command:
sudo snap refresh ubuntu-core
error: cannot refresh “ubuntu-core”: cannot find snap “ubuntu-core”

Did this module get replaced by something else?

Not sure, I mean to remember that the first images didn’t use ubuntu-core (do the current ones use it)? @oparoz

How do I figure it out?
I only know dpkg, first time I am in touch with snap (not even knowing if it is the same).

Sorry, I don’t know the snappy-stuff either, perhaps @JasonBayton can help us out here?

OK, thank you anyway for your fast replies.

Well then the documentation should be updated cause I used the script for strong directory permissions showed here:

https://docs.nextcloud.com/server/12/admin_manual/installation/installation_wizard.html#setting-strong-directory-permissions

Though the forum is flooded by bug reports. I’ve decided to wait a little bit.

Hi folks,

Although the snap has been around for a little while it’s still new, a little raw and there are aspects that probably could be improved but while they work on a brand new image it’s still a work in progress.

@Oliver_Soeder the snap ubuntu-core should be installed by default. I think it’s been renamed to just core. Try sudo snap list to display everything installed, or skip to the sudo snap refresh

The image currently shipping is ubuntu-server + snapd. We had to wait for Canonical to finish Ubuntu Core, before putting the Nextcloud snap on it. We now have an image. It works as expected for Pi2/Pi3. I’m just waiting for the green light to be able to publish links.

1 Like

also sorry missed about the nextcloud box… I was running my own customized server. This evening I’ve made the update and everything is running fine now. My problem could be solved with chmodding the folders - as said before. I would like to harden my installation again, is it recommend to run the script from documentation over updated version?