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. Openproject has lost PATH

Openproject has lost PATH

Added by Paul Grimes over 1 year ago

I made a stupid mistake trying to undo a bodge I made to fix backups on my CentOS 7 install of 12.5.8.  I accidentally ran

openproject config:set PATH /bin:/opt/openproject/vendor/bundle/bin:/opt/openproject/vendor/bundle/ruby/2.7.0/bin:/opt/openproject/.heroku/node/bin:/opt/openproject/.heroku/yarn/bin:/usr/local/bin:/usr/bin:/usr/sbin:/opt/openproject/bin:/opt/openproject/node_modules/.bin

rather than 

openproject config:set PATH=/bin:/opt/openproject/vendor/bundle/bin:/opt/openproject/vendor/bundle/ruby/2.7.0/bin:/opt/openproject/.heroku/node/bin:/opt/openproject/.heroku/yarn/bin:/usr/local/bin:/usr/bin:/usr/sbin:/opt/openproject/bin:/opt/openproject/node_modules/.bin

Attempting to run the second command now fails with /bin/openproject: line 408: touch: command not found

Is there anyway to get the system back into a working state?

Note that I don't have backups, because I was trying to fix a failing backups issue.  I will attempt a manual pg_dump back up now...


Replies (1)

RE: Openproject has lost PATH - Added by Paul Grimes over 1 year ago

OK, so I've managed to fix this by manually editing the path in /etc/openproject/conf.d/other

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