sameersbn / docker-gitlab

Dockerized GitLab
http://www.damagehead.com/docker-gitlab/
MIT License
7.88k stars 2.14k forks source link

After Upgrade from 7 to 8.3.2 I cannot set Passwords #563

Open vanthome opened 8 years ago

vanthome commented 8 years ago

Hi,

I have upgraded from some 7 version and now I have the issue that I cannot set passwords ad admin anymore. I get no error or something but users are not able to log in anymore. Also, user's do not get invitations, when I create new ones.

I have generated a GITLAB_SECRETS_DB_KEY_BASE as advised.

Any idea what could be the problem?

sameersbn commented 8 years ago

can you try restoring a backup of the 7 version and then upgrading to last 8.0.x version before upgrading to 8.3.2. You may also want to refer to https://github.com/sameersbn/docker-gitlab/blob/master/CI_MIGRATION.md in case you are using GitLab CI. If you are not sure about exactly version, you can open the backup and get the version from the backup_information.yml file

Let me know if it works.

vanthome commented 8 years ago

Unfortunately I have no backup. I tried the steps you proposed anyways but it didn't help. At least I'm able to set passwords now. User initiated password resets are not possible however. Do you know whether there is a documentation about upgrading? Is it upgrading the data model automatically or what is the strategy here?

sameersbn commented 8 years ago

You can try reverting the database using instructions from http://stackoverflow.com/a/7695220/4799938. I have never tried this so the results may vary.

However If you have a small installation then I would recommend setting up Gitlab from scratch. Create the users and import the existing repos in the repositories/ directory using the gitlab:import:repos rake task.

p.s. always take backups and/or enable automated backups.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had any activity for the last 60 days. It will be closed if no further activity occurs during the next 7 days. Thank you for your contributions.