500 error when trying to delete an application from Oauth
Closed
500 error when trying to delete an application from Oauth
Created by: Eijebong
Last master revision.
Started GET "/admin/applications" for 127.0.0.1 at 2015-01-21 19:27:26 +0100
Processing by Admin::ApplicationsController#index as HTML
Completed 200 OK in 35ms (Views: 24.9ms | ActiveRecord: 4.0ms)
Started DELETE "/admin/applications/2" for 127.0.0.1 at 2015-01-21 19:27:29 +0100
Processing by Admin::ApplicationsController#destroy as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"blabla", "id"=>"2"}
Completed 500 Internal Server Error in 38ms
NoMethodError (undefined method `name' for nil:NilClass): app/controllers/admin/applications_controller.rb:38:in `destroy'
Created by: Eijebong
Using ruby 2.2.0.
Checking Environment ... Git configured for git user? ... yes Checking Environment ... Finished Checking GitLab Shell ... GitLab Shell version >= 2.4.1 ? ... OK (2.4.1) Repo base directory exists? ... yes Repo base directory is a symlink? ... no Repo base owned by git:git? ... yes Repo base access is drwxrws---? ... yes Satellites access is drwxr-x---? ... yes hooks directories in repos are links: ... 5/3 ... ok 4/4 ... ok 4/5 ... ok 4/6 ... ok 4/7 ... ok 6/8 ... ok 6/9 ... ok 5/10 ... ok 3/13 ... ok 5/18 ... ok 3/21 ... ok 3/23 ... ok 3/24 ... ok 10/25 ... ok 4/26 ... ok 10/27 ... ok 6/28 ... ok 4/29 ... ok 3/30 ... ok 3/31 ... ok 5/32 ... ok 5/33 ... ok 6/35 ... ok 3/36 ... ok 4/37 ... ok 3/39 ... ok 3/40 ... ok 6/41 ... ok 3/42 ... ok 14/43 ... ok 6/45 ... ok 6/46 ... ok 6/47 ... ok 10/48 ... ok 3/50 ... ok Running /home/git/gitlab-shell/bin/check Check GitLab API access: OK Check directories and files: /home/git/repositories: OK /home/git/.ssh/authorized_keys: OK Test redis-cli executable: redis-cli 2.8.19 Send ping to redis server: PONG gitlab-shell self-check successful Checking GitLab Shell ... Finished Checking Sidekiq ... Running? ... yes Number of Sidekiq processes ... 1 Checking Sidekiq ... Finished Checking LDAP ... LDAP is disabled in config/gitlab.yml Checking LDAP ... Finished Checking GitLab ... Database config exists? ... yes Database is SQLite ... no All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config outdated? ... no Log directory writable? ... yes Tmp directory writable? ... yes Init script exists? ... no Try fixing it: Install the init script For more information see: doc/install/installation.md in section "Install Init Script" Please fix the error above and rerun the checks. Init script up-to-date? ... can't check because of previous errors projects have namespace: ... 5/3 ... yes 4/4 ... yes 4/5 ... yes 4/6 ... yes 4/7 ... yes 6/8 ... yes 6/9 ... yes 5/10 ... yes 3/13 ... yes 5/18 ... yes 3/21 ... yes 3/23 ... yes 3/24 ... yes 10/25 ... yes 4/26 ... yes 10/27 ... yes 6/28 ... yes 4/29 ... yes 3/30 ... yes 3/31 ... yes 5/32 ... yes 5/33 ... yes 6/35 ... yes 3/36 ... yes 4/37 ... yes 3/39 ... yes 3/40 ... yes 6/41 ... yes 3/42 ... yes 14/43 ... yes 6/45 ... yes 6/46 ... yes 6/47 ... yes 10/48 ... yes 3/50 ... yes Projects have satellites? ... 5/3 ... yes 4/4 ... yes 4/5 ... yes 4/6 ... yes 4/7 ... yes 6/8 ... yes 6/9 ... yes 5/10 ... yes 3/13 ... yes 5/18 ... yes 3/21 ... yes 3/23 ... yes 3/24 ... yes 10/25 ... yes 4/26 ... yes 10/27 ... yes 6/28 ... yes 4/29 ... yes 3/30 ... yes 3/31 ... yes 5/32 ... yes 5/33 ... yes 6/35 ... yes 3/36 ... yes 4/37 ... yes 3/39 ... yes 3/40 ... yes 6/41 ... yes 3/42 ... yes 14/43 ... yes 6/45 ... yes 6/46 ... yes 6/47 ... yes 10/48 ... yes 3/50 ... yes Redis version >= 2.0.0? ... yes Ruby version >= 2.0.0 ? ... yes (2.2.0) Your git bin path is "/usr/bin/git" Git version >= 1.7.10 ? ... yes (2.2.1) Checking GitLab ... Finished
By Administrator on 2015-01-22T00:32:06 (imported from GitLab project)
Created by: maxlazio
@Eijebong thanks for the details. Ruby 2.2.0 is not supported so you should use one of the supported versions. If this continues happening when you are on the correct version let us know so we can reopen the issue.
By Administrator on 2015-01-26T05:29:24 (imported from GitLab project)
Please register or sign in to reply