Update to v.1.13.0 doesn't work neither by terminal (ncp-update) nor by panel

Update doesn’t work neither by panel (ncp-update) nor by terminal. So the update from v1.1.12.7 to v.1.13.0 is impossible.

panel:
[ nc-update ]
Downloading updates
Performing updates
chmod: cannot access ‘/etc/services-available.d/100fail2ban’: No such file or directory

terminal:
pi@nextcloudpi:~ $ sudo ncp-update
Downloading updates
Performing updates
chmod: Zugriff auf ‘/etc/services-available.d/100fail2ban’ nicht möglich: Datei oder Verzeichnis nicht gefunden

All are activated but
nc-autoupdate-nc
nc-autoupdate-ncp
nc-update-nextcloud
unattended-upgrades
don’t work

I can only update nextcloud manually.

Automatic backups are enabled but don’t work either. Only manually.

I got the same problem.

This should be fixed now, thanks for reporting

1 Like

Fix worked fine here! :hugs: Great work!! :+1:

I had another problem while updating:

Update NextCloudPi

[ nc-update ]
Downloading updates
Performing updates
Running nc-autoupdate-nc
[ nc-autoupdate-nc ]
automatic Nextcloud updates enabled
automatic Nextcloud updates enabled

Config value squareSizes for app previewgenerator set to 32
Config value widthSizes for app previewgenerator set to 128 256 512
Config value heightSizes for app previewgenerator set to 128 256
System config value jpeg_quality set to string 60
Running unattended-upgrades
[ unattended-upgrades ]
Unattended upgrades active: yes (autoreboot true)
Unattended upgrades active: yes (autoreboot true)

–2019-06-04 14:15:40-- …
Resolving … 104.31.94.169, 104.31.95.169, 2606:4700:30::681f:5fa9, …
Connecting to …|104.31.94.169|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 1769 (1.7K) [application/octet-stream]
Saving to: ‘/etc/apt/trusted.gpg.d/php.gpg’

0K . 100% 1.98M=0.001s

2019-06-04 14:15:40 (1.98 MB/s) - ‘/etc/apt/trusted.gpg.d/php.gpg’ saved [1769/1769]

Running nc-backup-auto
[ nc-backup-auto ]
automatic backups enabled
automatic backups enabled

Running nc-autoupdate-ncp
[ nc-autoupdate-ncp ]
automatic NextCloudPi updates enabled
automatic NextCloudPi updates enabled

Running nc-notify-updates
[ nc-notify-updates ]
update web notifications enabled
update web notifications enabled

[ nc-update-nc-apps-auto ]
Running nc-update-nc-apps-auto
automatic app updates enabled
automatic app updates enabled

Installing nc-backup
Get:1 …
Get:2 …
Get:3 …
Get:4…
Get:5 …
Get:6 …
Fetched 12.0 MB in 32s (367 kB/s)
Reading package lists…


Still v.1.12.7

Update NextCloudPi

[ nc-update ]
Downloading updates
Performing updates
Running nc-autoupdate-nc
[ nc-autoupdate-nc ]
automatic Nextcloud updates enabled
automatic Nextcloud updates enabled

Config value squareSizes for app previewgenerator set to 32
Config value widthSizes for app previewgenerator set to 128 256 512
Config value heightSizes for app previewgenerator set to 128 256
System config value jpeg_quality set to string 60
Running unattended-upgrades
[ unattended-upgrades ]
Unattended upgrades active: yes (autoreboot true)
Unattended upgrades active: yes (autoreboot true)

–2019-06-04 14:24:48-- …
Resolving … 104.31.95.169, 104.31.94.169, 2606:4700:30::681f:5fa9, …
Connecting to |104.31.95.169|:443… connected.
HTTP request sent, awaiting response…
200 OK
Length: 1769 (1.7K) [application/octet-stream]
Saving to: ‘/etc/apt/trusted.gpg.d/php.gpg’

0K . 100% 2.81M=0.001s

2019-06-04 14:24:48 (2.81 MB/s) - ‘/etc/apt/trusted.gpg.d/php.gpg’ saved [1769/1769]

Running nc-backup-auto
[ nc-backup-auto ]
automatic backups enabled
automatic backups enabled

Running nc-autoupdate-ncp
[ nc-autoupdate-ncp ]
automatic NextCloudPi updates enabled
automatic NextCloudPi updates enabled

[ nc-notify-updates ]
Running nc-notify-updates
update web notifications enabled
update web notifications enabled

Running nc-update-nc-apps-auto
[ nc-update-nc-apps-auto ]
automatic app updates enabled
automatic app updates enabled

Installing nc-backup
Hit:1 …
Hit:2 …
Hit:3 …
Reading package lists…

E: dpkg was interrupted, you must manually run ‘sudo dpkg --configure -a’ to correct the problem.


So I ran:
pi@nextcloudpi:~ $ sudo dpkg --configure -a
apache2 (2.4.25-3+deb9u7) wird eingerichtet …
policykit-1 (0.105-18+deb9u1) wird eingerichtet …
imagemagick-6.q16 (8:6.9.7.4+dfsg-11+deb9u7) wird eingerichtet …
Trigger für initramfs-tools (0.130) werden verarbeitet …
Trigger für libc-bin (2.24-11+deb9u4) werden verarbeitet …
imagemagick (8:6.9.7.4+dfsg-11+deb9u7) wird eingerichtet …
mariadb-server (10.1.38-0+deb9u1) wird eingerichtet …
pi@nextcloudpi:~ $


I updated again via panel.
So now it’s v1.13.1

We will see if NextCloudPi will update automatically soon.
Thanks!

try it again (from cli ideally ncp-update ) looks like the process got interrupted for some reason, maybe will complete this time?

It’s already completed. After running “sudo dpkg --configure -a” I updated again via panel. I forgot to write this above. Sorry!