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. Unable to change admin password on fresh install: "Last name can't be blank."

Unable to change admin password on fresh install: "Last name can't be blank."

Added by Niek B over 1 year ago

I just installed OpenProject version 13.0.3 on Kubernetes and am running into issues changing the admin password at first login. (as required)

Inspecting the logs of the running pod reveals the same error message:

I, [2023-09-25T04:37:54.428862 #258]  INFO -- : Started POST "/account/change_password" for xxx.xxx.xxx.xxx at 2023-09-25 04:37:54 +0000
I, [2023-09-25T04:37:54.473663 #258]  INFO -- : Processing by AccountController#change_password as HTML
I, [2023-09-25T04:37:54.473811 #258]  INFO -- :   Parameters: {"utf8"=>"✓", "authenticity_token"=>"[auth_token]", "back_url"=>"[endpoint_url]", "password_change_user_id"=>"[FILTERED]", "password"=>"[FILTERED]", "new_password"=>"[FILTERED]", "new_password_confirmation"=>"[FILTERED]", "button"=>""}
I, [2023-09-25T04:37:54.805428 #258]  INFO -- : User admin failed password change: Last name can't be blank..
I, [2023-09-25T04:37:54.959952 #258]  INFO -- :   Rendered my/password.html.erb within layouts/no_menu (Duration: 138.1ms | Allocations: 10287)
I, [2023-09-25T04:37:55.415818 #258]  INFO -- :   Rendered layouts/base.html.erb (Duration: 453.3ms | Allocations: 29639)
I, [2023-09-25T04:37:55.415991 #258]  INFO -- :   Rendered layout layouts/no_menu.html.erb (Duration: 594.2ms | Allocations: 40223)
I, [2023-09-25T04:37:55.416327 #258]  INFO -- : Completed 200 OK in 942ms (Views: 594.4ms | ActiveRecord: 34.0ms | Allocations: 53203)

I'm not sure what other info could be relevant to debug this but I'm happy to provide more if needed.


Replies (2)

RE: Unable to change admin password on fresh install: "Last name can't be blank." - Added by Niek B over 1 year ago

I managed to fix it by editing the row of the admin user in the database manually.

I changed the env var OPENPROJECT_SEED_ADMIN_USER_NAME to Administrator, this was what caused the issue as apparently both a first- and lastname is required for the system to work.

RE: Unable to change admin password on fresh install: "Last name can't be blank." - Added by Carol Baker over 1 year ago

After considerable debugging, it was discovered that the server's firewall was preventing access. Firewall rules to permit the connection using ports 80 and 443 were not created during the installation.
 sudo wget -O /etc/apt/sources.list.d/openproject.list/penalty kick online https://dl.packager.io/srv/opf/openproject/stable/13/installer/ubuntu/22.04.repo

  • (1 - 2/2)
Loading...