syncloud / platform

Run popular services on your device with one click
https://syncloud.org
GNU General Public License v3.0
392 stars 40 forks source link

Nextcloud: Can't upgrade from Version: 210624280 to v211228447 #633

Closed Morgendorfferr closed 2 years ago

Morgendorfferr commented 2 years ago

Hello, I have a problem similar to the closed issue #609. But my issue is not solved, the problem is persistent.

The output after
snap refresh nextcloud looks like this after some time (10min?):

error: cannot perform the following tasks:

  • Run post-refresh hook of "nextcloud" snap if present (run hook "post-refresh": <exceeded maximum runtime of 10m0s>)

Running journalctl -n 100 --no-pager produces this:

-- Logs begin at Sun 2022-01-30 11:09:25 UTC, end at Sun 2022-01-30 12:10:33 UTC. -- Jan 30 12:08:21 syncloud nginx[900]: syncloud nginx: 192.168.178.30 - [30/Jan/2022:12:08:21 +0000] "GET /ocs/v2.php/apps/activity/api/v2/activity?since=38208&limit=50&format=json HTTP/1.1" 200 2103 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.0git (build 8401) (Nextcloud, osx-17.7.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:08:21 syncloud nginx[4096]: syncloud nginx: 192.168.178.30 - [30/Jan/2022:12:08:21 +0000] "GET /ocs/v2.php/apps/activity/api/v2/activity?since=38158&limit=50&format=json HTTP/1.1" 200 2423 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.0git (build 8401) (Nextcloud, osx-17.7.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:08:21 syncloud nginx[900]: syncloud nginx: 192.168.178.30 - [30/Jan/2022:12:08:21 +0000] "GET /ocs/v2.php/apps/activity/api/v2/activity?since=38158&limit=50&format=json HTTP/1.1" 200 2423 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.0git (build 8401) (Nextcloud, osx-17.7.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:08:21 syncloud nginx[4096]: syncloud nginx: 192.168.178.30 - [30/Jan/2022:12:08:21 +0000] "GET /ocs/v2.php/apps/activity/api/v2/activity?since=38108&limit=50&format=json HTTP/1.1" 200 3140 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.0git (build 8401) (Nextcloud, osx-17.7.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:08:21 syncloud nginx[900]: syncloud nginx: 192.168.178.30 - [30/Jan/2022:12:08:21 +0000] "GET /ocs/v2.php/apps/activity/api/v2/activity?since=38108&limit=50&format=json HTTP/1.1" 200 3140 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.0git (build 8401) (Nextcloud, osx-17.7.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:08:21 syncloud nginx[4096]: syncloud nginx: 192.168.178.30 - [30/Jan/2022:12:08:21 +0000] "GET /ocs/v2.php/apps/activity/api/v2/activity?since=38058&limit=50&format=json HTTP/1.1" 200 2470 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.0git (build 8401) (Nextcloud, osx-17.7.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:08:21 syncloud nginx[900]: syncloud nginx: 192.168.178.30 - [30/Jan/2022:12:08:21 +0000] "GET /ocs/v2.php/apps/activity/api/v2/activity?since=38058&limit=50&format=json HTTP/1.1" 200 2470 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.0git (build 8401) (Nextcloud, osx-17.7.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:08:21 syncloud nginx[4096]: syncloud nginx: 192.168.178.30 - [30/Jan/2022:12:08:21 +0000] "GET /ocs/v2.php/apps/activity/api/v2/activity?since=38008&limit=50&format=json HTTP/1.1" 200 2126 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.0git (build 8401) (Nextcloud, osx-17.7.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:08:21 syncloud nginx[900]: syncloud nginx: 192.168.178.30 - [30/Jan/2022:12:08:21 +0000] "GET /ocs/v2.php/apps/activity/api/v2/activity?since=38008&limit=50&format=json HTTP/1.1" 200 2126 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.0git (build 8401) (Nextcloud, osx-17.7.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:08:44 syncloud slapd[1001]: conn=1139 fd=10 ACCEPT from IP=127.0.0.1:37288 (IP=127.0.0.1:389) Jan 30 12:08:44 syncloud slapd[1001]: conn=1139 op=0 BIND dn="cn=admin,dc=syncloud,dc=org" method=128 Jan 30 12:08:44 syncloud slapd[1001]: conn=1139 op=0 BIND dn="cn=admin,dc=syncloud,dc=org" mech=SIMPLE ssf=0 Jan 30 12:08:44 syncloud slapd[1001]: conn=1139 op=0 RESULT tag=97 err=0 text= Jan 30 12:08:46 syncloud slapd[1001]: conn=1139 op=1 SRCH base="ou=users,dc=syncloud,dc=org" scope=2 deref=0 filter="(&(|(objectClass=inetOrgPerson))(cn=))" Jan 30 12:08:46 syncloud slapd[1001]: conn=1139 op=1 SRCH attr=entryuuid nsuniqueid objectguid guid ipauniqueid dn uid samaccountname memberof mail cn jpegphoto thumbnailphoto Jan 30 12:08:46 syncloud slapd[1001]: <= mdb_equality_candidates: (cn) not indexed Jan 30 12:08:46 syncloud slapd[1001]: conn=1139 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text= Jan 30 12:08:46 syncloud slapd[1001]: conn=1140 fd=13 ACCEPT from IP=127.0.0.1:37292 (IP=127.0.0.1:389) Jan 30 12:08:46 syncloud slapd[1001]: conn=1140 op=0 BIND dn="cn=,ou=users,dc=syncloud,dc=org" method=128 Jan 30 12:08:46 syncloud slapd[1001]: conn=1140 op=0 BIND dn="cn=,ou=users,dc=syncloud,dc=org" mech=SIMPLE ssf=0 Jan 30 12:08:46 syncloud slapd[1001]: conn=1140 op=0 RESULT tag=97 err=0 text= Jan 30 12:08:49 syncloud slapd[1001]: conn=1140 op=1 UNBIND Jan 30 12:08:49 syncloud slapd[1001]: conn=1140 fd=13 closed Jan 30 12:08:49 syncloud slapd[1001]: conn=1139 op=2 UNBIND Jan 30 12:08:49 syncloud slapd[1001]: conn=1139 fd=10 closed Jan 30 12:08:49 syncloud nginx[4096]: syncloud nginx: 192.168.178.31 - - [30/Jan/2022:12:08:49 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15" Jan 30 12:08:49 syncloud nginx[901]: syncloud nginx: 192.168.178.31 - - [30/Jan/2022:12:08:49 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15" Jan 30 12:08:59 syncloud nginx[4096]: syncloud nginx: 192.168.178.30 - [30/Jan/2022:12:08:59 +0000] "PROPFIND /remote.php/dav/files//SyncMini HTTP/1.1" 207 262 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.0git (build 8401) (Nextcloud, osx-17.7.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:08:59 syncloud nginx[900]: syncloud nginx: 192.168.178.30 - [30/Jan/2022:12:08:59 +0000] "PROPFIND /remote.php/dav/files//SyncMini HTTP/1.1" 207 262 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.0git (build 8401) (Nextcloud, osx-17.7.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:09:03 syncloud nginx[4096]: syncloud nginx: 192.168.178.31 - [30/Jan/2022:12:09:03 +0000] "PROPFIND /remote.php/dav/files//SyncMac HTTP/1.1" 207 262 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.1git (build 8596) (Nextcloud, osx-20.6.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:09:03 syncloud nginx[901]: syncloud nginx: 192.168.178.31 - [30/Jan/2022:12:09:03 +0000] "PROPFIND /remote.php/dav/files//SyncMac HTTP/1.1" 207 262 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.1git (build 8596) (Nextcloud, osx-20.6.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:09:04 syncloud nginx[4096]: syncloud nginx: 192.168.178.31 - [30/Jan/2022:12:09:04 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.1git (build 8596) (Nextcloud, osx-20.6.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:09:04 syncloud nginx[901]: syncloud nginx: 192.168.178.31 - [30/Jan/2022:12:09:04 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.1git (build 8596) (Nextcloud, osx-20.6.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:09:04 syncloud nginx[4096]: syncloud nginx: 192.168.178.31 - [30/Jan/2022:12:09:04 +0000] "GET /ocs/v2.php/apps/user_status/api/v1/user_status?format=json HTTP/1.1" 200 157 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.1git (build 8596) (Nextcloud, osx-20.6.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:09:04 syncloud nginx[901]: syncloud nginx: 192.168.178.31 - [30/Jan/2022:12:09:04 +0000] "GET /ocs/v2.php/apps/user_status/api/v1/user_status?format=json HTTP/1.1" 200 157 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.1git (build 8596) (Nextcloud, osx-20.6.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:09:19 syncloud nginx[4096]: syncloud nginx: 192.168.178.31 - - [30/Jan/2022:12:09:19 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15" Jan 30 12:09:19 syncloud nginx[901]: syncloud nginx: 192.168.178.31 - - [30/Jan/2022:12:09:19 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15" Jan 30 12:09:29 syncloud ntpd[732]: frequency file /var/lib/ntp/ntp.drift.TEMP: Permission denied Jan 30 12:09:29 syncloud nginx[4095]: syncloud nginx: 192.168.178.30 - [30/Jan/2022:12:09:29 +0000] "PROPFIND /remote.php/dav/files//SyncMini HTTP/1.1" 207 262 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.0git (build 8401) (Nextcloud, osx-17.7.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:09:29 syncloud nginx[900]: syncloud nginx: 192.168.178.30 - [30/Jan/2022:12:09:29 +0000] "PROPFIND /remote.php/dav/files//SyncMini HTTP/1.1" 207 262 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.0git (build 8401) (Nextcloud, osx-17.7.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:09:30 syncloud snapd[479]: 2022/01/30 12:09:30.135063 store.go:1169: assert type: snap-declaration, key: 16/plex.21121859 Jan 30 12:09:30 syncloud snapd[479]: 2022/01/30 12:09:30.278924 store.go:1169: assert type: snap-declaration, key: 16/users.210524196 Jan 30 12:09:30 syncloud snapd[479]: 2022/01/30 12:09:30.428889 store.go:1169: assert type: snap-declaration, key: 16/files.21030283 Jan 30 12:09:30 syncloud snapd[479]: 2022/01/30 12:09:30.572641 store.go:1169: assert type: snap-declaration, key: 16/mail.211016212 Jan 30 12:09:30 syncloud snapd[479]: 2022/01/30 12:09:30.716293 store.go:1169: assert type: snap-declaration, key: 16/nextcloud.210624280 Jan 30 12:09:30 syncloud snapd[479]: 2022/01/30 12:09:30.859754 store.go:1169: assert type: snap-declaration, key: 16/openvpn.200507119 Jan 30 12:09:31 syncloud snapd[479]: 2022/01/30 12:09:31.011809 store.go:1169: assert type: snap-declaration, key: 16/pihole.210320405 Jan 30 12:09:31 syncloud snapd[479]: 2022/01/30 12:09:31.156455 store.go:1169: assert type: snap-declaration, key: 16/platform.1227 Jan 30 12:09:31 syncloud snapd[479]: 2022/01/30 12:09:31.299480 database.go:568: Syncloud hack: failed signature verification: openpgp: invalid signature: hash tag doesn't match Jan 30 12:09:31 syncloud snapd[479]: 2022/01/30 12:09:31.300001 database.go:568: Syncloud hack: failed signature verification: openpgp: invalid signature: hash tag doesn't match Jan 30 12:09:31 syncloud snapd[479]: 2022/01/30 12:09:31.300388 database.go:568: Syncloud hack: failed signature verification: openpgp: invalid signature: hash tag doesn't match Jan 30 12:09:31 syncloud snapd[479]: 2022/01/30 12:09:31.300792 database.go:568: Syncloud hack: failed signature verification: openpgp: invalid signature: hash tag doesn't match Jan 30 12:09:31 syncloud snapd[479]: 2022/01/30 12:09:31.301132 database.go:568: Syncloud hack: failed signature verification: openpgp: invalid signature: hash tag doesn't match Jan 30 12:09:31 syncloud snapd[479]: 2022/01/30 12:09:31.302589 database.go:568: Syncloud hack: failed signature verification: openpgp: invalid signature: hash tag doesn't match Jan 30 12:09:31 syncloud snapd[479]: 2022/01/30 12:09:31.302963 database.go:568: Syncloud hack: failed signature verification: openpgp: invalid signature: hash tag doesn't match Jan 30 12:09:31 syncloud snapd[479]: 2022/01/30 12:09:31.303347 database.go:568: Syncloud hack: failed signature verification: openpgp: invalid signature: hash tag doesn't match Jan 30 12:09:31 syncloud snapd[479]: 2022/01/30 12:09:31.309860 autorefresh.go:215: Cannot prepare auto-refresh change: not implemented yet Jan 30 12:09:31 syncloud snapd[479]: 2022/01/30 12:09:31.325555 stateengine.go:101: state ensure error: not implemented yet Jan 30 12:09:33 syncloud nginx[4096]: syncloud nginx: 192.168.178.31 - [30/Jan/2022:12:09:33 +0000] "PROPFIND /remote.php/dav/files//SyncMac HTTP/1.1" 207 262 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.1git (build 8596) (Nextcloud, osx-20.6.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:09:33 syncloud nginx[901]: syncloud nginx: 192.168.178.31 - [30/Jan/2022:12:09:33 +0000] "PROPFIND /remote.php/dav/files//SyncMac HTTP/1.1" 207 262 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.1git (build 8596) (Nextcloud, osx-20.6.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:09:33 syncloud PlexMediaServer[498]: Sync: uploadStatus Jan 30 12:09:44 syncloud PlexMediaServer[498]: getaddrinfo(192-168-178-35.abcdefghijklmnopqrstuvwxyz012345.plex.direct) failed: -2 Jan 30 12:09:44 syncloud PlexMediaServer[498]: Network: 192-168-178-35.abcdefghijklmnopqrstuvwxyz012345.plex.direct failed to resolve to 192.168.178.35 but instead yielded "" Jan 30 12:09:44 syncloud PlexMediaServer[498]: PublicAddressManager: Obtaining public address and mapping port. Jan 30 12:09:44 syncloud PlexMediaServer[498]: PublicAddressManager: Obtaining public IP. Jan 30 12:09:44 syncloud PlexMediaServer[498]: HTTP requesting GET http://plex.tv/pms/:/ip Jan 30 12:09:44 syncloud PlexMediaServer[498]: HTTP/2.0 (0.4s) 200 response from GET http://plex.tv/pms/:/ip Jan 30 12:09:44 syncloud PlexMediaServer[498]: PublicAddressManager: Got public IP from http://plex.tv: Jan 30 12:09:47 syncloud PlexMediaServer[498]: NAT: UPnP, found device http://192.168.178.1:49000/igddesc.xml with private address <192.168.178.35> Jan 30 12:09:47 syncloud PlexMediaServer[498]: NAT: UPnP, usable device http://192.168.178.1:49000/igddesc.xml with private address <192.168.178.35>. Jan 30 12:09:47 syncloud PlexMediaServer[498]: NAT: UPnP, public address is Jan 30 12:09:47 syncloud PlexMediaServer[498]: HTTP requesting GET https://31-17-205-20.a424ac00068d45ccbc18add2827a1f67.plex.direct:32400/identity Jan 30 12:09:47 syncloud PlexMediaServer[498]: Error issuing curl_easy_perform(handle): 7 Jan 30 12:09:47 syncloud PlexMediaServer[498]: HTTP error requesting GET https://31-17-205-20.a424ac00068d45ccbc18add2827a1f67.plex.direct:32400/identity (7, Couldn't connect to server) (Failed to connect to 31-17-205-20.a424ac00068d45ccbc18add2827a1f67.plex.direct port 32400: Host is unreachable) Jan 30 12:09:47 syncloud PlexMediaServer[498]: MyPlex: mapping state set to 'Mapped - Not Published'. Jan 30 12:09:47 syncloud PlexMediaServer[498]: MyPlex: Last published value didn't change, we're done. Jan 30 12:09:49 syncloud nginx[4096]: syncloud nginx: 192.168.178.31 - - [30/Jan/2022:12:09:49 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15" Jan 30 12:09:49 syncloud nginx[901]: syncloud nginx: 192.168.178.31 - - [30/Jan/2022:12:09:49 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15" Jan 30 12:09:52 syncloud nginx[4095]: syncloud nginx: 192.168.178.31 - - [30/Jan/2022:12:09:52 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 204 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15" Jan 30 12:09:52 syncloud nginx[901]: syncloud nginx: 192.168.178.31 - - [30/Jan/2022:12:09:52 +0000] "PUT /apps/user_status/heartbeat HTTP/2.0" 204 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15" Jan 30 12:09:52 syncloud nginx[4096]: syncloud nginx: 192.168.178.31 - - [30/Jan/2022:12:09:52 +0000] "PUT /apps/user_status/heartbeat HTTP/1.1" 204 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15" Jan 30 12:09:52 syncloud nginx[901]: syncloud nginx: 192.168.178.31 - - [30/Jan/2022:12:09:52 +0000] "PUT /apps/user_status/heartbeat HTTP/2.0" 204 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15" Jan 30 12:09:52 syncloud nginx[4095]: syncloud nginx: 192.168.178.31 - - [30/Jan/2022:12:09:52 +0000] "GET /ocs/v2.php/apps/user_status/api/v1/user_status HTTP/1.1" 200 157 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15" Jan 30 12:09:52 syncloud nginx[901]: syncloud nginx: 192.168.178.31 - - [30/Jan/2022:12:09:52 +0000] "GET /ocs/v2.php/apps/user_status/api/v1/user_status HTTP/2.0" 200 157 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15" Jan 30 12:09:59 syncloud sh[327]: XMT: Forming Solicit, 655350 ms elapsed. Jan 30 12:09:59 syncloud sh[327]: XMT: X-- IA_PD 06:36:d3:23 Jan 30 12:09:59 syncloud sh[327]: XMT: | X-- Request renew in +3600 Jan 30 12:09:59 syncloud sh[327]: XMT: | X-- Request rebind in +5400 Jan 30 12:09:59 syncloud sh[327]: XMT: Solicit on eth0, interval 121660ms. Jan 30 12:09:59 syncloud dhclient[784]: XMT: Solicit on eth0, interval 121660ms. Jan 30 12:09:59 syncloud nginx[4096]: syncloud nginx: 192.168.178.30 - [30/Jan/2022:12:09:59 +0000] "PROPFIND /remote.php/dav/files//SyncMini HTTP/1.1" 207 262 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.0git (build 8401) (Nextcloud, osx-17.7.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:09:59 syncloud nginx[900]: syncloud nginx: 192.168.178.30 - [30/Jan/2022:12:09:59 +0000] "PROPFIND /remote.php/dav/files//SyncMini HTTP/1.1" 207 262 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.0git (build 8401) (Nextcloud, osx-17.7.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:10:03 syncloud nginx[4096]: syncloud nginx: 192.168.178.31 - [30/Jan/2022:12:10:03 +0000] "PROPFIND /remote.php/dav/files//SyncMac HTTP/1.1" 207 262 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.1git (build 8596) (Nextcloud, osx-20.6.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:10:03 syncloud nginx[901]: syncloud nginx: 192.168.178.31 - [30/Jan/2022:12:10:03 +0000] "PROPFIND /remote.php/dav/files//SyncMac HTTP/1.1" 207 262 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.1git (build 8596) (Nextcloud, osx-20.6.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:10:19 syncloud nginx[4096]: syncloud nginx: 192.168.178.31 - - [30/Jan/2022:12:10:19 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15" Jan 30 12:10:19 syncloud nginx[901]: syncloud nginx: 192.168.178.31 - - [30/Jan/2022:12:10:19 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15" Jan 30 12:10:29 syncloud nginx[4095]: syncloud nginx: 192.168.178.30 - [30/Jan/2022:12:10:29 +0000] "PROPFIND /remote.php/dav/files//SyncMini HTTP/1.1" 207 262 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.0git (build 8401) (Nextcloud, osx-17.7.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:10:29 syncloud nginx[900]: syncloud nginx: 192.168.178.30 - [30/Jan/2022:12:10:29 +0000] "PROPFIND /remote.php/dav/files//SyncMini HTTP/1.1" 207 262 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.0git (build 8401) (Nextcloud, osx-17.7.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:10:33 syncloud nginx[4096]: syncloud nginx: 192.168.178.31 - [30/Jan/2022:12:10:33 +0000] "PROPFIND /remote.php/dav/files//SyncMac HTTP/1.1" 207 262 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.1git (build 8596) (Nextcloud, osx-20.6.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jan 30 12:10:33 syncloud nginx[901]: syncloud nginx: 192.168.178.31 - [30/Jan/2022:12:10:33 +0000] "PROPFIND /remote.php/dav/files//SyncMac HTTP/1.1" 207 262 "-" "Mozilla/5.0 (Macintosh) mirall/3.4.1git (build 8596) (Nextcloud, osx-20.6.0 ClientArchitecture: x86_64 OsArchitecture: x86_64)"

Can you help?

cyberb commented 2 years ago

I guess you are trying to migrate from v21 to v23 which is not supported by Nextcloud, the workaround is to do manual upgrade to "Version 22" and then to "Latest" as described here: https://github.com/syncloud/platform/wiki/Nextcloud#cannot-upgrade-from-ui

Morgendorfferr commented 2 years ago

No, at least not intentionally. I wanted to upgrade from Version 210624280 to 211228447 via the user interface (screenshot). When doing that I get the spinning wheel and after 10 min. nothing changes and I am still with v210624280. This is the same behavior as described in #609, so I did what you recommended there. Bildschirmfoto 2022-01-30 um 17 20 38

cyberb commented 2 years ago

these are our versions, what version do you see in Nexctoud?

Morgendorfferr commented 2 years ago

Version

Nextcloud 21.0.2

Morgendorfferr commented 2 years ago

When trying to upgrade to 22 as described in https://github.com/syncloud/platform/wiki/Nextcloud#cannot-upgrade-from-ui I get this:

root@syncloud:~# wget apps.syncloud.org/apps/nextcloud211101376$(dpkg --print-architecture).snap --2022-01-30 16:28:34-- http://apps.syncloud.org/apps/nextcloud_211101376_armhf.snap Resolving apps.syncloud.org (apps.syncloud.org)... 52.92.144.227 Connecting to apps.syncloud.org (apps.syncloud.org)|52.92.144.227|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 394063872 (376M) [binary/octet-stream] Saving to: 'nextcloud_211101376_armhf.snap'

nextcloud_211101376 100%[===================>] 375.81M 13.2MB/s in 35s

2022-01-30 16:29:10 (10.8 MB/s) - 'nextcloud_211101376_armhf.snap' saved [394063872/394063872]

root@syncloud:~# root@syncloud:~# snap install nextcloud211101376$(dpkg --print-architecture).snap --devmode error: cannot perform the following tasks:

  • Run post-refresh hook of "nextcloud" snap if present (run hook "post-refresh": <exceeded maximum runtime of 10m0s>)
cyberb commented 2 years ago

I see, what kind of device is this? Seems like running out of resources or you have a really big database.

Morgendorfferr commented 2 years ago

Syncloud H Odroid HC2

Morgendorfferr commented 2 years ago

The database is 833 GB

cyberb commented 2 years ago

Big but not super big, just to check that you are still on SSD, can you run this:

lsblk

Also to check the size of tables:

snap run nextcloud.psql -U nextcloud -d nextcloud -c "select table_name, pg_relation_size(table_schema||'.'||table_name) as size from information_schema.tables order by 2 desc limit 5;"
Morgendorfferr commented 2 years ago

lsblk

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 282.5M 1 loop /snap/nextcloud/210624280 loop1 7:1 0 103.9M 1 loop /snap/plex/21073137 loop2 7:2 0 146.7M 1 loop /snap/platform/1227 loop3 7:3 0 92.8M 1 loop /snap/users/210524196 loop4 7:4 0 310.8M 1 loop /snap/mail/211015207 loop5 7:5 0 310.8M 1 loop /snap/mail/211016212 loop6 7:6 0 113.9M 1 loop /snap/mail/210301142 loop7 7:7 0 39M 1 loop /snap/openvpn/200507119 loop8 7:8 0 30M 1 loop /snap/files/21030283 loop9 7:9 0 146.7M 1 loop /snap/platform/2112211182 loop10 7:10 0 307.9M 1 loop /snap/plex/21111156 loop11 7:11 0 158.3M 1 loop /snap/pihole/210320405 loop12 7:12 0 295.5M 1 loop /snap/plex/21121859 loop13 7:13 0 146.7M 1 loop /snap/platform/1203 sda 8:0 0 447.1G 0 disk |-sda1 8:1 0 128M 0 part -sda2 8:2 0 447G 0 part / sdb 8:16 0 3.7T 0 disk -sdb1 8:17 0 3.7T 0 part /opt/disk/external mmcblk1 179:0 0 14.4G 0 disk |-mmcblk1p1 179:1 0 128M 0 part `-mmcblk1p2 179:2 0 10M 0 part

Morgendorfferr commented 2 years ago

size of tables

root@syncloud:~# snap run nextcloud.psql -U nextcloud -d nextcloud -c "select table_name, pg_relation_size(table_schema||'.'||table_name) as size from information_schema.tables order by 2 desc limit 5;" could not change directory to "/root": Permission denied table_name | size
-----------------------+----------- oc_filecache | 117538816 oc_activity | 11624448 oc_filecache_extended | 1818624 oc_preview_generation | 1589248 pg_attribute | 827392 (5 rows)

cyberb commented 2 years ago

What about this:

top -n 1
Morgendorfferr commented 2 years ago

top -n 1:

top - 16:30:14 up 1 day, 5:21, 1 user, load average: 0.22, 0.09, 0.02 Tasks: 249 total, 1 running, 248 sleeping, 0 stopped, 0 zombie %Cpu(s): 0.7 us, 2.7 sy, 0.0 ni, 96.6 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 1994.6 total, 237.3 free, 397.2 used, 1360.0 buff/cache MiB Swap: 0.0 total, 0.0 free, 0.0 used. 1459.9 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7388 root 20 0 6840 2144 1796 R 11.8 0.1 0:00.04 top
1 root 20 0 33456 6248 3148 S 0.0 0.3 0:37.32 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.03 kthreadd
4 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/0+ 6 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 mm_percpu+ 7 root 20 0 0 0 0 S 0.0 0.0 0:01.39 ksoftirqd+ 8 root 20 0 0 0 0 I 0.0 0.0 0:24.67 rcu_preem+ 9 root 20 0 0 0 0 I 0.0 0.0 0:00.00 rcu_sched 10 root 20 0 0 0 0 I 0.0 0.0 0:00.00 rcu_bh
11 root rt 0 0 0 0 S 0.0 0.0 0:00.07 migration+ 12 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/0
13 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/1
14 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration+ 15 root 20 0 0 0 0 S 0.0 0.0 0:00.03 ksoftirqd+ 17 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/1+ 18 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/2
19 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration+

cyberb commented 2 years ago

Ok, I guess we should increase the upgrade timeout to 1 hour or so for now but it will not help you as you are two versions behind. Can you reinstall nextcloud? That will remove settings like calendar/contacts but not files. Then you can rescan files (https://github.com/syncloud/platform/wiki/Nextcloud#file-scan)

Morgendorfferr commented 2 years ago

Ok, just to be sure:

  1. „Remove“ nextcloud in the user interface
  2. install it again from the appstore
  3. scan files
cyberb commented 2 years ago

Yes

Morgendorfferr commented 2 years ago

Installing it from the app store did not work. Spinning wheel - disappearing after some time - and I still may install nextcloud. In the wiki the command to install is

wget apps.syncloud.org/apps/nextcloud_211101376_$(dpkg --print-architecture).snap

snap install nextcloud_211101376_$(dpkg --print-architecture).snap --devmode

Is that the right version to try it again without the user interface?

cyberb commented 2 years ago

No, if you remove it you need to install latest, either from web ui or using this command:

snap install nextcloud
Morgendorfferr commented 2 years ago

Well, it did not work from web ui. And it it did not work with command. The error seems somewhat familiar:

root@syncloud:~# snap install nextcloud error: cannot perform the following tasks:

  • Run install hook of "nextcloud" snap if present (run hook "install": <exceeded maximum runtime of 10m0s>)
cyberb commented 2 years ago

Can you send logs from Settings - Support (include support)?

Morgendorfferr commented 2 years ago

Just did.

cyberb commented 2 years ago

hmm, nothing in the log related to nextcloud install, can you check if you are on latest updates in Settings - Updates and install if any. Then try to install again from command line snap install nextcloud as soon as it finishes hit send logs button?

Morgendorfferr commented 2 years ago

Settings - Updates shows no updates:

System: 1227 Installer: 300

I will try install again.

Morgendorfferr commented 2 years ago

Just send the logs.

cyberb commented 2 years ago

strange still nothing, install all the apps you have on exactly the same device and it still fine. Did you do anything with the device, like update debian (you should not) or something else other than running snap commands? lsb_release -a?

Morgendorfferr commented 2 years ago

lsb_release produces this:

root@syncloud:~# lsb_release -a -bash: lsb_release: command not found

I never (intentionally) updated debian. Here are a couple of things I did / observed in the past, I have no idea if anything of that is relevant:

cyberb commented 2 years ago

Ok, the next step would be to restore the stock disk image and then activate device, activate external disk, add users, install apps. I guess you store the files on external disk so it should not be difficult. Do you want to try that? If yes you need to:

  1. Power off and take out internal ssd disk and attach it to another PC (need to uscrew it and carefully slide out)
  2. Download latest HC1/2 image: https://github.com/syncloud/image/releases/download/22.01/syncloud-odroid-xu3and4-22.01.img.xz
  3. Flash it with Etcher app.
  4. Insert back and power on.

All documented here: https://github.com/syncloud/platform/wiki

Morgendorfferr commented 2 years ago

Ok, a little bit nervous about that but in principle it seems possible for me. Would you please check if I am wrong anywhere:

Many thanks.

cyberb commented 2 years ago

Yes it should work.

cyberb commented 2 years ago

Yes

cyberb commented 2 years ago

Just make sure you flashing the right disk, not your main PC disk!

Morgendorfferr commented 2 years ago

I managed to avoid that. The device is now connected again, lights are flashing, I can also see it as active in the router. But I can’t open the UI with the IP address. Guess I need to repeat the process.

Morgendorfferr commented 2 years ago

Did it again - without any success. The device does not show up in the router when I don’t connect the external drive to it. And when the external drive is connected it is shown as active in the router but my browser can’t connect to it under the IP address of the device.

cyberb commented 2 years ago

Ok, try to do the same for the SD card which is in the device but use the special sd image: https://github.com/syncloud/image/releases/download/22.01/syncloud-odroid-xu3and4-sd-22.01.img.xz

Morgendorfferr commented 2 years ago

Ok. Need to buy a mini SD card reader tomorrow.

Morgendorfferr commented 2 years ago

Did ist, no success. Same behavior as before.

cyberb commented 2 years ago

Just to make sure.

  1. Etcher write validation enabled and green?
  2. Network and power cable are attached, sd card and ssd disk are properly inserted?
cyberb commented 2 years ago

Another option is to try previous release: SD Card: https://github.com/syncloud/platform/releases/download/21.10/syncloud-odroid-xu3and4-sd-21.10.img.xz SSD Disk: https://github.com/syncloud/platform/releases/download/21.10/syncloud-odroid-xu3and4-21.10.img.xz

Morgendorfferr commented 2 years ago

YES! Using the previous versions did the trick. I can now see the device and activate it. Next steps would be to install apps? Or update system first?

By the way I found it useful to know what the different LED of Odroid actually signal when I tried to check if SD card and SSD are connected:

https://forum.armbian.com/topic/13013-odroid-xu4-hc2-hc1-c2-n2-led-light-key-legend/ :

Am 10.2.2020 um 22:42 schrieb jshc1: ... Odroid has one blue diode which signals heartbeat signal. After connecting the power it will light up. If it finds a boot and starts booting, it will start flashing. The blinking speed depends on the load. The red LED is on all the time when the current reaches the sbc. The green LED lights up when HDD is connected, blinks when HDD has activity.

cyberb commented 2 years ago

Update system, then install nextcloud to see if that all actially helped. Good to know that latest images are not working for HC, will give them another test.

Morgendorfferr commented 2 years ago

Just to be sure: Update system (1203) and install (300)? Or only system?

cyberb commented 2 years ago

Both

Morgendorfferr commented 2 years ago

No. Installation of nextcloud does not work from the UI. Should I send log?

cyberb commented 2 years ago

Yes please

Morgendorfferr commented 2 years ago

Just sent.

Morgendorfferr commented 2 years ago

I just tried to install Pihole, it did not work. But I could install File Browser.

cyberb commented 2 years ago

Ok, one more thing, when you flash the image you need to expand its size, can you check Settings - Internal Memory and click Extend if it is there? Then try installing again?

Morgendorfferr commented 2 years ago

I did that. It now says:

Boot Partition - 447G

But installation still does not work. I have sent logs after trying to install Pihole.

cyberb commented 2 years ago

What about nextcloud?

Morgendorfferr commented 2 years ago

The same. I will send logs in 15 min.