Top Menu

Jump to content
Home
    • Projects
    • Work packages
    • 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
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Professional 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?
      Create a new account

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
  • Roadmap
  • Work packages
  • Calendars
  • Team planners
  • Boards
  • Forums
  • Wiki
    • Table of contents
      • Expanded. Click to collapseCollapsed. Click to showDeveloper
        • Hierarchy leafAccessibility Checklist
        • Hierarchy leafCode Review Guidelines
        • Expanded. Click to collapseCollapsed. Click to showContribution
          • Hierarchy leafGit Workflow
          • Hierarchy leafTranslations
        • Expanded. Click to collapseCollapsed. Click to showDeveloping Plugins
          • Hierarchy leafDeveloping an OmniAuth Authentication Plugin
        • Hierarchy leafRelease Process
        • Hierarchy leafReport a bug
        • Hierarchy leafSecurity
        • Hierarchy leafSetting up an OpenLDAP server for testing
        • Hierarchy leafTheme Features
      • Hierarchy leafDownload
      • Expanded. Click to collapseCollapsed. Click to showFeature tour
        • Hierarchy leafRelease Notes OpenProject 30
        • Expanded. Click to collapseCollapsed. Click to showRelease Notes OpenProject 30 - Overview
          • Hierarchy leafGlossary
          • Hierarchy leafRelease Notes - Accessibility
          • Hierarchy leafRelease Notes - Accessibility changes
          • Hierarchy leafRelease Notes - Add work package queries as menu items to sidebar
          • Hierarchy leafRelease Notes - Copy projects based on Templates
          • Hierarchy leafRelease Notes - Design changes
          • Hierarchy leafRelease Notes - Fixed Bugs
          • Hierarchy leafRelease Notes - Keyboard Shortcuts
          • Hierarchy leafRelease Notes - Project settings
          • Hierarchy leafRelease Notes - Ruby&Rails Update
          • Hierarchy leafRelease Notes - Security
          • Hierarchy leafRelease Notes - Timelines
          • Hierarchy leafRelease Notes - Work packages
      • Hierarchy leafHowto create animated gifs
      • Hierarchy leafMigration Squashing
      • Hierarchy leafMod security
      • Hierarchy leafNew work package page
      • Hierarchy leafOP3 to OP4 Debian upgrade
      • Hierarchy leafOP4 Ubuntu1404 Stable with MySQL in production
      • Hierarchy leafOpenProject 40 Development Setup
      • Expanded. Click to collapseCollapsed. Click to showOpenProject Foundation
        • Hierarchy leafBoards
        • Hierarchy leafMembers
        • Hierarchy leafOPF-Meetings
        • Hierarchy leafStatutes
      • Expanded. Click to collapseCollapsed. Click to showRelease Notes
        • Hierarchy leafOpenProject released on Bitnami
      • Expanded. Click to collapseCollapsed. Click to showRelease Notes OpenProject 40 - Overview
        • Hierarchy leafRelease Notes OpenProject 40 - Accessibility improvements
        • Hierarchy leafRelease Notes OpenProject 40 - Column header functions in work package table
        • Hierarchy leafRelease Notes OpenProject 40 - Improved Design
        • Hierarchy leafRelease Notes OpenProject 40 - Integrated query title on work package page
        • Hierarchy leafRelease Notes OpenProject 40 - Integrated toolbar on work package page
        • Hierarchy leafRelease Notes OpenProject 40 - OmniAuth integration for OpenProject
        • Hierarchy leafRelease Notes OpenProject 40 - Work package details pane
      • Expanded. Click to collapseCollapsed. Click to showSecurity and privacy
        • Hierarchy leafFAQ
      • Expanded. Click to collapseCollapsed. Click to showSupport
        • Expanded. Click to collapseCollapsed. Click to showDownload and Installation
          • Hierarchy leafInstallation MacOS
          • Expanded. Click to collapseCollapsed. Click to showInstallation OpenProject 3 0
            • Hierarchy leafDebian Stable with MySQL in production
            • Hierarchy leafInstallation Ubuntu
            • Hierarchy leafInstallation Windows
            • Hierarchy leafInstallation on Centos 65 x64 with Apache and PostgreSQL 93
          • Expanded. Click to collapseCollapsed. Click to showInstallation OpenProject 40
            • Hierarchy leafOP4 Debian Stable with MySQL in production
          • Expanded. Click to collapseCollapsed. Click to showMigration paths
            • Hierarchy leafFrom Chilliproject to OpenProject
            • Hierarchy leafMigration 15 to 30
            • Hierarchy leafMigration 24 to 30
            • Hierarchy leafMigration Redmine 2x › OpenProject 30
            • Hierarchy leafOpenProject 3 Migration
          • Hierarchy leafOpenProject 40
        • Expanded. Click to collapseCollapsed. Click to showNews
          • Hierarchy leafNew OpenProject Translations Plugin
          • Hierarchy leafNew Plugin on OpenProjectorg Local Avatars
          • Hierarchy leafNew design for OpenProject
          • Hierarchy leafNews Accessibility workshop for OpenProject
          • Hierarchy leafNews Glossary for OpenProject
          • Hierarchy leafNews Heartbleed fixed
          • Hierarchy leafNews Icon Fonts
          • Hierarchy leafNews OpenProject 30 Release
          • Hierarchy leafNews Release GitHub Integration Plugin
          • Hierarchy leafNews Success Story Deutsche Telekom
          • Hierarchy leafNews Timelines
          • Hierarchy leafOpenProject 3013 released
          • Hierarchy leafOpenProject 3017 released
          • Hierarchy leafOpenProject 40 released
          • Hierarchy leafOpenProject 40 will be coming soon
          • Hierarchy leafOpenProject 405 released
          • Hierarchy leafOpenProject and pkgrio
          • Hierarchy leafOpenProject news moved to a new blog
          • Hierarchy leafOpenProjectBitnami
          • Hierarchy leafPackager version with plugins released ("Community edition")
          • Hierarchy leafRegistration OpenProject-Foundation
          • Hierarchy leafRelease OpenProject AuthPlugins
          • Hierarchy leafUpdates on OpenProject
          • Hierarchy leafWe need your feedback for the the new fullscreen view for work packages
        • Hierarchy leafOpenProject Plug-Ins
      • Expanded. Click to collapseCollapsed. Click to showWiki
        • Hierarchy leaf2nd Level Support
You are here:
  • Forums
  • General discussion

Content

problem logging into system

Added by ivan mustaka almost 3 years ago

Hello, I'm new in here, found that project and decided to give it a shot, but so far not working

I made fresh install on debian 10 reading the wiki. After all done (with no errors)

I open the web interfeca and login using default user/pass

after login it offers me to change password, when I enter old and new one it display this errors:

This account uses an external authentication source. Impossible to change the password.

1 error prohibited this User from being saved

There were problems with the following fields:

  • Email can't be blank.

Replies (4)

RE: problem logging into system - Added by Oliver Günther almost 3 years ago

Hi Ivan,

you have likely provided an empty string to the admin mail wizard question, which in turn sets the ADMIN_EMAIL ENV variable to an empty string.

This has been fixed in https://github.com/opf/openproject/commit/b07aacdf42 , but here's how you can correct this locally for now:

Assuming you installed the packaged version of OpenProject, run this command as root or openproject user:

`openproject run bundle exec rails runner "User.where(login: 'admin').update_all(mail: 'yourmail@example.com')"

Then try to login again and change your password.

Best

Oliver

RE: problem logging into system - Added by ivan mustaka almost 3 years ago

thank you for quick answer, tried but no success, guess installation is somehow corrupt:

Traceback (most recent call last):
        21: from bin/rails:9:in `<main>'
        20: from bin/rails:9:in `require'
        19: from /opt/openproject/vendor/bundle/ruby/2.6.0/gems/railties-6.0.2.2/lib/rails/commands.rb:18:in `<top (required)>'
        18: from /opt/openproject/vendor/bundle/ruby/2.6.0/gems/railties-6.0.2.2/lib/rails/command.rb:46:in `invoke'
        17: from /opt/openproject/vendor/bundle/ruby/2.6.0/gems/railties-6.0.2.2/lib/rails/command/base.rb:69:in `perform'
        16: from /opt/openproject/vendor/bundle/ruby/2.6.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
        15: from /opt/openproject/vendor/bundle/ruby/2.6.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
        14: from /opt/openproject/vendor/bundle/ruby/2.6.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
        13: from /opt/openproject/vendor/bundle/ruby/2.6.0/gems/railties-6.0.2.2/lib/rails/commands/runner/runner_command.rb:33:in `perform'
        12: from /opt/openproject/vendor/bundle/ruby/2.6.0/gems/railties-6.0.2.2/lib/rails/command/actions.rb:14:in `require_application_and_environment!'
        11: from /opt/openproject/vendor/bundle/ruby/2.6.0/gems/railties-6.0.2.2/lib/rails/command/actions.rb:22:in `require_application!'
        10: from /opt/openproject/vendor/bundle/ruby/2.6.0/gems/railties-6.0.2.2/lib/rails/command/actions.rb:22:in `require'
         9: from /opt/openproject/config/application.rb:82:in `<top (required)>'
         8: from /opt/openproject/config/application.rb:83:in `<module:OpenProject>'
         7: from /opt/openproject/config/application.rb:183:in `<class:Application>'
         6: from /opt/openproject/lib/open_project/configuration.rb:258:in `[]'
         5: from /opt/openproject/lib/open_project/configuration.rb:189:in `load'
         4: from /opt/openproject/lib/open_project/configuration.rb:439:in `load_config_from_file'
         3: from /opt/openproject/vendor/ruby-2.6.6/lib/ruby/2.6.0/psych.rb:277:in `load'
         2: from /opt/openproject/vendor/ruby-2.6.6/lib/ruby/2.6.0/psych.rb:390:in `parse'
         1: from /opt/openproject/vendor/ruby-2.6.6/lib/ruby/2.6.0/psych.rb:456:in `parse_stream'
/opt/openproject/vendor/ruby-2.6.6/lib/ruby/2.6.0/psych.rb:456:in `parse': (<unknown>): did not find expected whitespace or line break while scanning a tag at line 38 column 18 (Psych::SyntaxError)

RE: problem logging into system - Added by ivan mustaka almost 3 years ago

tried to run "openproject reconfigure" , same error

RE: problem logging into system - Added by Oliver Günther almost 3 years ago

It appears to fail trying ot parse your /opt/openproject/config/configuration.yml. Judging from the line 38 column 18, this might be due to your SMTP_PASSWORD somehow breaking the YML spec https://github.com/opf/openproject/blob/dev/packaging/conf/configuration.yml#L38

This is probably because the string is not properly escaped while writing. Without exposing your password, could you let me know if there are any control characters (colon, ampersand and the like) that I could test against?

Best

Oliver

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