Nextcloud 22 Update

when can we expect version 22?

Of cause, let me check.

what does it look like? do you already know more about it?

Pushed v22.2 to the store, please update.

Hi,
the upgrade does not work for me.
From Version v210624280 to v211101376.

command: snap changes

868 Error 2021-11-06T17:31:22Z 2021-11-06T17:40:25Z Refresh “nextcloud” snap

command: snap change 868

Status Spawn Ready Summary
Undone 2021-11-06T17:31:22Z 2021-11-06T17:40:25Z Download snap “nextcloud” (211101376) from channel “stable”
Done 2021-11-06T17:31:22Z 2021-11-06T17:40:23Z Fetch and check assertions for snap “nextcloud” (211101376)
Undone 2021-11-06T17:31:22Z 2021-11-06T17:40:23Z Mount snap “nextcloud” (211101376)
Done 2021-11-06T17:31:22Z 2021-11-06T17:40:23Z Run pre-refresh hook of “nextcloud” snap if present
Undone 2021-11-06T17:31:22Z 2021-11-06T17:40:22Z Stop snap “nextcloud” services
Undone 2021-11-06T17:31:22Z 2021-11-06T17:40:20Z Remove aliases for snap “nextcloud”
Undone 2021-11-06T17:31:22Z 2021-11-06T17:40:20Z Make current revision for snap “nextcloud” unavailable
Undone 2021-11-06T17:31:22Z 2021-11-06T17:40:12Z Copy snap “nextcloud” data
Undone 2021-11-06T17:31:22Z 2021-11-06T17:40:09Z Setup snap “nextcloud” (211101376) security profiles
Undone 2021-11-06T17:31:22Z 2021-11-06T17:40:08Z Make snap “nextcloud” (211101376) available to the system
Undone 2021-11-06T17:31:22Z 2021-11-06T17:40:06Z Automatically connect eligible plugs and slots of snap “nextcloud”
Undone 2021-11-06T17:31:22Z 2021-11-06T17:40:05Z Set automatic aliases for snap “nextcloud”
Undone 2021-11-06T17:31:22Z 2021-11-06T17:40:03Z Setup snap “nextcloud” aliases
Done 2021-11-06T17:31:22Z 2021-11-06T17:40:02Z Run post-refresh hook of “nextcloud” snap if present
Error 2021-11-06T17:31:22Z 2021-11-06T17:40:01Z Start snap “nextcloud” (211101376) services
Hold 2021-11-06T17:31:22Z 2021-11-06T17:40:01Z Clean up “nextcloud” (211101376) install
Hold 2021-11-06T17:31:22Z 2021-11-06T17:40:01Z Run configure hook of “nextcloud” snap if present


Start snap “nextcloud” (211101376) services

2021-11-06T17:40:01Z ERROR [start snap.nextcloud.php-fpm.service snap.nextcloud.nginx.service snap.nextcloud.postgresql.service] failed with exit status 1: Job for snap.nextcloud.postgresql.service failed. See ‘systemctl status snap.nextcloud.postgresql.service’ and ‘journalctl -xn’ for details.

command: snap logs
2021-11-06T16:03:56Z systemd[1]: snap.nextcloud.postgresql.service: control process exited, code=exited status=1
2021-11-06T16:03:56Z systemd[1]: Failed to start Service for snap application nextcloud.postgresql.
2021-11-06T16:03:56Z systemd[1]: Unit snap.nextcloud.postgresql.service entered failed state.
2021-11-06T16:03:56Z systemd[1]: Starting Service for snap application nextcloud.php-fpm…
2021-11-06T16:03:56Z nextcloud.nginx[3493]: nginx: the configuration file /var/snap/nextcloud/211101376/config/nginx.conf syntax is ok
2021-11-06T16:03:56Z nextcloud.nginx[3493]: nginx: configuration file /var/snap/nextcloud/211101376/config/nginx.conf test is successful
2021-11-06T16:03:56Z nextcloud.nginx[3493]: nginx: [alert] could not open error log file: open() “/snap/nextcloud/211101376/nginx/logs/error.log” failed (30: Read-only file system)
2021-11-06T16:03:56Z systemd[1]: snap.nextcloud.postgresql.service holdoff time over, scheduling restart.
2021-11-06T16:03:56Z systemd[1]: Stopping Service for snap application nextcloud.postgresql…
2021-11-06T16:03:56Z systemd[1]: Starting Service for snap application nextcloud.postgresql…
2021-11-06T16:03:56Z nextcloud.postgresql[3556]: /snap/nextcloud/211101376/postgresql/bin/postgres: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.28’ not found (required by /snap/nextcloud/211101376/postgresql/bin/postgres)
2021-11-06T16:03:56Z nextcloud.postgresql[3556]: no data was returned by command “”/snap/nextcloud/211101376/postgresql/bin/postgres" -V"
2021-11-06T16:03:56Z nextcloud.postgresql[3556]: The program “postgres” is needed by pg_ctl.bin but was not found in the
2021-11-06T16:03:56Z nextcloud.postgresql[3556]: same directory as “/snap/nextcloud/211101376/postgresql/bin/pg_ctl.bin”.
2021-11-06T16:03:56Z nextcloud.postgresql[3556]: Check your installation.

My System:
odroid-xu3and4
Linux 4.14.5-92 armv7l
ARMv7 Processor rev 3 (v7l) (8 cores) (32bit)
1.95 GB

I can’t get this to install either.

Strange, let me test.

Ok there was a problem on older images which should be fixed now, can try to upgrade one more time?

I tried on the command line but I get the same error:
root@odroid-xu3and4:~# snap refresh nextcloud --amend
error: cannot perform the following tasks:

  • Start snap “nextcloud” (211115382) services ([start snap.nextcloud.postgresql.service snap.nextcloud.nginx.service snap.nextcloud.php-fpm.service] failed with exit status 1: Job for snap.nextcloud.postgresql.service failed. See ‘systemctl status snap.nextcloud.postgresql.service’ and ‘journalctl -xn’ for details.
    )

Via Browser I get “cannot perform operation on local snap”

Do I have to try something special?

Can you paste the output of this command?

journalctl -n 100 --no-pager

Here it is:
root@odroid-xu3and4:~# snap refresh nextcloud --amend
error: cannot perform the following tasks:

  • Start snap “nextcloud” (211115382) services ([start snap.nextcloud.postgresql.service snap.nextcloud.nginx.service snap.nextcloud.php-fpm.service] failed with exit status 1: Job for snap.nextcloud.postgresql.service failed. See ‘systemctl status snap.nextcloud.postgresql.service’ and ‘journalctl -xn’ for details.
    )
    root@odroid-xu3and4:~# journalctl -n 100 --no-pager
    – Logs begin at Mon 2021-11-15 15:37:07 UTC, end at Mon 2021-11-15 19:50:58 UTC. –
    Nov 15 19:50:30 odroid-xu3and4 nextcloud.postgresql[9001]: no data was returned by command “”/snap/nextcloud/211115382/postgresql/bin/postgres" -V"
    Nov 15 19:50:30 odroid-xu3and4 nextcloud.postgresql[9001]: The program “postgres” is needed by pg_ctl but was not found in the
    Nov 15 19:50:30 odroid-xu3and4 nextcloud.postgresql[9001]: same directory as “/snap/nextcloud/211115382/postgresql/bin/pg_ctl”.
    Nov 15 19:50:30 odroid-xu3and4 nextcloud.postgresql[9001]: Check your installation.
    Nov 15 19:50:30 odroid-xu3and4 systemd[1]: snap.nextcloud.postgresql.service: control process exited, code=exited status=1
    Nov 15 19:50:30 odroid-xu3and4 systemd[1]: Failed to start Service for snap application nextcloud.postgresql.
    Nov 15 19:50:30 odroid-xu3and4 systemd[1]: Unit snap.nextcloud.postgresql.service entered failed state.
    Nov 15 19:50:31 odroid-xu3and4 systemd[1]: snap.nextcloud.postgresql.service holdoff time over, scheduling restart.
    Nov 15 19:50:31 odroid-xu3and4 systemd[1]: Stopping Service for snap application nextcloud.postgresql…
    Nov 15 19:50:31 odroid-xu3and4 systemd[1]: Starting Service for snap application nextcloud.postgresql…
    Nov 15 19:50:31 odroid-xu3and4 systemd[1]: snap.nextcloud.postgresql.service start request repeated too quickly, refusing to start.
    Nov 15 19:50:31 odroid-xu3and4 systemd[1]: Failed to start Service for snap application nextcloud.postgresql.
    Nov 15 19:50:31 odroid-xu3and4 systemd[1]: Unit snap.nextcloud.postgresql.service entered failed state.
    Nov 15 19:50:33 odroid-xu3and4 nextcloud.php-fpm[9020]: [NOTICE] [pool www] ‘user’ directive is ignored when FPM is not running as root
    Nov 15 19:50:33 odroid-xu3and4 nextcloud.php-fpm[9020]: [NOTICE] [pool www] ‘group’ directive is ignored when FPM is not running as root
    Nov 15 19:50:33 odroid-xu3and4 nextcloud.php-fpm[8925]: [NOTICE] [pool www] ‘user’ directive is ignored when FPM is not running as root
    Nov 15 19:50:33 odroid-xu3and4 nextcloud.php-fpm[8925]: [NOTICE] [pool www] ‘group’ directive is ignored when FPM is not running as root
    Nov 15 19:50:33 odroid-xu3and4 nextcloud.php-fpm[9020]: [NOTICE] fpm is running, pid 9020
    Nov 15 19:50:33 odroid-xu3and4 nextcloud.php-fpm[9020]: [NOTICE] ready to handle connections
    Nov 15 19:50:33 odroid-xu3and4 systemd[1]: Started Service for snap application nextcloud.php-fpm.
    Nov 15 19:50:33 odroid-xu3and4 systemd[1]: Starting Service for snap application nextcloud.nginx…
    Nov 15 19:50:33 odroid-xu3and4 nextcloud.nginx[9039]: waiting for /var/snap/nextcloud/common/web.socket
    Nov 15 19:50:33 odroid-xu3and4 nextcloud.nginx[9038]: nginx: [alert] could not open error log file: open() “/snap/nextcloud/211115382/nginx/logs/error.log” failed (30: Read-only file system)
    Nov 15 19:50:33 odroid-xu3and4 nextcloud.nginx[9038]: nginx: the configuration file /var/snap/nextcloud/211115382/config/nginx.conf syntax is ok
    Nov 15 19:50:33 odroid-xu3and4 nextcloud.nginx[9038]: nginx: configuration file /var/snap/nextcloud/211115382/config/nginx.conf test is successful
    Nov 15 19:50:33 odroid-xu3and4 nextcloud.nginx[9038]: nginx: [alert] could not open error log file: open() “/snap/nextcloud/211115382/nginx/logs/error.log” failed (30: Read-only file system)
    Nov 15 19:50:34 odroid-xu3and4 systemd[1]: Started Service for snap application nextcloud.nginx.
    Nov 15 19:50:34 odroid-xu3and4 systemd[1]: Stopping Service for snap application nextcloud.php-fpm…
    Nov 15 19:50:34 odroid-xu3and4 nextcloud.php-fpm[9020]: [NOTICE] Terminating …
    Nov 15 19:50:34 odroid-xu3and4 nextcloud.php-fpm[9020]: [NOTICE] exiting, bye-bye!
    Nov 15 19:50:34 odroid-xu3and4 systemd[1]: Stopped Service for snap application nextcloud.php-fpm.
    Nov 15 19:50:34 odroid-xu3and4 systemd[1]: Stopping Service for snap application nextcloud.nginx…
    Nov 15 19:50:34 odroid-xu3and4 nextcloud.nginx[9076]: nginx: [alert] could not open error log file: open() “/snap/nextcloud/211115382/nginx/logs/error.log” failed (30: Read-only file system)
    Nov 15 19:50:34 odroid-xu3and4 nextcloud.nginx[9076]: 2021/11/15 19:50:34 [notice] 9088#0: signal process started
    Nov 15 19:50:34 odroid-xu3and4 systemd[1]: Stopped Service for snap application nextcloud.nginx.
    Nov 15 19:50:35 odroid-xu3and4 systemd[1]: Stopped Service for snap application nextcloud.postgresql.
    Nov 15 19:50:35 odroid-xu3and4 systemd[1]: Reloading.
    Nov 15 19:50:35 odroid-xu3and4 systemd[1]: nut-monitor.service: Supervising process 605 which is not our child. We’ll most likely not notice when it exits.
    Nov 15 19:50:36 odroid-xu3and4 systemd[1]: Reloading.
    Nov 15 19:50:36 odroid-xu3and4 systemd[1]: nut-monitor.service: Supervising process 605 which is not our child. We’ll most likely not notice when it exits.
    Nov 15 19:50:37 odroid-xu3and4 systemd[1]: Starting Service for snap application nextcloud.nginx…
    Nov 15 19:50:37 odroid-xu3and4 nextcloud.nginx[9126]: waiting for /var/snap/nextcloud/common/web.socket
    Nov 15 19:50:37 odroid-xu3and4 nextcloud.nginx[9125]: nginx: [alert] could not open error log file: open() “/snap/nextcloud/x4/nginx/logs/error.log” failed (30: Read-only file system)
    Nov 15 19:50:37 odroid-xu3and4 nextcloud.nginx[9125]: nginx: the configuration file /var/snap/nextcloud/x4/config/nginx.conf syntax is ok
    Nov 15 19:50:37 odroid-xu3and4 nextcloud.nginx[9125]: nginx: configuration file /var/snap/nextcloud/x4/config/nginx.conf test is successful
    Nov 15 19:50:37 odroid-xu3and4 nextcloud.nginx[9125]: nginx: [alert] could not open error log file: open() “/snap/nextcloud/x4/nginx/logs/error.log” failed (30: Read-only file system)
    Nov 15 19:50:37 odroid-xu3and4 systemd[1]: Starting Service for snap application nextcloud.postgresql…
    Nov 15 19:50:37 odroid-xu3and4 nextcloud.postgres[9175]: [1-1] 2021-11-15 19:50:37.291 GMT [9175] LOG: listening on Unix socket “/var/snap/nextcloud/current/database/.s.PGSQL.5436”
    Nov 15 19:50:37 odroid-xu3and4 nextcloud.postgresql[9158]: 2021-11-15 19:50:37.291 GMT [9175] LOG: listening on Unix socket “/var/snap/nextcloud/current/database/.s.PGSQL.5436”
    Nov 15 19:50:37 odroid-xu3and4 nextcloud.postgres[9175]: [2-1] 2021-11-15 19:50:37.310 GMT [9175] LOG: ending log output to stderr
    Nov 15 19:50:37 odroid-xu3and4 nextcloud.postgres[9175]: [2-2] 2021-11-15 19:50:37.310 GMT [9175] HINT: Future log output will go to log destination “syslog”.
    Nov 15 19:50:37 odroid-xu3and4 nextcloud.postgresql[9158]: 2021-11-15 19:50:37.310 GMT [9175] LOG: ending log output to stderr
    Nov 15 19:50:37 odroid-xu3and4 nextcloud.postgresql[9158]: 2021-11-15 19:50:37.310 GMT [9175] HINT: Future log output will go to log destination “syslog”.
    Nov 15 19:50:37 odroid-xu3and4 nextcloud.postgres[9176]: [3-1] 2021-11-15 19:50:37.316 GMT [9176] LOG: database system was shut down at 2021-11-15 19:50:18 GMT
    Nov 15 19:50:37 odroid-xu3and4 nextcloud.postgres[9175]: [3-1] 2021-11-15 19:50:37.324 GMT [9175] LOG: database system is ready to accept connections
    Nov 15 19:50:37 odroid-xu3and4 systemd[1]: Started Service for snap application nextcloud.postgresql.
    Nov 15 19:50:37 odroid-xu3and4 systemd[1]: Starting Service for snap application nextcloud.php-fpm…
    Nov 15 19:50:37 odroid-xu3and4 nextcloud.php-fpm[9204]: [NOTICE] [pool www] ‘user’ directive is ignored when FPM is not running as root
    Nov 15 19:50:37 odroid-xu3and4 nextcloud.php-fpm[9204]: [NOTICE] [pool www] ‘group’ directive is ignored when FPM is not running as root
    Nov 15 19:50:37 odroid-xu3and4 nextcloud.php-fpm[9183]: [NOTICE] [pool www] ‘user’ directive is ignored when FPM is not running as root
    Nov 15 19:50:37 odroid-xu3and4 nextcloud.php-fpm[9183]: [NOTICE] [pool www] ‘group’ directive is ignored when FPM is not running as root
    Nov 15 19:50:37 odroid-xu3and4 nextcloud.php-fpm[9204]: [NOTICE] fpm is running, pid 9204
    Nov 15 19:50:37 odroid-xu3and4 nextcloud.php-fpm[9204]: [NOTICE] ready to handle connections
    Nov 15 19:50:37 odroid-xu3and4 systemd[1]: Started Service for snap application nextcloud.php-fpm.
    Nov 15 19:50:38 odroid-xu3and4 systemd[1]: Started Service for snap application nextcloud.nginx.
    Nov 15 19:50:38 odroid-xu3and4 systemd[1]: Unmounted Mount unit for nextcloud.
    Nov 15 19:50:38 odroid-xu3and4 systemd[1]: Reloading.
    Nov 15 19:50:38 odroid-xu3and4 systemd[1]: nut-monitor.service: Supervising process 605 which is not our child. We’ll most likely not notice when it exits.
    Nov 15 19:50:41 odroid-xu3and4 snapd[541]: 2021/11/15 19:50:41.748789 handlers.go:306: Reported install problem for “nextcloud” as 4f1a58e4-464d-11ec-b0b4-fa163e102db1 OOPSID
    Nov 15 19:50:56 odroid-xu3and4 slapd[698]: conn=1242 fd=10 ACCEPT from IP=127.0.0.1:55906 (IP=127.0.0.1:389)
    Nov 15 19:50:56 odroid-xu3and4 slapd[698]: conn=1242 op=0 BIND dn=“dc=syncloud,dc=org” method=128
    Nov 15 19:50:56 odroid-xu3and4 slapd[698]: conn=1242 op=0 BIND dn=“dc=syncloud,dc=org” mech=SIMPLE ssf=0
    Nov 15 19:50:56 odroid-xu3and4 slapd[698]: conn=1242 op=0 RESULT tag=97 err=0 text=
    Nov 15 19:50:58 odroid-xu3and4 slapd[698]: conn=1242 op=1 SRCH base=“cn=peter,ou=users,dc=syncloud,dc=org” scope=0 deref=0 filter="(|(objectClass=inetOrgPerson))"
    Nov 15 19:50:58 odroid-xu3and4 slapd[698]: conn=1242 op=1 SRCH attr=1.1
    Nov 15 19:50:58 odroid-xu3and4 slapd[698]: conn=1242 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
    Nov 15 19:50:58 odroid-xu3and4 slapd[698]: conn=1242 op=2 SRCH base=“cn=peter,ou=users,dc=syncloud,dc=org” scope=0 deref=0 filter="(objectClass=)"
    Nov 15 19:50:58 odroid-xu3and4 slapd[698]: conn=1242 op=2 SRCH attr=cn
    Nov 15 19:50:58 odroid-xu3and4 slapd[698]: conn=1242 op=2 SEARCH RESULT tag=101 err=0 nentries=1 text=
    Nov 15 19:50:58 odroid-xu3and4 slapd[698]: conn=1242 op=3 SRCH base=“cn=peter,ou=users,dc=syncloud,dc=org” scope=0 deref=0 filter="(objectClass=
    )"
    Nov 15 19:50:58 odroid-xu3and4 slapd[698]: conn=1242 op=3 SRCH attr=primarygroupid
    Nov 15 19:50:58 odroid-xu3and4 slapd[698]: conn=1242 op=3 SEARCH RESULT tag=101 err=0 nentries=1 text=
    Nov 15 19:50:58 odroid-xu3and4 slapd[698]: conn=1242 op=4 SRCH base=“cn=peter,ou=users,dc=syncloud,dc=org” scope=0 deref=0 filter="(objectClass=)"
    Nov 15 19:50:58 odroid-xu3and4 slapd[698]: conn=1242 op=4 SRCH attr=gidnumber
    Nov 15 19:50:58 odroid-xu3and4 slapd[698]: conn=1242 op=4 SEARCH RESULT tag=101 err=0 nentries=1 text=
    Nov 15 19:50:58 odroid-xu3and4 slapd[698]: conn=1242 op=5 SRCH base=“ou=groups,dc=syncloud,dc=org” scope=2 deref=0 filter="(&(&(|(objectClass=posixGroup)))(objectClass=posixGroup)(gidNumber=10))"
    Nov 15 19:50:58 odroid-xu3and4 slapd[698]: conn=1242 op=5 SRCH attr=dn
    Nov 15 19:50:58 odroid-xu3and4 slapd[698]: <= mdb_equality_candidates: (gidNumber) not indexed
    Nov 15 19:50:58 odroid-xu3and4 slapd[698]: conn=1242 op=5 SEARCH RESULT tag=101 err=0 nentries=0 text=
    Nov 15 19:50:58 odroid-xu3and4 slapd[698]: conn=1242 op=6 SRCH base=“cn=peter,ou=users,dc=syncloud,dc=org” scope=0 deref=0 filter="(objectClass=
    )"
    Nov 15 19:50:58 odroid-xu3and4 slapd[698]: conn=1242 op=6 SRCH attr=uid
    Nov 15 19:50:58 odroid-xu3and4 slapd[698]: conn=1242 op=6 SEARCH RESULT tag=101 err=0 nentries=1 text=
    Nov 15 19:50:58 odroid-xu3and4 slapd[698]: conn=1242 op=7 SRCH base=“ou=groups,dc=syncloud,dc=org” scope=2 deref=0 filter="(&(memberUid=peter)(&(|(objectClass=posixGroup))))"
    Nov 15 19:50:58 odroid-xu3and4 slapd[698]: conn=1242 op=7 SRCH attr=memberuid cn dn
    Nov 15 19:50:58 odroid-xu3and4 slapd[698]: <= mdb_equality_candidates: (memberUid) not indexed
    Nov 15 19:50:58 odroid-xu3and4 slapd[698]: conn=1242 op=7 SEARCH RESULT tag=101 err=0 nentries=1 text=
    Nov 15 19:50:58 odroid-xu3and4 slapd[698]: conn=1242 op=8 UNBIND
    Nov 15 19:50:58 odroid-xu3and4 slapd[698]: conn=1242 fd=10 closed
    Nov 15 19:50:58 odroid-xu3and4 nginx[9155]: odroid-xu3and4 nginx: 79.217.222.95 - peter [15/Nov/2021:19:50:58 +0000] “PROPFIND /remote.php/dav/files/peter/ HTTP/1.1” 207 262 “-” “Mozilla/5.0 (Linux) mirall/3.3.5git (build 7628) (Nextcloud, ubuntu-5.13.0-21-generic ClientArchitecture: x86_64 OsArchitecture: x86_64)”
    Nov 15 19:50:58 odroid-xu3and4 nginx[660]: odroid-xu3and4 nginx: 79.217.222.95 - peter [15/Nov/2021:19:50:58 +0000] “PROPFIND /remote.php/dav/files/peter/ HTTP/1.1” 207 262 “-” “Mozilla/5.0 (Linux) mirall/3.3.5git (build 7628) (Nextcloud, ubuntu-5.13.0-21-generic ClientArchitecture: x86_64 OsArchitecture: x86_64)”

Ok this time I was able to reproduce this on our automated test runner and push a fix.
Could try to update one more time?

Great! Worked for me. I did snap refresh nextcloud --amend and
everything worked fine