1-click installation on DigitalOcean failing

I set up Gramps Web using the Digital Ocean 1-click setup. That worked well, except that I entered the wrong domain name. Since I didn’t see a way to fix that problem, I deleted my VM and started over.

But now, when I go through the same steps, the installation fails on my VM. I ssh to the VM for the first time, the Gramps Web setup script starts, but fails:

...
*** System restart required ***
Welcome to the Gramps Web DigitalOcean 1-click app setup!

Please enter the domain name you will use for Gramps Web:
xxx.xxxxx.com
Optionally, please enter the e-mail address that will be associated with your Let's Encrypt certificate:
xxx@xxxxx.com
/opt/grampsweb/firstlogin.sh: 10: docker-compose: not found
root@nathan-family-tree:~#

This has happened a couple of times.

It’s very odd that the procedure worked the first time I tried it (on a different VM).

Any ideas?

Perhaps you didn’t wait long enough before logging in? It takes a while for the installation to finish.

That appears to be it. The instructions from Gramps on Digital Ocean say to wait a minute or two, but that doesn’t appear to be the case.

Looks like a bug to me: the startup script shouldn’t start if it isn’t ready to run.

Since it’s documented, I would not call it bug. It would be nice if it were different, but that’s the best I could do. Contributions for improvement are welcome at gramps-web-docs/examples/digitalocean-1click at main · gramps-project/gramps-web-docs · GitHub.

Thank you for your help in getting the installation up and running.

I may actually be interested in contributing to gramps web, but probably not in the area of OS/Docker changes. (I have many years of experience in a variety of languages and database systems, including Postgres.)

1 Like

Someone contributing to the Installation documentation (for Newbie issues) would be as helpful as code. A user’s ability to look at the application as a neophyte has a limited lifespan.

And there is little documentation for non-administrators. What docs do you think your relatives will need when they first visit your website? Improvements helping them surmount barriers on their own frees your time in the future. This could be in new documentation, improving visability to existing docs at the right time, or by eliminating that barrier

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.