Question

Gramps Web droplet: docker-compose: not found

When I’m trying to spin up a Gramps Web (GW) droplet, I’ll connect to the droplet over the console to enter the domain I’m going to use. Then the first run shell script is supposed to finalize the spin up process. In approximately 50 % of my attempts I’ll be greeted by the error message “docker-compose: not found” and that’s it. The GW software will not be installed and since I cannot find any documentation describing the manual installation of GW, I’m forced to destroy the droplet completely and to start over again.

Can anybody propose a solution for this problem?


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.

Bobby Iliev
Site Moderator
Site Moderator badge
January 11, 2023
Accepted Answer

Hi there,

What you need to do is to wait about 10 minutes or so before you SSH into the Droplet. The way that the 1-Click image has been set up is to install the latest docker-compose version after the server has been created so it takes a while.

What I would suggest is:

  • Create a new server
  • Give it 10-15 minutes for all packages to be installed
  • SSH to the Droplet and follow the instructions as normal

If you don’t want to re-create your Droplet, you could:

  • SSH to the existing server
  • Then run the setup script again:
/opt/grampsweb/firstlogin.py
  • After that start services using docker-compose:
(cd /opt/grampsweb && docker-compose pull && docker-compose stop && docker-compose up --remove-orphans -d)

If you believe that this is a bug, you could submit an issue on their official GitHub repo:

https://github.com/gramps-project/Gramps.js/issues

Let me know if you have any questions!

Best,

Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel