I ran backup on one computer and restored to a new server.
On the new server all projects created after the 8.7 update are showing 500 errors.
Below is the content from the production log
Started GET "/NAMESPACE/PROJECT" for 127.0.0.1 at 2016-04-28 08:18:42 -0700Processing by ProjectsController#show as HTMLParameters: {"namespace_id"=>"NAMESPACE", "id"=>"PROJECT"}Completed 500 Internal Server Error in 35ms (ActiveRecord: 3.7ms)OpenSSL::Cipher::CipherError (bad decrypt):app/models/project.rb:419:in `import_url'app/models/project.rb:449:in `external_import?'app/models/project.rb:441:in `import?'app/models/project.rb:457:in `import_in_progress?'app/controllers/projects_controller.rb:93:in `show'lib/gitlab/middleware/go.rb:16:in `call'
Designs
An error occurred while loading designs. Please try again.
Child items
0
Show closed items
GraphQL error: The resource that you are attempting to access does not exist or you don't have permission to perform this action
No child items are currently open.
Linked items
0
Link issues together to show that they're related or that one is blocking others.
Learn more.
I'm experiencing exactly the same issue, downgrading for now, but this does not seem to be related to projects created after 8.7 version, i've just done backup on 8.0.2, then on local computer migrated to 8.7, backuped that, and then restored 8.7 backup on cluster.
I have one project where everything works except for viewing the variables section. then the 500 error.
I have a hand full of other projects that are showing all of the symptoms listed here.
they are all showing up on the file level with different permissions than the rest of the projects.
The ones that work are showing 770 for perms. The ones that do not have 755..
I've had exactly the same symptoms as @brians1196 on a single project. After turning the logging level up a notch I saw that it failed after doing a select from the project_import_data table. So after trying somethings I found that setting the project_id field to NULL for project which failed to load the project page worked as a work-around.
So far we've not encountered anything missing in the project but it surely has to affect something, so keep a backup of the original values in case thing do go missing.
My environment: Arch with an existing AUR gitlab installation which got 'migrated' to the community repos (with different configuration sadly). Which caused plenty of file-rights issues so this is likely another one.
I have this too (same as @brians1196): A single project is 500'ing, while others work fine. I just upgraded from 8.7.2 to 8.7.5. Production log shows the same stack:
Started GET "/Internal/pxeboot" for 127.0.0.1 at 2016-05-20 21:46:33 +0200Processing by ProjectsController#show as HTML Parameters: {"namespace_id"=>"Internal", "id"=>"pxeboot"}Completed 500 Internal Server Error in 48ms (ActiveRecord: 3.3ms)OpenSSL::Cipher::CipherError (bad decrypt): app/models/project.rb:419:in `import_url' app/models/project.rb:449:in `external_import?' app/models/project.rb:441:in `import?' app/models/project.rb:457:in `import_in_progress?' app/controllers/projects_controller.rb:93:in `show' lib/gitlab/middleware/go.rb:16:in `call'
When upping log level to debug, I get the same pattern as @Johnnei: it fails right after a SELECT "project_import_data".* FROM "project_import_data" WHERE "project_import_data"."project_id" = $1 LIMIT 1. I haven't been in the postgresql to fix it like Johan did though. The most important part (being able to push and pull) still works.
GitLab is moving all development for both GitLab Community Edition
and Enterprise Edition into a single codebase. The current
gitlab-ce repository will become a read-only mirror, without any
proprietary code. All development is moved to the current
gitlab-ee repository, which we will rename to just gitlab in the
coming weeks. As part of this migration, issues will be moved to the
current gitlab-ee project.
If you have any questions about all of this, please ask them in our
dedicated FAQ issue.
Using "gitlab" and "gitlab-ce" would be confusing, so we decided to
rename gitlab-ce to gitlab-foss to make the purpose of this FOSS
repository more clear
I created a merge requests for CE, and this got closed. What do I
need to do?
Everything in the ee/ directory is proprietary. Everything else is
free and open source software. If your merge request does not change
anything in the ee/ directory, the process of contributing changes
is the same as when using the gitlab-ce repository.
Will you accept merge requests on the gitlab-ce/gitlab-foss project
after it has been renamed?
No. Merge requests submitted to this project will be closed automatically.
Will I still be able to view old issues and merge requests in
gitlab-ce/gitlab-foss?
Yes.
How will this affect users of GitLab CE using Omnibus?
No changes will be necessary, as the packages built remain the same.
How will this affect users of GitLab CE that build from source?
Once the project has been renamed, you will need to change your Git
remotes to use this new URL. GitLab will take care of redirecting Git
operations so there is no hard deadline, but we recommend doing this
as soon as the projects have been renamed.
Where can I see a timeline of the remaining steps?