Hello @totor,
welcome to the Nextcloud community! ![]()
this a bad prerequisite to successfully run a self-hosted system. I would recommend you read and follow 101: Self-hosting information for beginners and learn technologies relevant for you e.g. docker
this two statements don’t make any sense
and
I can not imagine any situation how your old data could be visible from old location but new data stored in new location.
I bet you missed to completely recreate your containers:
If it was started already, you will need to stop the mastercontainer, remove it (no data will be lost) and recreate it using the docker run command that you initially used). Allowed values for that variable are strings that start with
/and are not equal to/. The chosen directory or volume will then be mounted to/mnt/ncdatainside the container.
but at the end best way to analyze where the problem comes from is to check what/how the data is visible inside of the container (use docker exec or docker compose exec with right container name and run ls -al /mnt/ncdata)
Also take into account the article you mentioned only covers switching the mount point of you data directory - you still must copy/sync files from old location to new destination.
and one last hint - “external harddisk” is definitely not a recommended setup for production. such devices could introduce headaches e.g. if the drives is suddenly disconnected, not initialized (quick enough) at reboot etc. if possible use internal drives for application storage.