Hi, we are running ofn-install to deploy the Costa Rica production instance.
ansible-playbook site.yml --limit=cr_prod -e "@./inventory/host_vars/laferia.cr/secrets.yml" -e "git_version=v5.7.2"
We faced an issue multiple, admin user is not created.
In the last attempt, we decide to create the user manually, when I manully ran:
sudo su - openfoodnetwork
openfoodnetwork@cr-prod:~$ cd /home/openfoodnetwork/apps/openfoodnetwork/current
openfoodnetwork@cr-prod:~/apps/openfoodnetwork/current$ RAILS_ENV=production bundle exec rails console
openfoodnetwork(prod)> Spree::User.find_by(id: 1)
=> nil
openfoodnetwork(prod)> Spree::Core::Engine.load_seed
After load_seed, the user was created with correct information from secrets.yaml and it seeded the zone information as well.
Is there known issue with ofn-install?