Move between v-hosts can' t login

Hi ! :slight_smile:

Apache Virtual Host - just want copy a working instance to another dir (docroot with other domain) nextcloud v12.0.0.29:

bla.v1 (/srv/v1) -> works
bla.v2 (/srv/v2)-> empty instance, new database and user

bla.v1 -> maintenance:mode --on

mysqldump v1 > v1.sql
mysql v2 < v1.sql

rsync -Aax /srv/v1/ /srv/v2/

vi /srv/v2/config/config.php
array (
0 => ‘bla.v2’,
),
‘datadirectory’ => ‘/srv/v2/data’
‘dbname’ => ‘v2’
‘dbuser’ => ‘bla.user’
‘dbpass’ => bla.pass’

bla.v1 -> maintenance:mode --off

http://bla.v2/
login: admin
pass: blabla
= Wrong password

http://bla.v1/
login: admin
pass: blabla
= OK

why?

There are unique identifiers on the configuration file, maybe you wanna try copying those too.

Not sure though :stuck_out_tongue:

rsync -Aax /srv/v1/ /srv/v2/
This include the config with all values :wink:
so … no, unique identyfier is not th problem.