Your data directory is invalid. Make sure the data directory contains a ".ocdata" file at its root. Unable to create folder "data". This problem is usually solved by giving the web server write access to the root directory. See https://docs.nextcloud.com/server/27/go...ermissions
I donāt know anything about that guide (and the link didnāt work), but you may want to compare the process in it to the one in the official Admin Manual:
Also, did you look at the link mentioned in the error?
Generally itās a permissions, folder ownership, or path matter associated with your configured datadirectory as defined in your config.php.
ncp-config TUI for easy setup (RAM logs, USB drive and more)
Automatic redirection to HTTPS
APCu PHP cache
PHP Zend OPcache enabled with file cache
-HSTS
Cron jobs for Nextcloud
Sane configuration defaults
Full emoji support
Postfix email
-Secure
Currently I am in Warnings on admin page
And I want to resolve : "Your installation does not have a default region prefix. This is necessary to validate phone numbers in profile settings without a country code. To allow numbers without a country code, please add ādefault_phone_regionā with the regionās respective ISO 3166-1 code in your configuration file.ā
with:
[18:57:49] root@nextcloudpi: / # sudo -u www-data php /var/www/nextcloud/occ config:system:set default_phone_region --value="FR"
This version of Nextcloud is not compatible with PHP>=8.3.<br/>You are currently running 8.3.0.[19:16:30] root@nextcloudpi: / #
Et : The PHP module āimagickā is not active but the Theming application is activated. For Favicon generation to work correctly, this module must be installed and active.
I installed php-imagick and libmagickcore-6.q16-6-extra
you must write not stick
ādefault_phone_regionā => āFRā, => /var/www/nextcloud/config/config.php
Resolved
A new problem :
[ nc-admin ] (Tue Dec 12 21:20:20 CET 2023)
This version of Nextcloud is not compatible with PHP>=8.3.<br/>You are currently running 8.3.0.
Resolved
[22:25:18] root@nextcloudpi: / # update-alternatives --config php
There are 2 choices for the alternative php (providing /usr/bin/php).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/bin/php8.3 83 auto mode
1 /usr/bin/php8.1 81 manual mode
2 /usr/bin/php8.3 83 manual mode
Press <enter> to keep the current choice[*], or type selection number: 1
update-alternatives: using /usr/bin/php8.1 to provide /usr/bin/php (php) in manual mode
[22:28:19] root@nextcloudpi: / # php --version
PHP 8.1.26 (cli) (built: Nov 24 2023 13:12:14) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.26, Copyright (c) Zend Technologies
with Zend OPcache v8.1.26, Copyright (c), by Zend Technologies
Expected file size: 234221 bytes but file size read (from Nextcloud client) and written (to Nextcloud storage): 8192 bytes. This could be a network issue at the client level or a storage issue at the server level.
[14:21:25] root@debian: / # sudo -u www-data php /var/www/html/occ maintenance:update:htaccess
An unhandled exception has been thrown:
OCP\HintException: [0]: Memcache OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)
Welcome to nextcloudpi!
As you can see in your own post the learning curve is steep.
Unfortunately we as volunteers canāt see your setup in person. Therefore it is necessary that you describe your issues as good as possible.
The ncp webui should a self signed certificate and should connect with https. If you are talking about your nextcloud webpage you should add a certificate to your server/domain. You can do this with the tools of ncp. The web ui should have a section with letās encrypt.
Debian 12 is not supported yet by nextcloudpi. The maintainer(s) are working on that.
[ letsencrypt ] (Sat Dec 16 20:09:59 CET 2023)
Requested name āxxxxxā is an IP address. The Letās Encrypt certificate authority will not issue certificates for a bare IP address.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-ttrqjas4/log or re-run Certbot with -v for more details.