self-hosted icon indicating copy to clipboard operation
self-hosted copied to clipboard

can't login after updating

Open ashraful88 opened this issue 8 years ago • 3 comments

I can see in 'data' directory postgres showing 20GB but looks like i lost all data after update.

:~/onpremise/data$ sudo du -sh * 20G postgres 340K sentry

I pull latest source and did docker-compose run --rm web upgrade any idea how to recover ?

ashraful88 avatar Jul 17 '18 08:07 ashraful88

The initial setup and web upgrade command should ask you to create the super user. did you create it ?

If not, wipe the docker volume, restart the install procedure and it should ask you to create one

revolunet avatar Jul 18 '18 08:07 revolunet

I set "no" when asked to create the super user, I thought i already had user. then I checkout to release 9.0 and setup again. and I got my data back !

I think new composer 3.4 file has volumes like sentry-postgres:/var/lib/postgresql/data where my old volumes are like ./data/postgres:/var/lib/postgresql/data

Thanks

ashraful88 avatar Jul 18 '18 09:07 ashraful88

please close if fixed

revolunet avatar Jul 18 '18 15:07 revolunet