ucphhpc / migrid-sync

MiGrid workspace where master branch is kept strictly in sync with SF upstream svn repo. Any development or experiments should use a branch. You probably want to fork your own clone or work e.g. on the edge branch if you wish to contribute.
GNU General Public License v2.0
3 stars 4 forks source link

Cannot create new projects #9

Closed ARiis-63 closed 1 year ago

ARiis-63 commented 1 year ago

Doing create new project we do get this error in browser: Create Project Could not create Project scm: [Errno 2] No such file or directory: '/usr/share/doc/mercurial-2.6.2/hgweb.cgi'

Workaround fixing issue by correcting this line in mig/server/MiGserver.conf: [SCM] hg_path = /usr/bin/hg

hgweb_scripts = /usr/share/doc/mercurial-2.6.2

hgweb_scripts = /usr/share/doc/mercurial

mig.log: 2023-03-27 13:13:59,827 ERROR Could not create vgrid public_base directory: [Errno 2] No such file or directory: '/usr/share/doc/mercurial-2.6.2/hgweb.cgi'

{"deploy_version": "v1.3", "MIG_GIT_REV": "00191118109bbd1013600e810cf256d5190c4d23", "MIG_SVN_REV": "5616"}

jonasbardino commented 1 year ago

Thanks for reporting it! It should be simple to fix in the generateconfs command in Dockerfile, is it the Rocky8 build?

ARiis-63 commented 1 year ago

Thanks :) Yes, this is observed in our Rocky8 install.

jonasbardino commented 1 year ago

Alright, should be fixed in latest docker-migrid but it appears Github has issues preventing me to push them right now. https://www.githubstatus.com/

jonasbardino commented 1 year ago

Pushed