AIO container update loop. Service unavailable

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version : 27.1.7
Operating system and version : Ubuntu 20.04.6 LTS
Apache or nginx version : Apache/2.4.41 (Ubuntu)
PHP version (eg, 7.4): I couldn't find the version - says php not installed????

The issue you are facing: Periodically I see AIO being unable to start containers after an update.

Is this the first time you’ve seen this error? : No

Steps to replicate it:

  1. Allow AIO to perform regular updates. These seems to be scheduled for Friday evenings.

  2. I see this in AIO:


    so I stop and update the containers.

  3. But no matter how long I wait this is all that I get. When it happens, I typically I arrive Monday morning to complaints the server is “down”. It doesn’t matter what I do in the AIO interface at this juncture, it always brings back the above showing stopped containers… Until I reboot the host I am stuck in a cycle where AIO only reports the above.

  4. After a host reboot AIO show this for a while as I would expect on updating:

  5. which then completes and I am updates and back with users able to log in again:

The output of your Nextcloud log in Admin > Logging:

{"reqId":"qOe4Ukh3hT8dmfsffAV4","level":2,"time":"2023-12-11T14:01:06+00:00","remoteAddr":"","user":"--","app":"OC\\Log\\Rotate","method":"","url":"--","message":"Log file \"/var/www/html/data/nextcloud.log\" was over 10485760 bytes, moved to \"/var/www/html/data/nextcloud.log.1\"","userAgent":"--","version":"27.1.4.1","data":{"app":"OC\\Log\\Rotate"}}
{"reqId":"qOe4Ukh3hT8dmfsffAV4","level":3,"time":"2023-12-11T14:01:09+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job (class: OCA\\Files_Trashbin\\BackgroundJob\\ExpireTrash, arguments: )","userAgent":"--","version":"27.1.4.1","exception":{"Exception":"OC\\ServerNotAvailableException","Message":"Lost connection to LDAP server.","Code":0,"Trace":[{"file":"/var/www/html/apps/user_ldap/lib/LDAP.php","line":420,"function":"processLDAPError","class":"OCA\\User_LDAP\\LDAP","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***",-1,"Can't contact LDAP server"]},{"file":"/var/www/html/apps/user_ldap/lib/LDAP.php","line":309,"function":"postFunctionCall","class":"OCA\\User_LDAP\\LDAP","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/apps/user_ldap/lib/LDAP.php","line":67,"function":"invokeLDAPMethod","class":"OCA\\User_LDAP\\LDAP","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/apps/user_ldap/lib/Connection.php","line":719,"function":"bind","class":"OCA\\User_LDAP\\LDAP","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/apps/user_ldap/lib/Connection.php","line":630,"function":"bind","class":"OCA\\User_LDAP\\Connection","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/apps/user_ldap/lib/Connection.php","line":238,"function":"establishConnection","class":"OCA\\User_LDAP\\Connection","type":"->","args":[]},{"file":"/var/www/html/apps/user_ldap/lib/Connection.php","line":246,"function":"init","class":"OCA\\User_LDAP\\Connection","type":"->","args":[]},{"file":"/var/www/html/apps/user_ldap/lib/Access.php","line":190,"function":"getConnectionResource","class":"OCA\\User_LDAP\\Connection","type":"->","args":[]},{"file":"/var/www/html/apps/user_ldap/lib/User_LDAP.php","line":324,"function":"readAttribute","class":"OCA\\User_LDAP\\Access","type":"->","args":["cn=paul d. o'rorke,cn=users,dc=pdf-xchange,dc=net","","(&(|(objectclass=person))(|(|(memberof=CN=sales,OU=sales,OU=staff,DC=pdf-xchange,DC=net)(primaryGroupID=1106))(|(memberof=CN=dev-team,OU=dev team,OU=staff,DC=pdf-xchange,DC=net)(primaryGroupID=1104))(|(memberof=CN=support,OU=support,OU=staff,DC=pdf-xchange,DC=net)(primaryGroupID=1105))(|(memberof=CN=Management,CN=Users,DC=pdf-xchange,DC=net)(primaryGroupID=1108))))"]},{"function":"userExistsOnLDAP","class":"OCA\\User_LDAP\\User_LDAP","type":"->","args":[["OCA\\User_LDAP\\User\\User"],false]},{"file":"/var/www/html/apps/user_ldap/lib/User_Proxy.php","line":110,"function":"call_user_func_array","args":[[["OCA\\User_LDAP\\User_LDAP"],"userExistsOnLDAP"],["A942253C-FC53-4359-AA7C-B228C0CECC2B",false]]},{"file":"/var/www/html/apps/user_ldap/lib/Proxy.php","line":140,"function":"walkBackends","class":"OCA\\User_LDAP\\User_Proxy","type":"->","args":["A942253C-FC53-4359-AA7C-B228C0CECC2B","userExistsOnLDAP",["A942253C-FC53-4359-AA7C-B228C0CECC2B",false]]},{"file":"/var/www/html/apps/user_ldap/lib/User_Proxy.php","line":246,"function":"handleRequest","class":"OCA\\User_LDAP\\Proxy","type":"->","args":["A942253C-FC53-4359-AA7C-B228C0CECC2B","userExistsOnLDAP",["A942253C-FC53-4359-AA7C-B228C0CECC2B",false]]},{"file":"/var/www/html/apps/user_ldap/lib/User_Proxy.php","line":223,"function":"userExistsOnLDAP","class":"OCA\\User_LDAP\\User_Proxy","type":"->","args":["A942253C-FC53-4359-AA7C-B228C0CECC2B"]},{"file":"/var/www/html/lib/private/User/Manager.php","line":630,"function":"userExists","class":"OCA\\User_LDAP\\User_Proxy","type":"->","args":["A942253C-FC53-4359-AA7C-B228C0CECC2B"]},{"file":"/var/www/html/apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php","line":81,"function":"callForSeenUsers","class":"OC\\User\\Manager","type":"->","args":[["Closure"]]},{"file":"/var/www/html/lib/public/BackgroundJob/Job.php","line":81,"function":"run","class":"OCA\\Files_Trashbin\\BackgroundJob\\ExpireTrash","type":"->","args":[null]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":103,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":93,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"],["OC\\Log"]]}],"File":"/var/www/html/apps/user_ldap/lib/LDAP.php","Line":382,"message":"Error while running background job (class: OCA\\Files_Trashbin\\BackgroundJob\\ExpireTrash, arguments: )","exception":{},"CustomMessage":"Error while running background job (class: OCA\\Files_Trashbin\\BackgroundJob\\ExpireTrash, arguments: )"}}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'one-click-instance' => true,
  'one-click-instance.user-limit' => 100,
  '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,
    ),
  ),
  'check_data_directory_permissions' => false,
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>    array (
    'host' => 'nextcloud-aio-redis',
    'password' => 'REDACTED',
    'port' => 6379,
  ),
  'overwritehost' => 'files.tracker-software.support',
  'overwriteprotocol' => 'https',
  'passwordsalt' => 'REDACTED',
  'secret' => 'REDACTED',
  'trusted_domains' =>
  array (
    0 => 'localhost',
    1 => 'files.tracker-software.support',
  ),
  'datadirectory' => '/mnt/ncdata',
  'dbtype' => 'pgsql',
  'version' => '27.1.7.2',
  'overwrite.cli.url' => 'https://files.tracker-software.support/',
  'dbname' => 'nextcloud_database',
  'dbhost' => 'nextcloud-aio-database',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_nextcloud',
  'dbpassword' => 'REDACTED',
  'installed' => true,
  'instanceid' => 'REDACTED',
  'maintenance' => false,
  'updater.release.channel' => 'stable',
  'updatedirectory' => '/nc-updater',
  'loglevel' => '2',
  'app_install_overwrite' =>
  array (
    0 => 'nextcloud-aio',
  ),
  'log_type' => 'file',
  'logfile' => '/var/www/html/data/nextcloud.log',
  'log_rotate_size' => '10485760',
  'log.condition' =>
  array (
    'apps' =>
    array (
      0 => 'admin_audit',
    ),
  ),
'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',
    7 => 'OC\\Preview\\Krita',
  ),
  '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.link' => 'https://nextcloud.com/all-in-one/',
  'upgrade.cli-upgrade-link' => 'https://github.com/nextcloud/all-in-one/discussions/2726',
  'htaccess.RewriteBase' => '/',
  'files_external_allow_create_new_local' => true,
  'trusted_proxies' =>
  array (
    0 => '127.0.0.1',
    1 => '::1',
  ),
  'allow_local_remote_servers' => true,
  'mail_domain' => 'tracker-software.com',
  'mail_from_address' => 'paul',
  'mail_smtphost' => 'tmail.tracker-software.com',
  'mail_sendmailmode' => 'smtp',
  'mail_smtpport' => '587',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'trackersoftware\\po\'rorke',
  'mail_smtppassword' => 'M1llbay!Jun2023!',
  'default_phone_region' => 'CA',
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
  'davstorage.request_timeout' => 3600,
  'dbpersistent' => false,
  'uth.bruteforce.protection.enabled' => true,
  'ratelimit.protection.enabled' => true,
  'appsallowlist' => false,
);

The output of your Apache/nginx/system log in /var/log/____:

I am having a challenge finding these.  The scripts in logrotate.d suggest it should be in /var/log/apache2 but that location is empty.

From what I can see these appears to be an issue connecting to my Active Directory Domain controller. Why would it require a host restart?

What can I do so that these updates do not prevent user access. I am having a challenge convincing users to use the service because they complain it is unavailable too often.

Hi, can you post the mastercontainer logs here after a container update fails?

Hi szaimen,

Will I now have to wait for the next updates and subsequent failure, or do you want this from last Friday’s issue?

I am sorry - I should probably already know where to pull; those logs from by now, can you tell me where I can determine where my logs are actually going? I see a folder

/var/lib/docker/overlay2/bc02fcf87a1ca3bfa79ef36d5be429866599e3caf4a90601c9b06c44df33a1b9/merged/etc/logrotate.d

but the scripts in there are not telling me where to look.

Also do the settings here impact the “master container logs”?

image

Sorry if I am being obtuse here, I am hoping you can give me a pointer as to how to determine exactly where my logging is going.

Thanks for the quick response.

Hi @szaimen

I will confess that it makes me smile the way you make me “do the work myself”. :wink:

Here are the mastercontainer logs after it happened overnight last night:

If I reboot the host the updates apply OK and the containers start. Looking forward to finding the cause and resolving it.

Trying to fix docker.sock permissions internally...
Creating docker group internally with id 998
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:8080

If 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
Daily backup script has started
Starting mastercontainer update...
(The script might get exited due to that. In order to update all the other containers correctly, you need to run this script with the same settings a second time.)
Waiting for watchtower to stop
Creating daily backup...
Waiting for backup container to stop
Waiting for backup container to stop
Starting and updating containers...
Waiting for the Nextcloud container to start
Waiting for the Nextcloud container to start
Waiting for the Nextcloud container to start
Waiting for the Nextcloud container to start
Sending backup notification...
Daily backup script has finished
Deleted Images:
untagged: nextcloud/aio-redis@sha256:925e0eaf95260a6a74c26389949cb34410d911d6a1c8ca6d17c007bb67c60b4b
deleted: sha256:0d44db3f5b37ee28afc6f247eb5481cddb137d6f2886635de9627167e9d0a29d
deleted: sha256:a50eb3605e13053236085c3516e71218d04d592aa3823d4c6e6cd0d201c892fb
deleted: sha256:22417649e293dfce7724b2b59ce7303c129e7f19014882c8d8ee14e49899a233
untagged: nextcloud/aio-watchtower@sha256:ffb29edfffd0c923aa9d00455231454706374f69c24c756677765cd02810a97f
deleted: sha256:b71e288792b01e865bd44d00440891866b616d9cf16e21abd3d04525eb2ed9e4
deleted: sha256:75bcc7c06b88819daec80f1e81279d685277ced70f79ff5195f9947d17e23a28
deleted: sha256:4aacde22709c70ac95f9097dd189d3d368d311123739c49549c6243bab1931b3
deleted: sha256:ee1ed97f8910aa52c9cafdc9c54f09b5cfcf22bf68138ec584b0af606ba0a306
untagged: nextcloud/aio-borgbackup@sha256:413083d345fd96641395b192b93d07ebb5d798388a54bacaf7db75039a880ced
deleted: sha256:b746f622d858096c0e6b72b2be4f610dd3d2dbcca9542e31e453b2d9b4da9b0f
deleted: sha256:7c016ce04726e2d81d1a63305f6006bb1fccc5b53127d826c48589c5961f84a2
deleted: sha256:2e65b136fa2e5432bcc43b8e14eba7c3d98e5affb0b5216672359be3b4f30020
untagged: nextcloud/aio-postgresql@sha256:2a3fcbed146395f6b5dd63b37185e59df43181772eb73e97124970907446d683
deleted: sha256:601d6b39235b6c0e8cf6df5de81c63b17ed841cf00c6230c2613c11853d6b84d
deleted: sha256:c7d2ed8877f6228251c2caf24ff847f65edfdd83b393b3ee502baa60e1f9058b
deleted: sha256:ec6098239e157d0c29be1ee2b7a7aea6ee4ccf667ecbfcbd1bb23530005f6fa0
deleted: sha256:23bb84e57a62577aca462d1538de21368193857a8e3dafe80c393bf086a3c84a
deleted: sha256:72c5ec345509e3f5016b5153acc6a9dc93d83837224f6366fdbf9599a51abbe2
untagged: nextcloud/aio-apache@sha256:72c572dbe8d68c1062924eecea19a7cc05cf35f1482a2201eac855ad85ee7585
deleted: sha256:5aef8da2c080d17dd48c264ba29ba31f2756b5fe305ea4aaadd96a738348cb1a
deleted: sha256:958c9b4e5d964319a7d8e4b49a83e8e36a32f312153ac9d90312a35013d47415
deleted: sha256:1b790772299e301cc0250d7a58095cf7141728bd7ab227fbde058baa7636a188
deleted: sha256:3bb30c574b5fc8b8511f7a76695a1a0860a24f789140a7035d477a65a95efafe
deleted: sha256:82ec57d7f3ef99b2ee6e6cb40f70b05ce98485aab2c347f45a11e3cc03951095
deleted: sha256:c3b26002177cdbb9cfce09223695bbb32f9cd9d402242e92ea9cafcd4b8b40e1
deleted: sha256:a21eba551caa5a390589563186640d7cbbee879a0eae5e907c8ada9f5fa341c0
deleted: sha256:0dc173c7d472ee60162ae9eb8e9fd56030c03a494503c2bee0f9dde0a72c957a
untagged: nextcloud/aio-nextcloud@sha256:d01d138ae8f6a51253d331a4fe32b9064fd1453d1969bd473ad434f1b4b5fae9
deleted: sha256:03bdb1b8d52b3138e7f5da31e20062d701a59837db69cb93e7e357031d9b6f39
deleted: sha256:35e8807e150aafbc10d362c0c877c2f1271fff44468b2c17e5658645e74f67a2
deleted: sha256:4573aeff544ab4522209cb141b893bb14c5ff66de73997b86c60ea50601cbc9c
deleted: sha256:b72b557638bd42d56212daebd8e9bf74749746bf4c12380f7a273cf1ad1e5b5b
deleted: sha256:0c2ccb4167043be1a6802fb4a3a71f276805f229a741a4eb19ac096537d9b8ee
deleted: sha256:fbf3f355d7ccb72d0b0bd0088be7abb1c1290a2bba227b777b755d77df844126
deleted: sha256:3ae99a51a5a7e03606cf6483b9188d4f4d01ca05f09b51e551f19e374bccc1d2
deleted: sha256:856310f72d2c3c2f8a9b9786eea4041db23aa7c505c03094d4584aa3155242f5
deleted: sha256:f28bda2ef521ecd88e541ed8ccdb740ccf10b13014cb4e78de1f6b7e48093050
deleted: sha256:c50cbf6116ba8eeae56390928768675374966a9f61504f1cd680ae71570cd668
deleted: sha256:90aafb1155a2ab79aa13659f6233746869a3782c513faa864b271dcc73f196e5
deleted: sha256:f7c01454a3df6b8ed7206e66c9735bbaad8fd1fe14775866db819883f9a5f778
untagged: nextcloud/aio-notify-push@sha256:5e576b9c06d5593d631a9ab0dcadef176fe53d849ca6ce6c72bbd99ef2689683
deleted: sha256:d3295356b52fbd72776f8728652b7c210c9e330cf0c92c2c2041e23b2a0e0790
deleted: sha256:30e5806e3ce399868d8f4f3edd0495771d627776db403fd8b0c5ffe92a330016
deleted: sha256:e9287a52a77370a91ae16d27e4dadc539862d6fdccdbe729c2b85d8fd9c5e966
deleted: sha256:f38af3a1a9ed313ecc0187ffc6ba1404859330a35ce7df33a302e29cd3b9a035

Total reclaimed space: 1.179GB
Daily backup script has started
Starting mastercontainer update...
(The script might get exited due to that. In order to update all the other containers correctly, you need to run this script with the same settings a second time.)
Waiting for watchtower to stop
Creating daily backup...
Waiting for backup container to stop
Waiting for backup container to stop
Starting and updating containers...
Sending backup notification...
Daily backup script has finished
Total reclaimed space: 0B
Daily backup script has started
Starting mastercontainer update...
(The script might get exited due to that. In order to update all the other containers correctly, you need to run this script with the same settings a second time.)
Waiting for watchtower to stop
Creating daily backup...
Waiting for backup container to stop
Waiting for backup container to stop
Starting and updating containers...
Sending backup notification...
Daily backup script has finished
Total reclaimed space: 0B
Daily backup script has started
Starting mastercontainer update...
(The script might get exited due to that. In order to update all the other containers correctly, you need to run this script with the same settings a second time.)
Waiting for watchtower to stop
Creating daily backup...
Waiting for backup container to stop
Waiting for backup container to stop
Starting and updating containers...
Sending backup notification...
Daily backup script has finished
Total reclaimed space: 0B
Daily backup script has started
Starting mastercontainer update...
(The script might get exited due to that. In order to update all the other containers correctly, you need to run this script with the same settings a second time.)
Waiting for watchtower to stop
Waiting for watchtower to stop
Creating daily backup...
Waiting for backup container to stop
Waiting for backup container to stop
Waiting for backup container to stop
Waiting for backup container to stop
Waiting for backup container to stop
Starting and updating containers...

Fatal error: Uncaught Exception: Could not start container nextcloud-aio-nextcloud: Server error: `POST http://localhost/v1.41/containers/nextcloud-aio-nextcloud/start` resulted in a `500 Internal Server Error` response:
{"message":"failed to create task for container: failed to create shim task: OCI runtime create failed: runc create fail (truncated...)
 in /var/www/docker-aio/php/src/Docker/DockerActionManager.php:192
Stack trace:
#0 /var/www/docker-aio/php/src/Controller/DockerController.php(66): AIO\Docker\DockerActionManager->StartContainer(Object(AIO\Container\Container))
#1 /var/www/docker-aio/php/src/Controller/DockerController.php(33): AIO\Controller\DockerController->PerformRecursiveContainerStart('nextcloud-aio-n...', true)
#2 /var/www/docker-aio/php/src/Controller/DockerController.php(211): AIO\Controller\DockerController->PerformRecursiveContainerStart('nextcloud-aio-a...', true)
#3 /var/www/docker-aio/php/src/Cron/StartAndUpdateContainers.php(20): AIO\Controller\DockerController->startTopContainer(true)
#4 {main}
  thrown in /var/www/docker-aio/php/src/Docker/DockerActionManager.php on line 192
Something seems to be wrong: Nextcloud should be started at this step.
Sending backup notification...
Daily backup script has finished
Total reclaimed space: 0B
Deleting duplicate sessions

Looking forward to hearing your thoughts.

warm regards

Paul

Hi,

I have not seen a repeat of the issue since I posted this. I am just wondering if you have had a chance to look at this?

So I assume I was not getting any responses because the issue appeared to be a full root drive on the host and that is not your issue.

I have a 100GB root partition and I mount a 3.00 TB drive at /mnt/ncdata for the data directory.

Looking at configuration.json I see

“borg_backup_host_location”: “/mnt/backups”,

Which I stupidly removed while trying to recover space. The host was repurposed and I had it in my head this was an old location no longer used.

On restarting the host Apache is not running and AIO is “unhealthy”:

# docker ps
CONTAINER ID   IMAGE                              COMMAND                  CREATED       STATUS                      PORTS      NAMES
d3df46359e9f   nextcloud/aio-notify-push:latest   "/start.sh"              5 hours ago   Up 40 minutes (healthy)                nextcloud-aio-notify-push
106216f98fce   nextcloud/aio-nextcloud:latest     "/start.sh /usr/bin/…"   5 hours ago   Up 40 minutes (unhealthy)   9000/tcp   nextcloud-aio-nextcloud
70c2c94f9d83   nextcloud/aio-redis:latest         "/start.sh"              5 hours ago   Up 40 minutes (healthy)     6379/tcp   nextcloud-aio-redis
9536b111e077   nextcloud/aio-postgresql:latest    "/start.sh"              5 hours ago   Up 40 minutes (healthy)     5432/tcp   nextcloud-aio-database

Given that I have botched this and cannot access my back ups, I am thinking to create a new instance. I still have all my data, users are pulled from AD, so I am wondering, if I made a new instance, is it overly complex to pull the current config from files on the old one?

Also - am I being too old school to want separate partitions/disks for root, data, and (now) backups?

Do most people just throw everything on one block device?

I am not sure whether to start again or try and recover this instance’s settings.

OK - not sure if it is of interest to anyone, I believe that the issue was the host not AIO/Nextcloud.

I won’t go into details, but this was a test/proof of concept and was done on old hardware, and even thrown on an existing OS.

That and a poorly thought out configuration/setup meant I lost my Borg backups when the hardware died.

So I have a shiny new instance, on production hardware, replicated and backed up externally.

I am going to call the test a success because users demanded I replace it when it died. I learned a lot and this install went much better.

AIO is growing on me, thanks to the team who did such a stellar job of making this excellent software.

1 Like