Hello,
Iâm trying to update my ncp but unfortunately I get the following error when I import (example ncp-config_XXXXXXXX.tar)
after that I canât access https://192.168.1.153:4443/.
Running nc-import-ncp
Running unattended-upgrades
Unattended upgrades active: yes (autoreboot true)
Running nc-previews-auto
Automatic preview generation enabled
Running SSH
pi exists, changing password
New password: Retype new password: No password has been supplied.
New password: Password change has been aborted.
passwd: Authentication token manipulation error
passwd: password unchanged
Running nc-automount
automount enabled
file not found
Running nc-datadir
INFO: /media/myCloudDrive/ncdata is not empty. Creating backup /media/myCloudDrive/ncdata-08-15-24.1723710423
{"reqId":"QYWLWKFC20P5H4fV5pUY","level":2,"time":"2024-08-15T08:27:04+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Temporary directory /media/myCloudDrive/ncdata/data/tmp is not present or writable","userAgent":"--","version":"28.0.7.4","data":[]}
{"reqId":"C63OHEs4UECOnDRpehTB","level":2,"time":"2024-08-15T08:27:05+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Temporary directory /media/myCloudDrive/ncdata/data/tmp is not present or writable","userAgent":"--","version":"28.0.7.4","data":[]}
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 web server write access to the root directory. See https://docs.nextcloud.com/server/28/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:167
Stack trace:
#0 /var/www/nextcloud/console.php(99): OC\Console\Application->loadCommands()
#1 /var/www/nextcloud/occ(11): require_once('...')
#2 {main}Running fail2ban
{"reqId":"tv28azlXPdqPFEaiejG5","level":2,"time":"2024-08-15T08:27:09+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Temporary directory /media/myCloudDrive/ncdata/data/tmp is not present or writable","userAgent":"--","version":"28.0.7.4","data":[]}
directory 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 web server write access to the root directory. See https://docs.nextcloud.com/server/28/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:167
Stack trace:
#0 /var/www/nextcloud/console.php(99): OC\Console\Application->loadCommands()
#1 /var/www/nextcloud not found
Running nc-swapfile
BTRFS doesn't support swapfiles. You can still use nc-zram
Running nc-backup-auto
Installing template 'ncp-metrics.cfg.sh'...
automatic backups enabled
Running nc-notify-updates
update web notifications enabled
on https://nextcloudpi.local/ I get the following error
Votre rĂ©pertoire des donnĂ©es nâest pas valide. Assurez-vous que le rĂ©pertoire de donnĂ©es contient un fichier â.ocdataâ Ă sa racine. Impossible de crĂ©er le dossier âdataâ. Ce problĂšme est gĂ©nĂ©ralement rĂ©solu en donnant au serveur web un accĂšs en Ă©criture au rĂ©pertoire racine. Voir https://docs.nextcloud.com/server/28/go.php?to=admin-dir_permissions
can you help me please?