How to reuse profiles set up on different machines #5181
Unanswered
basnijholt
asked this question in
Q&A
Replies: 1 comment
-
This is because the second machine is accessing a different PostgreSQL database I think - so the profile's database ( In theory, you should be able to launch RabbitMQ and PosgreSQL on the second machine using the same underlying data on the NFS mount, as long as they are off on the first machine (e.g. both machine cannot serve the same services at the same time). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
TL;DR: I would like to be able to use the existing profiles (from
~/.aiida
files) on new machines with a new empty PostgreSQL server running.I am working on a computational cluster with a shared NFS but where the machine I am working on (with RabbitMQ and PostgreSQL) might change from time to time.
On machine 1: I run
verdi quicksetup --profile my_profile
verdi --profile my_profile computer setup -n --config computer_config.yml
verdi --profile my_profile computer configure core.ssh my_computer -n
Then on machine 2, I also have RabbitMQ and PostgreSQL running and have access to the
~/.aiida
config files.Now running:
raises:
django.db.utils.OperationalError: FATAL: database "my_profile_basnijholt_e1ab231934e0944fc863db88ac471ddd" does not exist
Full output
Sofar I figured out that I can get the profile to work with a fresh database:
and
However, I do not think this is a good solution. Does anyone have any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions