Question

Can't generate Solidus configuration files

I have been following instructions on https://guides.solidus.io/developers/getting-started/first-time-installation to install Solidus. Everything has worked but the terminal command hangs when I run bin/rails generate solidus:install. I ran as root user. Could this be a port or a compatibility issue between psych and rails? The start of the error reads:a

/usr/share/rvm/gems/ruby-2.7.2/gems/psych-4.0.4/lib/psych/visitors/to_ruby.rb:430:in `visit_Psych_Nodes_Alias’: Cannot load database configuration: Unknown alias: default (Psych::BadAlias)

I have removed the droplet but will try reinstall.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there,

It sounds like that the database details that were provided during the bin/rails generate solidus:install command were not correct.

What type of database are you using? For example, if you are using Postgres, do you have Postgres installed on your server:

https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-ubuntu-22-04

Best,

Bobby