had to reformat drive with aio issues

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

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:

The Basics

  • Nextcloud Server version (e.g., 10.14.0):
    • replace me
  • Operating system and version (unraid 7.1.2):
    • replace me
  • Web server and version (? Unsure how to see at this point):
    • replace me
  • Reverse proxy and version _(cloudflared)
  • PHP version (?):
  • Is this the first time you’ve seen this error? (Yes):
    • Yes
      • When did this problem seem to first start?
    • after moving files to HDD and back to ssd after file system change
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • aio
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • yes

Summary of the issue you are facing:

[Appdata is not present. Did you maybe change the datadir after the initial Nextcloud installation? This is not supported!
2025-05-14T12:48:04.927949531Z See GitHub - nextcloud/all-in-one: 📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.
2025-05-14T12:48:04.927952813Z If you adjusted the datadir to be located on an external drive, make sure that the drive is still mounted!
2025-05-14T12:48:04.927955059Z In the datadir was found: all of the sudden as well as apache says getaddrinfo for host “nextcloud-aio-nextcloud” port 9000: Name does not resolve
2025-05-14T12:52:17.643032256Z Waiting for Nextcloud to start… ]

Steps to replicate it (hint: details matter!):

  1. Open aio
  2. Check logs in aio

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

PASTE HERE

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

PASTE

Web server / Reverse Proxy

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

PASTE HERE

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

PASTE HERE

Apps

The output of occ app:list (if possible).

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

I’ve recently gone through a complete migration of my server setup that involved reformatting the storage and moving from ext4 to XFS – not just for Nextcloud AIO, but for the entire Docker-based infrastructure.

In my case, I prepared a detailed step-by-step guide covering:

  • Full backup of all Docker volumes (including Nextcloud AIO),
  • Selected folders from the home directory (which contained configuration files and environment data for various containers),
  • All persistent Docker volumes from /var/lib/docker/volumes/,
  • And most importantly: the local backup drive was formatted as XFS, not EXT4, to ensure proper preservation of permissions, ownership (UID/GID), ACLs, and extended attributes when syncing data using rsync.

Based on the error you’re encountering (“Appdata is not present…” and DNS resolution problems inside containers), it’s likely the restored data or volume structure is not aligned with what Nextcloud AIO expects — especially if the data directory path or structure changed during or after reinstallation. AIO is quite strict about that.

If it helps, I shared my full migration process on the forum — including the exact rsync commands (with all necessary flags), Proxmox VM settings (ballooning, IO thread), and how I reinstalled Ubuntu Server 24.04 on XFS. It might give you a clearer baseline to recover or start clean while preserving everything.

:link: Migrating Nextcloud AIO Docker Server from ext4 to XFS


Note: This post was written with the help of an AI assistant as a writing aid only. The opinions, solutions, and technical recommendations are fully based on my personal experience.
More about how and why I use AI to write forum posts:
:right_arrow: Is there limitations to installing Nextcloud via CT template on Proxmox - #4 by vawaver