digitalocean / droplet-1-clicks

Packer build scripts for DigitalOcean Marketplace 1-clicks.
MIT License
117 stars 63 forks source link

Jitsi Marketplace App initial config script fails. #165

Open Peeeet opened 5 months ago

Peeeet commented 5 months ago

I created a new droplet from the Marketplace page and then connected to it via SSH and typed bash /var/complete-jitsi-setup.sh just like the MOTD says and it failed saying:

-------------------------
Updating the system
-------------------------
Hit:1 http://mirrors.digitalocean.com/ubuntu jammy InRelease
Hit:2 https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease                                   
Hit:3 http://mirrors.digitalocean.com/ubuntu jammy-updates InRelease                                            
Hit:4 https://repos.insights.digitalocean.com/apt/do-agent main InRelease                                       
Hit:5 http://mirrors.digitalocean.com/ubuntu jammy-backports InRelease                                          
Hit:6 http://security.ubuntu.com/ubuntu jammy-security InRelease    
Hit:7 https://download.jitsi.org stable/ InRelease
Reading package lists... Done
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 8493 (unattended-upgr)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?

-------------------------
Configuring Jitsi for your domain
-------------------------
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 8493 (unattended-upgr)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
bash: /usr/share/jitsi-meet/scripts/install-letsencrypt-cert.sh: No such file or directory
processing prosody conf file: /etc/prosody/conf.avail/*.cfg.lua
sed: can't read /etc/prosody/conf.avail/*.cfg.lua: No such file or directory
Failed to restart prosody.service: Unit prosody.service not found.
Failed to restart jicofo.service: Unit jicofo.service not found.
Failed to restart jitsi-videobridge2.service: Unit jitsi-videobridge2.service not found.
Peeeet commented 5 months ago

It might just be that you need to preface the command with sudo, so I added a PR with just that: https://github.com/digitalocean/droplet-1-clicks/pull/166