Open link in a new tab

Content

Expand project menu

Openproject has lost PATH

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...

Message actions

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