Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. [Error 500]

[Error 500]

Added by bad pixel over 4 years ago

Hey all; 

After fresh docker install, using https://github.com/opf/openproject-deploy/tree/stable/11/compose , when i login i have:

"Hostname setting mismatch
Your application is running with its host name setting set to localhost:3000, but the request is a 10.10.150.17 hostname. This will result in errors! Go to System settings and change the "Host name" setting to correct this."

When i go to settings and change it to 10.10.150.17:3000  and save i got error 500:

"[Error 500] An error occurred on the page you were trying to access. If you continue to experience problems please contact your OpenProject administrator for assistance."

Docker logs show me: 

[root@localhost compose]# docker logs --tail 100 compose_web_1
=> Booting Puma
=> Rails 6.0.3.4 application starting in production
=> Run `rails server --help` for more startup options
DEPRECATION: :dalli_store will be removed in Dalli 3.0.
Please use Rails' official :mem_cache_store instead.
https://guides.rubyonrails.org/caching_with_rails.html
/app/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/railtie.rb:139:in `block (3 levels) in <class:Railtie>': Ignoring db/schema_cache.yml because it has expired. The current schema version is 20190220080647, bu
t the one in the cache is 20201125121949. (StructuredWarnings::StandardWarning)
[1] Puma starting in cluster mode...
[1] * Puma version: 5.1.0 (ruby 2.7.1-p83) ("At Your Service")
[1] *  Min threads: 4
[1] *  Max threads: 16
[1] *  Environment: production
[1] *   Master PID: 1
[1] *      Workers: 1
[1] *     Restarts: (✔) hot (✖) phased
[1] * Preloading application
[1] * Listening on http://0.0.0.0:8080
[1] Use Ctrl-C to stop
[1] - Worker 0 (PID: 30) booted, phase: 0
I, [2020-12-18T14:55:29.909966 #30]  INFO -- : Fork detected, re-connecting child process...
I, [2020-12-18T14:55:30.619829 #30]  INFO -- : method=GET path=/ format=html controller=HomescreenController acti
W, [2020-12-18T14:55:30.734559 #30]  WARN -- : Scoped order is ignored, it's forced to be batch order.
W, [2020-12-18T14:55:30.783540 #30]  WARN -- : Scoped order is ignored, it's forced to be batch order.
W, [2020-12-18T14:55:30.837106 #30]  WARN -- : Scoped order is ignored, it's forced to be batch order.
I, [2020-12-18T14:55:30.885914 #30]  INFO -- : method=GET path=/highlighting/styles/b46dafc367331616eaf0c835b62cb
174.35 view=136.62 db=24.44 user=3
I, [2020-12-18T14:55:40.189918 #30]  INFO -- : method=POST path=/login format=html controller=AccountController a
I, [2020-12-18T14:56:24.575821 #30]  INFO -- : User admin changed password successfully.
I, [2020-12-18T14:56:24.967570 #30]  INFO -- : method=POST path=/account/change_password format=html controller=A
0/ user=2
E, [2020-12-18T14:56:25.153957 #30] ERROR -- : [current_user=OpenProject Admin] PG::UndefinedColumn: ERROR:  colu
LINE 1: UPDATE "settings" SET "value" = $1, "updated_on" = $2 WHERE ...
^
: PG::UndefinedColumn: ERROR:  column "updated_on" of relation "settings" does not exist
LINE 1: UPDATE "settings" SET "value" = $1, "updated_on" = $2 WHERE ...
^
I, [2020-12-18T14:56:25.225204 #30]  INFO -- : method=GET path=/ format=html controller=HomescreenController acti
I, [2020-12-18T14:56:27.837443 #30]  INFO -- : method=PATCH path=/user_settings format=html controller=Onboarding
E, [2020-12-18T14:56:28.019087 #30] ERROR -- : [current_user=OpenProject Admin] PG::UndefinedColumn: ERROR:  colu
LINE 1: UPDATE "settings" SET "value" = $1, "updated_on" = $2 WHERE ...
^
: PG::UndefinedColumn: ERROR:  column "updated_on" of relation "settings" does not exist
LINE 1: UPDATE "settings" SET "value" = $1, "updated_on" = $2 WHERE ...
^
I, [2020-12-18T14:56:28.109786 #30]  INFO -- : method=GET path=/ format=html controller=HomescreenController acti
I, [2020-12-18T14:56:33.735834 #30]  INFO -- : method=GET path=/admin format=html controller=AdminController acti
I, [2020-12-18T14:56:36.528606 #30]  INFO -- : method=GET path=/settings/general format=html controller=Settings:
E, [2020-12-18T14:56:52.679972 #30] ERROR -- : [current_user=OpenProject Admin] PG::UndefinedColumn: ERROR:  colu
LINE 1: UPDATE "settings" SET "value" = $1, "updated_on" = $2 WHERE ...
^
: PG::UndefinedColumn: ERROR:  column "updated_on" of relation "settings" does not exist
LINE 1: UPDATE "settings" SET "value" = $1, "updated_on" = $2 WHERE ...
^
I, [2020-12-18T14:56:52.716178 #30]  INFO -- : method=PATCH path=/settings/general format=html controller=Setting
I, [2020-12-18T14:58:08.622687 #30]  INFO -- : method=GET path=/settings/general format=html controller=Settings:
E, [2020-12-18T14:58:25.012683 #30] ERROR -- : [current_user=OpenProject Admin] PG::UndefinedColumn: ERROR:  colu
LINE 1: UPDATE "settings" SET "value" = $1, "updated_on" = $2 WHERE ...
^
: PG::UndefinedColumn: ERROR:  column "updated_on" of relation "settings" does not exist
LINE 1: UPDATE "settings" SET "value" = $1, "updated_on" = $2 WHERE ...
^
I, [2020-12-18T14:58:25.054331 #30]  INFO -- : method=PATCH path=/settings/general format=html controller=Setting
I, [2020-12-18T15:08:07.603437 #30]  INFO -- : method=GET path=/admin format=html controller=AdminController acti
I, [2020-12-18T15:08:09.526422 #30]  INFO -- : method=GET path=/settings/general format=html controller=Settings:
E, [2020-12-18T15:08:31.524447 #30] ERROR -- : [current_user=OpenProject Admin] PG::UndefinedColumn: ERROR:  colu
LINE 1: UPDATE "settings" SET "value" = $1, "updated_on" = $2 WHERE ...
^
: PG::UndefinedColumn: ERROR:  column "updated_on" of relation "settings" does not exist
LINE 1: UPDATE "settings" SET "value" = $1, "updated_on" = $2 WHERE ...
^
I, [2020-12-18T15:08:31.590014 #30]  INFO -- : method=PATCH path=/settings/general format=html controller=Setting

How can i replace to the correct Host name if i have error 500 when click save?


Loading...