When migrating instance or something else, you can’t connect old database with existing admin account.
Starting nextcloud installation
The Login is already being used
Retrying install...
The Login is already being used
Retrying install...
The Login is already being used
Retrying install...
but i already have a admin account.
NC force me to create a new one again and again. then i should remove them.
best way for me is setup DB connection at config.php manualy, to skip this wizard.
jtr
July 12, 2024, 4:28pm
4
The existing admin account is in your old database. It looks more like:
you’re using one of the Docker images (not sure which one since you didn’t specify)
you’re triggering the installer (which of course is not what you want)
Migrations require three things:
your config files
your database
your data directory contents
How, precisely, did you migrate?
It would also help you posted your Docker Compose file (both before and after if you changed them).
References:
[1] Migrating to the Docker image: GitHub - nextcloud/docker: ⛴ Docker image of Nextcloud
[2] Migrating to a different server: Migrating to a different server — Nextcloud latest Administration Manual latest documentation