Moin, ja ich habe diese Meldung auch und probiere seit Tagen das Upgrade mit ncp-dist-upgrade. Zuerst gab es Fehler das es Probleme in Paketen gab, Upgrade brach nach ca. 5 Min ab, reboot und das System war kaputt⊠Habe es aktuell mehrmals (mit duplizierter SD-Karte) versucht, also immer den gleichen Stand der NC - jetzt kommt nach dem (sudo) ncp-dist-upgrade und BestĂ€tigung mit âyâ nach 10 Sekunden Denkpause dann wieder der Prost, es passiert nix mehrâŠ
nc-update bringt noch folgenden Fehler:
Running nc-autoupdate-nc
automatic Nextcloud updates enabled
Update to bullseye available. Type âsudo ncp-dist-upgradeâ to upgrade
{âreqIdâ:âx3MOM9VKFRdKiY2GvjoVâ,âlevelâ:2,âtimeâ:â2022-04-07T17:40:45+00:00â,âremoteAddrâ:"",âuserâ:"â",âappâ:âno app in contextâ,âmethodâ:"",âurlâ:"â",âmessageâ:âTemporary directory /media/myCloudDrive/ncdata/tmp is not present or writableâ,âuserAgentâ:"â",âversionâ:â23.0.2.1â}
Your data directory is invalid
Ensure there is a file called â.ocdataâ in the root of the data directory.
Cannot create âdataâ directory
This can usually be fixed by giving the webserver write access to the root directory. See https://docs.nextcloud.com/server/23/go.php?to=admin-dir_permissions
An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /var/www/nextcloud/lib/private/Console/Application.php:164
Stack trace:
#0 /var/www/nextcloud/console.php(98): OC\Console\Application->loadCommands(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#1 /var/www/nextcloud/occ(11): require_once(â/var/www/nextclâŠâ)
-
*
*Broadcast message from pi@ (pts/0) (Thu Apr 7 18:40:45 2022): *
-
*
Update to bullseye available. Type âsudo ncp-dist-upgradeâ to upgrade
-
*
ls: cannot access '/etc/php/7.4/fpm/conf.d/-opcache.iniâ: No such file or directory*
ls: cannot access '/etc/php/7.4/cli/conf.d/-opcache.iniâ: No such file or directory*
NextCloudPi updated to version v1.46.10
Klar, gibt ja nur php 7.3 - das ist ja der ganze Grund warum ich damit rumspieleâŠ
und die Datenplatte habe ich am Test-Raspi wĂ€hrend dem Test des upgrade nicht angeschlossenâŠ
Falls jemand eine Idee hat wÀre ich dankbar.
Hanz