I am trying to install galaxy release_22.01 to our local server. The server runs with centos 7, python 3.8, and postgresql 14. The galaxy service can start with run.sh when the default configuration was used. However, I couldn’t get it switch to postgresql database. When the configuration was changed to (database_connection: postgresql://galaxy:firstname.lastname@example.org:5432/), galaxy service (run.sh) didn’t switch to postgresql database but still kept using default sqlite database. In the command line, use “psql -U galaxy -d galaxy -h 127.0.0.1”, the database can be accessed successfully with password. Can anyone help with it?
Hi @wyan999, that is a bug that we have to fix. For now you can fix this by activating galaxy’s virtualenv (
source .venv/bin/activate), and calling
galaxyctl update --force. Your instance is still trying to start from galaxy.yml.sample. After that, restart your Galaxy instance and the changes should apply.
Just to update this for others finding the issue, we’ve merged [22.01] Update supervisor config when starting galaxy via run.sh by mvdbeek · Pull Request #13674 · galaxyproject/galaxy · GitHub. If you update the Galaxy branch to the latest commit of release_22.01 (or newer a newer release in the future) you will not have to do this anymore, it’ll just work automatically.
Thanks a lot for the instruction. Now, I am able to start galaxy service with postgresql.
Now, it seems that galaxy service still doesn’t take the changes applied in galaxy.yml. For example, I setup an admin account (admin_users: useraccount), changed require_login from false to true (require_login: true), and all_user_creation from true to false (allow_user_creation: false), but none of the changes applied after restarting galaxy service (run.sh). Any instructions?
Meanwhile, under “Upload File”, there is no selection for “Choose FTP file” as in the older versions of galaxy. How can we get the function of upload file through ftp shown?
Are putting the admin users’ email address ? This is not supposed to be the user name.