Content
macOS Installation: cannot login
Added by Frank Hintsch over 7 years ago
Running macOS 10.12.2 I installed the dev branch manually following the installation guide as far as it is possible since it is written for ubuntu. Finally the installation was successful (as far as I can see, though i am new to all this ruby stuff).
I get a login page but when I type in admin/admin or any other random account data I do not get any response, no error message and no new page.
tail production.log:
W, [2017-01-23T10:44:55.753527 #3139] WARN -- : Creating scope :open. Overwriting existing method WorkPackage.open. W, [2017-01-23T10:44:55.995551 #3139] WARN -- : [auth_saml] Missing settings from '/Users/frankhintsch/src/node/openproject-ce/config/plugins/auth_saml/settings.yml', skipping omniauth registration. W, [2017-01-23T10:44:56.088249 #3139] WARN -- : Creating scope :like. Overwriting existing method Principal.like. W, [2017-01-23T10:44:56.095256 #3139] WARN -- : Creating scope :not_builtin. Overwriting existing method User.not_builtin. W, [2017-01-23T10:44:56.146195 #3139] WARN -- : Creating scope :active. Overwriting existing method IssuePriority.active. W, [2017-01-23T10:44:56.152813 #3139] WARN -- : Creating scope :open. Overwriting existing method Version.open. W, [2017-01-23T10:44:56.179603 #3139] WARN -- : hook registered W, [2017-01-23T10:44:56.232943 #3139] WARN -- : Creating scope :givable. Overwriting existing method Role.givable. W, [2017-01-23T10:44:56.301375 #3139] WARN -- : Creating scope :visible. Overwriting existing method TimeEntry.visible.
tail apache/error.log (after apachectl restart):
[ 2017-01-23 10:35:21.8893 2789/0x7fffdbad63c0 age/Cor/CoreMain.cpp:245 ]: Passenger core running in multi-application mode. [ 2017-01-23 10:35:21.8958 2789/0x7fffdbad63c0 age/Cor/CoreMain.cpp:820 ]: Passenger core online, PID 2789 [ 2017-01-23 10:35:21.9030 2791/0x7fffdbad63c0 age/Ust/UstRouterMain.cpp:529 ]: Starting Passenger UstRouter... [ 2017-01-23 10:35:21.9043 2791/0x7fffdbad63c0 age/Ust/UstRouterMain.cpp:342 ]: Passenger UstRouter online, PID 2791 [Mon Jan 23 10:35:21.905481 2017] [mpm_prefork:notice] [pid 2774] AH00163: Apache/2.4.23 (Unix) PHP/5.6.27 Phusion_Passenger/5.1.1 configured -- resuming normal operations [Mon Jan 23 10:35:21.905546 2017] [core:notice] [pid 2774] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND' [ 2017-01-23 10:35:21.9694 2782/0x7fffdbad63c0 age/Cor/CoreMain.cpp:1055 ]: Passenger core shutdown finished [ 2017-01-23 10:35:22.0256 1338/0x7fffdbad63c0 age/Cor/CoreMain.cpp:1055 ]: Passenger core shutdown finished [ 2017-01-23 10:35:24.4310 2789/0x70000b819000 age/Cor/SecurityUpdateChecker.h:350 ]: Security update check: no update found (next check in 24 hours) [ 2017-01-23 10:35:24.4404 2789/0x70000b819000 Crypto.cpp:974 ]: Removing Passenger Cert from keychain failed: An invalid record was encountered. Please remove the private key from the certificate labeled Phusion Passenger Open Source in your keychain. App 2911 stdout: App 2911 stderr: .../openproject-ce/app/seeders/random_data/work_package_seeder.rb:84: warning: key :user is duplicated and overwritten on line 87 App 2985 stdout:
Output of db:seed
$ RAILS_ENV="production" bundle exec rake db:seed *** Seeding for locale: 'en' *** Seeding basic data ↳ BuiltinRolesSeeder *** Skipping built in role Non member - already exists *** Skipping built in role Anonymous - already exists ↳ RoleSeeder *** Skipping roles as there are already some configured ↳ ActivitySeeder *** Skipping activities as there are already some configured ↳ ColorSeeder *** Skipping colors as there are already some configured ↳ WorkflowSeeder *** Skipping types, statuses and workflows as there are already some configured ↳ PrioritySeeder *** Skipping priorities as there are already some configured ↳ ProjectStatusSeeder *** Skipping reported project status as there are already some configured ↳ ProjectTypeSeeder *** Skipping project types as there are already some configured ↳ SettingSeeder *** Skipping settings as all settings already exist in the db Loading discovered seeders: ↳ EnumerationsSeeder ↳ SettingSeeder *** Skipping BasicData::Backlogs::SettingSeeder *** Seeding admin user *** No need to seed an admin as there already is one. *** Seeding demo data ↳ ProjectSeeder *** Skipping DemoData::ProjectSeeder *** Loading action_cable_engine seed data *** Loading date_validator_engine seed data *** Loading bourbon_engine seed data *** Loading i18n_js_engine seed data *** Loading openproject_translations seed data *** Loading openproject_global_roles seed data *** Loading openproject_auth_plugins seed data *** Loading openproject_auth_saml seed data *** Loading lobby_boy seed data *** Loading openproject_openid_connect seed data *** Loading openproject_documents seed data *** Loading openproject_my_project_page seed data *** Loading openproject_xls_export seed data *** Loading reportingengine seed data *** Loading openproject_costs seed data *** Loading openproject_reporting seed data *** Loading openproject_meeting seed data *** Loading openproject_pdf_export seed data *** Loading openproject_backlogs seed data *** Loading openproject_themes_dark seed data *** Loading openproject_local_avatars seed data *** Loading openproject_webhooks seed data *** Loading openproject_github_integration seed data
Any help available? Would be great.
Replies (2)
Hi Frank,
I would advise against installing on a snapshot of the current dev branch. While we try to keep it functioning, there will be major shifts in functionality and you’ll often have errors in one or the other form.
Could you instead check out the
stable/6
branch and perform the migrations and asset precompilation steps again?Best,
Oliver
Oliver,
stable/6
worked.Thanks for your assistance.
Frank