Can't update NextcloudPi instance

Dear Community

I can’t update my NextcloudPi instance. Tried ncp-config and manually update it from there but also ncp-update. Both methods are not working as expected. Terminal output:

Downloading updates
Performing updates
/usr/local/bin/ncp-update: line 23: ./update.sh: file or directory not found

Does anyone know what to do?

Thank you in advance.

Please run

sudo ncp-report

and share via pastebin service or txt file.

Thanks @OliverV. I uploaded my report here:

https://pastebin.com/zExjXZNP

Wondering what else you did?
NC version showing 21.0.5
Should not be a problem, I am in fact on 21.0.5 myself and without update problem, but NCP supports up to NC 21.0.4 at the moment.
NCP should be update-able to NextCloudPi v1.39.19

Maybe check and share content of /var/log/ncp.log

Thanks @OliverV for checking my output.

Just checked ncp.log. Unfortunately, it doesn’t provide more information:

Zusammenfassung

[ nc-previews-auto ]
Sa Okt 2 06:25:02 CEST 2021 - Running /etc/cron.daily/ncp-autoupdate…
Downloading updates
Performing updates
/usr/local/bin/ncp-update: Zeile 23: ./update.sh: Datei oder Verzeichnis nicht $
[ nc-update-nc-apps-auto ]
checking for updates…
[ncp-update-nc]
Current Nextcloud version 21.0.4.1
Available Nextcloud version 20.0.12
Nothing to update

[ nc-previews-auto ]
So Okt 3 06:25:02 CEST 2021 - Running /etc/cron.daily/ncp-autoupdate…
Downloading updates
Performing updates
/usr/local/bin/ncp-update: Zeile 23: ./update.sh: Datei oder Verzeichnis nicht $
[ nc-update-nc-apps-auto ]
checking for updates…
[ncp-update-nc]
Current Nextcloud version 21.0.4.1
Available Nextcloud version 20.0.12
Nothing to update

[ nc-update ] (Sun Oct 3 13:39:10 CEST 2021)
Downloading updates
Performing updates
/usr/local/bin/ncp-update: line 23: ./update.sh: No such file or directory

The same error appears in the ncp.log file.

It seems you installed from NextCloudPi image NextCloudPi_09-04-21
That supports Armv8 or higher
Can you run and share output of

uname -a

Of course:

Linux raspi-jonas 5.10.63-v7l+ #1457 SMP Tue Sep 28 11:26:14 BST 2021 armv7l GNU/Linux

Alright… so i might have installed the wrong version (arm v7)?

Sorry but 32 bits is no longer supported, 64 bits only
You can still try with a clean basic install of Raspbian 10 and run the curl installer.

1 Like

alright - thank you @OliverV

if you have this file /.ncp-image, that’s an error with your installation. Remove it and try again

1 Like

Holy! Thanks so much @nachoparker. This worked out very well and solved it!

(I’m a Linux beginner - for other noobs like me, this is how i did it:)

First change the directory

cd /

Check if .ncp-image is present

ls -a

If yes, delete it

sudo rm .ncp-image

1 Like

Hi

I’m having the same problem and I can’t log in on the raspberry pi running Nextcloudpi - I get the following error when I try to ssh to the raspberry pi:
"NextCloudPi v1.46.7 is outdated. Update to v1.47.2 through ncp-config or type ‘sudo ncp-update’. No directory, logging in with HOME=/
This account is currently not available

I managed to get in and found the /.ncp-image , deleted it , and everything works again