Hey guys,
First time setting up a Nextcloud AIO server, so be please be gentle!
Server: Ubuntu 22.04
Nextcloud AIO: 6.2.1
Server: Dell XPS 15 (~2015)
CPU: Intel core i7
Memory: 16 GB
Storage: 1 TB HDD
Iāve been migrating all my stuff to a new laptop/server (just a calibre server), and thought while Iām here Iāll try Nextcloud! It seems very promising, however, I have some questions/issues:
-
Iāve been uploading photos/vids around 30 at a time, from google photos. Sometimes though, the server will just slow down to a crawl, or freeze, and after a while Iāll get a timeout error. I canāt get access to the containers until I manually
ssh
into the server anddocker compose down
/docker stop
all of the containers. HOWEVER, as annoying as this is, the most recent restart hasnāt prevented it from freezing. Runningfree
in the server shows that there is 15GB total, 6GB used, 200MB free??? and 7 GB available. Do I need to allow docker to use more than 6GB? So I dont just have 7GB sitting there waiting? The server isnāt doing anything at the moment so I donāt know how it could use 6GB anywayā¦ -
How do I actually stop the Nextcloud-AIO? Iāve been using
docker compose down
, but it doesnāt stop the other containers, just the ones defined in mycompose.yml
. So Iāve been usingdocker stop
on all of the others, but surely thereās a better way.
Please help!! I really want this to work, I love how I can store my contacts, calendar and photos on my home server, and I just canāt seem to figure these issues out myself.
Current process that causes this error:
Open Nextcloud Web > Go to files > Upload some files > Click to view one of the new files (Web or Mobile) > Doesnāt load, Nextcloud starts lagging, and RAM starts ramping up (memory leak?)
Output from docker logs nextcloud-aio-mastercontainer
:
Trying to fix docker.sock permissions internallyā¦
Creating docker group internally with id 137
e[0;92mInitial startup of Nextcloud All-in-One complete!
You should be able to open the Nextcloud AIO Interface now on port 8080 of this server!
E.g. https://internal.ip.of.this.server:8080If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatically by opening the Nextcloud AIO Interface via:
https://your-domain-that-points-to-this-server.tld:8443e[0m
{ālevelā:āinfoā,ātsā:1688886448.64077,āmsgā:āusing provided configurationā,āconfig_fileā:ā/Caddyfileā,āconfig_adapterā:āā}
{ālevelā:āinfoā,ātsā:1688886449.11291,āmsgā:āfailed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Receive-Buffer-Size for details.ā}
[Sun Jul 09 07:07:35.790104 2023] [mpm_event:notice] [pid 147:tid 140670822898504] AH00489: Apache/2.4.57 (Unix) OpenSSL/3.1.1 configured ā resuming normal operations
[Sun Jul 09 07:07:35.790138 2023] [core:notice] [pid 147:tid 140670822898504] AH00094: Command line: āhttpd -D FOREGROUNDā
[09-Jul-2023 07:07:37] NOTICE: fpm is running, pid 151
[09-Jul-2023 07:07:37] NOTICE: ready to handle connections
Restarting cron.sh because daily backup time was set, changed or unset.
++ head -1 /mnt/docker-aio-config/data/daily_backup_time
- BACKUP_TIME=20:00
- export BACKUP_TIME
- export DAILY_BACKUP=1
- DAILY_BACKUP=1
++ sed -n 2p /mnt/docker-aio-config/data/daily_backup_time- ā[ā āā ā!=ā automaticUpdatesAreNotEnabled ā]ā
- export AUTOMATIC_UPDATES=1
- AUTOMATIC_UPDATES=1
- set +x
NOTICE: PHP message: 404 Not Found
Type: Slim\Exception\HttpNotFoundException4
Message: Not found.
File: /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php
Line: 76
Trace: #0 /var/www/docker-aio/php/vendor/slim/slim/Slim/Routing/RouteRunner.php(56): Slim\Middleware\RoutingMiddleware->performRouting(Object(GuzzleHttp\Psr7\ServerRequest))
#1 /var/www/docker-aio/php/vendor/slim/csrf/src/Guard.php(476): Slim\Routing\RouteRunner->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#2 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): Slim\Csrf\Guard->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Slim\Routing\RouteRunner))
#3 /var/www/docker-aio/php/vendor/slim/twig-view/src/TwigMiddleware.php(115): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#4 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Views\TwigMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#5 /var/www/docker-aio/php/src/Middleware/AuthMiddleware.php(38): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#6 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(269): AIO\Middleware\AuthMiddleware->__invoke(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#7 /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/ErrorMiddleware.php(76): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#8 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\ErrorMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#9 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#10 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(199): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#11 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(183): Slim\App->handle(Object(GuzzleHttp\Psr7\ServerRequest))
#12 /var/www/docker-aio/php/public/index.php(181): Slim\App->run()
#13 {main}
Thanks,
Kai