Having TurrisOS 4.0-beta2 in the TO I tried to set up Nextcloud.
The 1st step concatenating to auto.lua and package-install seems to work fine, I did not identify issues.
The 2nd step using the script fails. Reproducible.
Is there a debug or log file for it?
I investigated and fount this:
After about 4 minutes with no visible output in the cli the message
“The current PHP memory limit is below the recommended value of 512MB.”
Unfortunately I did not find out how to extend the mem limit.
I found out the line
“sudo -u nobody php-cli ./occ maintenance:install --database=mysql --database-name=nextcloud --database-user=nextcloud --admin-user=”$ALOGIN" --admin- pass="$APASS" --database-pass="$DBPASS" --database-host=127.0.0.1 --database-port=3306 --no-interaction"
is the step of failure.
It did not state “Installation failed”. It hangs up without notice.
It hangs with no further message and does not come back (at least not within 1 hour).
I verified with the second TO around: 4beta2 and 99% default settings.
EXACTLY the SAME issue.
Is there a circumvent? (I do not understand this php stuff).
UPDATE: If you leave the script alone for plenty of hours it sometimes finishes (under output of various error messages of type “The current PHP memory limit is below the recommended value of 512MB.”)
May be some improvement is possible.