Hi ! I installed an AIO instance on a Raspberry Pi 4 on which I installed under ArchlinuxARM aarch64 OS. I installed it following this tuto and it went well until this step :
The Nextcloud container does not start, and other containers wait for it as the containers logs say.
When I check the Nextcloud log, I get the following :
Connection to nextcloud-aio-database (172.21.0.5) 5432 port [tcp/postgresql] succeeded!
+ '[' -f /dev-dri-group-was-added ']'
++ find /dev -maxdepth 1 -mindepth 1 -name dri
+ '[' -n '' ']'
+ set +x
Enabling Imagick...
WARNING: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.19/main: No such file or directory
WARNING: opening from cache https://dl-cdn.alpinelinux.org/alpine/v3.19/community: No such file or directory
Initializing nextcloud 28.0.5.1 ...
Initializing finished
New Nextcloud instance.
Installing with PostgreSQL database
Starting Nextcloud installation...
In Folder.php line 162:
Could not create folder "/admin"
maintenance:install [--database DATABASE] [--database-name DATABASE-NAME] [--database-host DATABASE-HOST] [--database-port DATABASE-PORT] [--database-user DATABASE-USER] [--database-pass [DATABASE-PASS]] [--database-table-space [DATABASE-TABLE-SPACE]] [--admin-user ADMIN-USER] [--admin-pass ADMIN-PASS] [--admin-email [ADMIN-EMAIL]] [--data-dir DATA-DIR]
Installation of Nextcloud failed!
And then, the rest of the log is a repetition of this :
Connection to nextcloud-aio-database (172.21.0.5) 5432 port [tcp/postgresql] succeeded!
now
-------------------------------
2024-05-10 13:20:26.925672+02
(1 row)
+ '[' -f /dev-dri-group-was-added ']'
++ find /dev -maxdepth 1 -mindepth 1 -name dri
+ '[' -n '' ']'
+ set +x
The initial Nextcloud installation failed.
Please reset AIO properly and try again. For further clues what went wrong, check the logs above.
See https://github.com/nextcloud/all-in-one#how-to-properly-reset-the-instance
I checked on the web, found this thread (Nextcloud AIO installation keeps failing), and some others, but messages never included something like that :
In Folder.php line 162: Could not create folder "/admin"
I thought there was something to do with permissions of the nextcloud root folder, so I check that. The owner is http
user and group (archlinux equivalent of www-data
of debian based system), and there permissions are set with chmod 755
. So, there is no writing limitation here.
Here is the extract of ls -lah
when running in the nextcloud root folder :
drwxr-xr-x 2 http http 4,0K 11 mai 14:11 .
Then, I also tried to reinstall AIO cleanly (after stopping and removing ALL docker containers) two times.
I really don’t know what do now. Do you have any clue ? Thank you in advance !