I have been struggling to setup NextCloud on Pironman 5 MAX. I installed Raspberry PI OS Lite 32 bit release 2025-12-04 because 64-bit crashed after update and upgrade many times!
I successfully followed SunFounder Set Up on Raspberry Pi/Ubuntu/Kali/Homebridge OS
I successfully installed Docker following SunFlounder Setting up NextCloudPi
It looks like I successfully installed Portainer through Setting up NextCloudPi
I repeated the process with Raspberry PI OS lite – trixie (32 bit) 2025-10-01 based on SunFlounder stated it was a tested OS. Again, unable to connect to port 9443
We recommend using the Bookworm 64-bit Lite system to configure NextCloudPi.
When installing Docker and Portainer, please ensure the installation is successful, then reboot the system. After the reboot, try accessing the Portainer address from your browser again to see the result.
Looks like the Docker container portainer restarts for some reason … It takes 60 seconds to restart, looks like it is started after 60 seconds, and the restarts again.
Now trying to create a nextCloud account …
Error while trying to create admin account: An exception occurred in the driver: SQLSTATE[HY000] [2002] Operation timed out
Regarding the issue that the SSD is not mounted.
The system is Bookworm 64-bit Lite (headless version). By default, external hard drives are not automatically mounted. No manual configuration has been performed for mount points, filesystem support, or automatic mounting rules at boot. As a result, the hard drive is only recognized (as /dev/sda, etc.) but remains unmounted.
Abnormal timeout when creating a Nextcloud account.
This error is not an issue with Nextcloud itself, but rather an abnormality in the database service or a connection configuration error. Common triggers fall into three categories:
Database service not started / running abnormally: The MariaDB/MySQL process is not running, or has crashed due to insufficient resources or a port conflict.
Incorrect database connection parameters: The database address, port, username, or password configured in Nextcloud does not match the actual settings.
Permission/Network issues: The database is rejecting Nextcloud’s access requests (e.g., the database is configured to allow only local connections, but a remote address is configured, or SELinux/firewall is blocking the connection).
Cascading impact of storage mounting issues: If the hard drive was not mounted previously, the database’s data directory might be located on a read-only SD card or a temporary directory, preventing the service from writing data properly.