Nextcloud AIO docker installation is very often hangs

Hello!

My test installation I got from AIO docker from netxtcloud.com site is very often hangs. I use it not very much, < 100 docs and 2 spreadsheets, almost daily it hangs, not responding. I’m absolutely not familiar with docker, where to find logs to inspect to find what’s worng?

I gave the VM running Nextcloud 6 vCPU and 8gb of RAM. Increasing of these parameters did change nothing, upgrading the master container and all other containers don’t help. Base os Ubuntu is upgraded, I had changed nothing in OS and in Nextcloud. What to do?

You can view the Nextcloud logs in Admin->Logging or in the file nextcloud.log in your data directory.

You can view the the Docker nextcloud app container logs like this:

sudo docker logs nextcloud-aio-nextcloud

But it’s possible you’ll need to check some of the other containers, depending on the issue.

  • Can you define “hangs, not responding”. Is this from a web browser?
  • What do you typically do that “fixes” it?
  • Can you post your configuration (config.php or occ config:list system output)?
  • What apps have you installed?
  • It sounds like you’re running AIO in a VM. Is Ubuntu what the VM is running or the underlying host? What VM platform?
  • Can you monitor the resource usage during these hangs? (it may not be resource related, but just to eliminate that possibility).
  • What Docker are you running? Docker Engine? Docker Desktop?
1 Like

Hello!
Please excuse me for a late reply

1> Yes, from the browser, it does not opens the files or even does not provides the file list and sometimes just does not responding

2> restart the VM

4> I use only what has been installed with AIO docker
5> Yes, it’s ESXi host and Ubuntu VM under VMWare ESXi
6> Yes, seems that the assigned resources is enough, I’v added 6 vCPU and 8GB, disk space is enough in all partitions.
7> I made a fresh Ubuntu installation and installed Nextcloud AIO from the nextcloud.com, not any extra installation. Ubuntu 22.04 LTS.
root@cloud:/var# docker -v
Docker version 20.10.24, build 297e128

Thanks a lot for your advices

I’m unable to pase the config’s content, how to paste it normally?

And here is a config file

  1. Here is the config.php
<?php $CONFIG = array ( 'memcache.local' => '\\OC\\Memcache\\APCu', 'apps_paths' => array ( 0 => array ( 'path' => '/var/www/html/apps', 'url' => '/apps', 'writable' => false, ), 1 => array ( 'path' => '/var/www/html/custom_apps', 'url' => '/custom_apps', 'writable' => true, ), ), 'memcache.distributed' => '\\OC\\Memcache\\Redis', 'memcache.locking' => '\\OC\\Memcache\\Redis', 'redis' => array ( 'host' => 'nextcloud-aio-redis', 'password' => '1bae73393801f89faa674cbf67d7b295ecf37ace782dbaed', 'port' => 6379, ), 'overwritehost' => 'cloud.mydomain.com', 'overwriteprotocol' => 'https', 'passwordsalt' => 'UMTC+XbuOPtw/2gtQ406YSUZKIyTxL', 'secret' => 'TfZsebl8Ch30ZMQ/qPtA6pyVrvL58WrUZULmhxHX0ym8/AXt', 'trusted_domains' => array ( 0 => 'localhost', 1 => 'cloud.mydomain.com', ), 'datadirectory' => '/mnt/ncdata', 'dbtype' => 'pgsql', 'version' => '27.0.2.1', 'overwrite.cli.url' => 'https://cloud.mydomain.com/', 'dbname' => 'nextcloud_database', 'dbhost' => 'nextcloud-aio-database', 'dbport' => '', 'dbtableprefix' => 'oc_', 'dbuser' => 'oc_nextcloud', 'dbpassword' => 'b9bd88fd2aad9669ecc10085ff0084fde40df6776f552a23', 'installed' => true, 'instanceid' => 'ocdlmd92r9mj', 'loglevel' => '2', 'log_type' => 'file', 'logfile' => '/var/www/html/data/nextcloud.log', 'log_rotate_size' => '10485760', 'log.condition' => array ( 'apps' => array ( 0 => 'admin_audit', ), ), 'preview_max_x' => '2048', 'preview_max_y' => '2048', 'jpeg_quality' => '60', 'enabledPreviewProviders' => array ( 1 => 'OC\\Preview\\Image', 2 => 'OC\\Preview\\MarkDown', 3 => 'OC\\Preview\\MP3', 4 => 'OC\\Preview\\TXT', 5 => 'OC\\Preview\\OpenDocument', 6 => 'OC\\Preview\\Movie', 0 => 'OC\\Preview\\Imaginary', ), 'enable_previews' => true, 'upgrade.disable-web' => true, 'mail_smtpmode' => 'smtp', 'trashbin_retention_obligation' => 'auto, 30', 'versions_retention_obligation' => 'auto, 30', 'activity_expire_days' => '30', 'simpleSignUpLink.shown' => false, 'share_folder' => '/Shared', 'one-click-instance' => true, 'one-click-instance.user-limit' => 100, 'one-click-instance.link' => 'https://nextcloud.com/all-in-one/', 'htaccess.RewriteBase' => '/', 'files_external_allow_create_new_local' => false, 'trusted_proxies' => array ( 0 => '127.0.0.1', 1 => '::1', ), 'allow_local_remote_servers' => true, 'preview_imaginary_url' => 'http://nextcloud-aio-imaginary:9000', 'mail_from_address' => 'cloud', 'mail_sendmailmode' => 'smtp', 'mail_domain' => 'mydomain.com', 'mail_smtphost' => 'mail.mydomain.com', 'mail_smtpport' => '587', 'maintenance' => false, 'updatedirectory' => '/nc-updater', 'upgrade.cli-upgrade-link' => 'https://github.com/nextcloud/all-in-one/discussions/2726', 'davstorage.request_timeout' => 3600, 'dbpersistent' => true, );

I think I found the reason.

I was used the ownCloud client on Windows Server 2008 R2 because Nexcloud client is not working and these problems stopped after I’ve swtched the ownCloud client off.