ReinerNippes / nextcloud_on_docker

Run Nextcloud in Docker Container on various Linux Hosts
MIT License
203 stars 48 forks source link

Rerun playbook crashes on Onlyoffice install #55

Open moller90 opened 4 years ago

moller90 commented 4 years ago

Due to some DNS mismatch i had to get a new certificate. This was easily fixed by running the playbook again. Although the playbook did not finish, duo to onlyoffice_documentserver already existing, i got my certificate.

I suggest either skipping the onlyoffice_documentserver or redeploy it if it exist.

See Line 4 at: https://github.com/ReinerNippes/nextcloud_on_docker/blob/8baf39bf8a25e6707273bfa1ad6e7a40e7c9afd9/roles/docker_container/tasks/onlyoffice.yml

ReinerNippes commented 4 years ago

Hi, I was not able to reproduce your error. I setup a test system with nc-a.domain.tld and rerun the playbook with nc-b.domain.tld without any problem. The ansible module docker_container should be idempotent and check if a container is already running.

Do you have the exact error message?