[onlyoffice] ? error on compose --debug up on justodooit.myceliandre.fr #10

Open
opened 4 years ago by njeudy · 0 comments
njeudy commented 4 years ago

I don't know when, but sometimes I have this error

 - Building postgres --backup--> rsync-backup                                                                                                      [  OK  ] W
 - Building postgres --schedule-command--> cron                                                                                                    [  OK  ] W
 - Building onlyoffice --web-proxy--> frontend                                                                                                     [  OK  ] W
 - Building onlyoffice --nextcloud-app--> nextcloud                                                                                                [FAILED] W
Error in wrapped command:
 pwd: /var/lib/compose/root/myc-deploy
 code:
  | _run_service_relation "nextcloud-app" "onlyoffice" "nextcloud" "$relation_config"
 output (1):
  ! No relation script nextcloud-app in target nextcloud.
  ! Running nextcloud-app relation-joined script for onlyoffice (charm onlyoffice)
  ! onlyoffice/nextcloud-app (joined) @> Error in wrapped command:
  ! onlyoffice/nextcloud-app (joined) @>  pwd: /srv/charm-store/onlyoffice
  ! onlyoffice/nextcloud-app (joined) @>  code:
  ! onlyoffice/nextcloud-app (joined) @>   | /bin/bash /dev/fd/60 
  ! onlyoffice/nextcloud-app (joined) @>  output (7):
  ! onlyoffice/nextcloud-app (joined) @>   ! Loading var: ARG_COMPOSE_FILE=
  ! onlyoffice/nextcloud-app (joined) @>   ! Loading var: COMPOSE_DOCKER_IMAGE=docker.0k.io/compose
  ! onlyoffice/nextcloud-app (joined) @>   ! Loading var: COMPOSE_LAUNCHER_BIN_OVERRIDE=
  ! onlyoffice/nextcloud-app (joined) @>   ! Loading var: COMPOSE_LAUNCHER_HASH=8fdf6e1c939d8d7387e8be8cf19ebbb2
  ! onlyoffice/nextcloud-app (joined) @>   ! Environment:
  ! onlyoffice/nextcloud-app (joined) @>   !   COMPOSE_DOCKER_IMAGE: docker.0k.io/compose
  ! onlyoffice/nextcloud-app (joined) @>   !   CHARM_STORE: /srv/charm-store
  ! onlyoffice/nextcloud-app (joined) @>   !   DATASTORE: /srv/datastore/data
  ! onlyoffice/nextcloud-app (joined) @>   !   CONFIGSTORE: /srv/datastore/config
  ! onlyoffice/nextcloud-app (joined) @>   !   COMPOSE_VAR: /var/lib/compose
  ! onlyoffice/nextcloud-app (joined) @>   !   COMPOSE_CACHE: /var/cache/compose
  ! onlyoffice/nextcloud-app (joined) @>   !   COMPOSE_LAUNCHER_CACHE: /var/cache/compose
  ! onlyoffice/nextcloud-app (joined) @>   !   SESSION_DIR: /var/lib/compose/sessions
  ! onlyoffice/nextcloud-app (joined) @>   !   TZ_PATH: /var/lib/compose/timezones
  ! onlyoffice/nextcloud-app (joined) @>   ! Launching:
  ! onlyoffice/nextcloud-app (joined) @>   !   docker run --rm \
  ! onlyoffice/nextcloud-app (joined) @>   !       -v /var/run/docker.sock:/var/run/docker.sock \
  ! onlyoffice/nextcloud-app (joined) @>   !       -v /etc/default/datastore:/etc/default/datastore:ro \
  ! onlyoffice/nextcloud-app (joined) @>   !       -v /etc/default/compose:/etc/default/compose:ro \
  ! onlyoffice/nextcloud-app (joined) @>   !       -v /etc/compose/local.conf:/etc/compose/local.conf:ro \
  ! onlyoffice/nextcloud-app (joined) @>   !       -v /var/lib/compose:/var/lib/compose \
  ! onlyoffice/nextcloud-app (joined) @>   !       -v /var/cache/compose:/var/cache/compose \
  ! onlyoffice/nextcloud-app (joined) @>   !       -v /var/lib/compose/timezones/81ccd71a:/etc/timezone:ro \
  ! onlyoffice/nextcloud-app (joined) @>   !       -v /opt/apps/0k-charms:/srv/charm-store:ro \
  ! onlyoffice/nextcloud-app (joined) @>   !       -e CHARM_STORE=/srv/charm-store \
  ! onlyoffice/nextcloud-app (joined) @>   !       -e HOST_CHARM_STORE=/opt/apps/0k-charms \
  ! onlyoffice/nextcloud-app (joined) @>   !       -v /srv/datastore/data:/srv/datastore/data:rw \
  ! onlyoffice/nextcloud-app (joined) @>   !       -e DATASTORE=/srv/datastore/data \
  ! onlyoffice/nextcloud-app (joined) @>   !       -e HOST_DATASTORE=/srv/datastore/data \
  ! onlyoffice/nextcloud-app (joined) @>   !       -v /srv/datastore/config:/srv/datastore/config:rw \
  ! onlyoffice/nextcloud-app (joined) @>   !       -e CONFIGSTORE=/srv/datastore/config \
  ! onlyoffice/nextcloud-app (joined) @>   !       -e HOST_CONFIGSTORE=/srv/datastore/config \
  ! onlyoffice/nextcloud-app (joined) @>   !       -v /root/.docker:/root/.docker:ro \
  ! onlyoffice/nextcloud-app (joined) @>   !       -v /root/.ssh:/root/.ssh:ro \
  ! onlyoffice/nextcloud-app (joined) @>   !       -v /etc/ssh:/etc/ssh:ro \
  ! onlyoffice/nextcloud-app (joined) @>   !       -e COMPOSE_DOCKER_IMAGE=docker.0k.io/compose \
  ! onlyoffice/nextcloud-app (joined) @>   !       -v /opt/apps/0k-compose/bin/compose:/usr/local/bin/compose \
  ! onlyoffice/nextcloud-app (joined) @>   !       -e COMPOSE_YML_FILE=compose.yml \
  ! onlyoffice/nextcloud-app (joined) @>   !       -v /opt/apps/myc-deploy/compose.yml:/var/lib/compose/root/myc-deploy/compose.yml:ro \
  ! onlyoffice/nextcloud-app (joined) @>   !       -w /var/lib/compose/root/myc-deploy \
  ! onlyoffice/nextcloud-app (joined) @>   !       -v /var/lib/compose/sessions/0-8f749aa9ee652f1694be51b36a95ef4a:/var/lib/compose/sessions/0-8f749aa9ee652f1694be51b36a95ef4a:ro \
  ! onlyoffice/nextcloud-app (joined) @>   !       -e COMPOSE_LAUNCHER_OPTS=/var/lib/compose/sessions/0-8f749aa9ee652f1694be51b36a95ef4a \
  ! onlyoffice/nextcloud-app (joined) @>   !       -e COMPOSE_LAUNCHER_BIN=/opt/apps/0k-compose/bin/compose \
  ! onlyoffice/nextcloud-app (joined) @>   !       docker.0k.io/compose \
  ! onlyoffice/nextcloud-app (joined) @>   !          --no-relations --no-init occ nextcloud app:install onlyoffice ; config:system:set onlyoffice DocumentServerInternalUrl --value=http://onlyoffice/ ; config:system:set onlyoffice StorageUrl --value=http://nextcloud/ ; config:app:set onlyoffice jwt_secret --value=SJicwc0IyzeTVZQtLG2Z9Ab2oGWUDeDMujK3A7rbjOiyr57uaFuSWssD4K5OnBcp 
  ! onlyoffice/nextcloud-app (joined) @>   ! Execution:
  ! onlyoffice/nextcloud-app (joined) @>   |  - running pre_deploy hook of frontend in cha..                      [  OK  ] W
  ! onlyoffice/nextcloud-app (joined) @>   !   Services: nextcloud
  ! onlyoffice/nextcloud-app (joined) @>   !   Action run with opts: -v /opt/apps/0k-charms/nextcloud/src/occ.batch:/var/www/html/occ.batch -T --rm -u www-data
  ! onlyoffice/nextcloud-app (joined) @>   !   Remainder args: /var/www/html/occ.batch app:install onlyoffice ; config:system:set onlyoffice DocumentServerInternalUrl --value http://onlyoffice/ ; config:system:set onlyoffice StorageUrl --value http://nextcloud/ ; config:app:set onlyoffice jwt_secret --value SJicwc0IyzeTVZQtLG2Z9Ab2oGWUDeDMujK3A7rbjOiyr57uaFuSWssD4K5OnBcp
  ! onlyoffice/nextcloud-app (joined) @>   ! Found compose YAML file in 'compose.yml'.
  ! onlyoffice/nextcloud-app (joined) @>   ! Ignoring compose nextcloud --web-proxy--> frontend
  ! onlyoffice/nextcloud-app (joined) @>   ! Skipping nextcloud --web-proxy--> *
  ! onlyoffice/nextcloud-app (joined) @>   ! Auto-summon nextcloud --postgres-database--> postgres
  ! onlyoffice/nextcloud-app (joined) @>   ! nextcloud use declaration for relation postgres-database is satisfied with postgres
  ! onlyoffice/nextcloud-app (joined) @>   ! Compiling 'docker-compose.yml' base for nextcloud...
  ! onlyoffice/nextcloud-app (joined) @>   !   nextcloud deps: postgres (in 0s)
  ! onlyoffice/nextcloud-app (joined) @>   !     Applied postgres charm metadata mixins (in 1s)
  ! onlyoffice/nextcloud-app (joined) @>   !     Applied nextcloud charm metadata mixins (in 0s)
  ! onlyoffice/nextcloud-app (joined) @>   !     ..finished all mixins for nextcloud (in 1s)
  ! onlyoffice/nextcloud-app (joined) @>   !   ..compilation of base 'docker-compose.yml' done (in 1s)
  ! onlyoffice/nextcloud-app (joined) @>   ! .env for nextcloud:
  ! onlyoffice/nextcloud-app (joined) @>   !   | DOCKER_COMPOSE_PATH=/var/lib/compose/docker-compose/aa276850bdfaa20a30d81f82d49c282d4f22ac1fe1f0580c1c55f381542d2036/myc
  ! onlyoffice/nextcloud-app (joined) @>   ! docker-compose.yml for nextcloud:
  ! onlyoffice/nextcloud-app (joined) @>   !   | services:
  ! onlyoffice/nextcloud-app (joined) @>   !   |   nextcloud:
  ! onlyoffice/nextcloud-app (joined) @>   !   |     build: /srv/charm-store/nextcloud/build
  ! onlyoffice/nextcloud-app (joined) @>   !   |     labels:
  ! onlyoffice/nextcloud-app (joined) @>   !   |     - compose.service=nextcloud
  ! onlyoffice/nextcloud-app (joined) @>   !   |     - compose.master-service=nextcloud
  ! onlyoffice/nextcloud-app (joined) @>   !   |     - compose.project=myc
  ! onlyoffice/nextcloud-app (joined) @>   !   |     - compose.charm=nextcloud
  ! onlyoffice/nextcloud-app (joined) @>   !   |     links:
  ! onlyoffice/nextcloud-app (joined) @>   !   |     - postgres
  ! onlyoffice/nextcloud-app (joined) @>   !   |     restart: unless-stopped
  ! onlyoffice/nextcloud-app (joined) @>   !   |     volumes:
  ! onlyoffice/nextcloud-app (joined) @>   !   |     - /srv/datastore/data/nextcloud/var/www/html:/var/www/html:rw
  ! onlyoffice/nextcloud-app (joined) @>   !   |     - /srv/datastore/data/nextcloud/var/lib/nextcloud/data:/var/lib/nextcloud/data:rw
  ! onlyoffice/nextcloud-app (joined) @>   !   |     - /srv/datastore/config/nextcloud/var/www/html/config:/var/www/html/config:rw
  ! onlyoffice/nextcloud-app (joined) @>   !   |   postgres:
  ! onlyoffice/nextcloud-app (joined) @>   !   |     build: /srv/charm-store/postgres/build
  ! onlyoffice/nextcloud-app (joined) @>   !   |     labels:
  ! onlyoffice/nextcloud-app (joined) @>   !   |     - compose.service=postgres
  ! onlyoffice/nextcloud-app (joined) @>   !   |     - compose.master-service=postgres
  ! onlyoffice/nextcloud-app (joined) @>   !   |     - compose.project=myc
  ! onlyoffice/nextcloud-app (joined) @>   !   |     - compose.charm=postgres
  ! onlyoffice/nextcloud-app (joined) @>   !   |     restart: unless-stopped
  ! onlyoffice/nextcloud-app (joined) @>   !   |     volumes:
  ! onlyoffice/nextcloud-app (joined) @>   !   |     - /srv/datastore/data/postgres/var/lib/postgresql/data:/var/lib/postgresql/data:rw
  ! onlyoffice/nextcloud-app (joined) @>   !   | version: '2.0'
  ! onlyoffice/nextcloud-app (joined) @>   !   | 
  ! onlyoffice/nextcloud-app (joined) @>   ! Launching: docker-compose run -v /opt/apps/0k-charms/nextcloud/src/occ.batch:/var/www/html/occ.batch -T --rm -u www-data nextcloud /var/www/html/occ.batch app:install onlyoffice ; config:system:set onlyoffice DocumentServerInternalUrl --value http://onlyoffice/ ; config:system:set onlyoffice StorageUrl --value http://nextcloud/ ; config:app:set onlyoffice jwt_secret --value SJicwc0IyzeTVZQtLG2Z9Ab2oGWUDeDMujK3A7rbjOiyr57uaFuSWssD4K5OnBcp
  ! onlyoffice/nextcloud-app (joined) @>   ! Found orphan containers (myc_video.myceliandre.fr_1, myc_frontend_1, myc_rocketchat_1, myc_onlyoffice_1, myc_pandore.myceliandre.fr_1, myc_odoo_myceliandre_1, myc_odoo_saas11_1, myc_cron_1, myc_mongo_1, myc_odoo_coopeticio_1, myc_git.myceliandre.fr_1, myc_drone-agent-myceliandre_1, myc_drone.myceliandre.fr_1, myc_odoo_pandachi_1, myc_codimd_1, myc_redis_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Starting myc_postgres_1 ... done
running: occ  app:install onlyoffice) @>   ! 
  ! onlyoffice/nextcloud-app (joined) @>   | onlyoffice already installed
  ! onlyoffice/nextcloud-app (joined) @>   ! running: occ  config:system:set onlyoffice DocumentServerInternalUrl --value http://onlyoffice/
  ! onlyoffice/nextcloud-app (joined) @>   | System config value onlyoffice => DocumentServerInternalUrl set to string http://onlyoffice/
  ! onlyoffice/nextcloud-app (joined) @>   ! running: occ  config:system:set onlyoffice StorageUrl --value http://nextcloud/
  ! onlyoffice/nextcloud-app (joined) @>   | System config value onlyoffice => StorageUrl set to string http://nextcloud/
  ! onlyoffice/nextcloud-app (joined) @>   | Config value jwt_secret for app onlyoffice set to SJicwc0IyzeTVZQtLG2Z9Ab2oGWUDeDMujK3A7rbjOiyr57uaFuSWssD4K5OnBcp
  ! onlyoffice/nextcloud-app (joined) @>   ! Cleaning unused docker-compose aa276850bdfaa20a30d81f82d49c282d4f22ac1fe1f0580c1c55f381542d2036
  ! onlyoffice/nextcloud-app (joined) @>   | ds:docservice: stopped
  ! onlyoffice/nextcloud-app (joined) @>   | ds:converter: stoppedonlyoffice/nextcloud-app (joined) @> Error: onlyoffice script '/srv/charm-store/onlyoffice/hooks/nextcloud_app-relation-joined' failed with errorlevel '7'.
  ! 
  ! onlyoffice/nextcloud-app (joined) @>   | ds:spellchecker: stopped
  ! onlyoffice/nextcloud-app (joined) @>   | ds:metrics: stopped
  ! onlyoffice/nextcloud-app (joined) @>   | ds:metrics: started
  ! onlyoffice/nextcloud-app (joined) @>   | ds:example: started
  ! onlyoffice/nextcloud-app (joined) @>   | ds:docservice: ERROR (spawn error)
  ! onlyoffice/nextcloud-app (joined) @>   | ds:converter: ERROR (spawn error)
  ! onlyoffice/nextcloud-app (joined) @>   | ds:spellchecker: ERROR (spawn error)
  ! Error: Relation nextcloud-app on onlyoffice failed to run properly.

I don't know when, but sometimes I have this error ``` - Building postgres --backup--> rsync-backup [ OK ] W - Building postgres --schedule-command--> cron [ OK ] W - Building onlyoffice --web-proxy--> frontend [ OK ] W - Building onlyoffice --nextcloud-app--> nextcloud [FAILED] W Error in wrapped command: pwd: /var/lib/compose/root/myc-deploy code: | _run_service_relation "nextcloud-app" "onlyoffice" "nextcloud" "$relation_config" output (1): ! No relation script nextcloud-app in target nextcloud. ! Running nextcloud-app relation-joined script for onlyoffice (charm onlyoffice) ! onlyoffice/nextcloud-app (joined) @> Error in wrapped command: ! onlyoffice/nextcloud-app (joined) @> pwd: /srv/charm-store/onlyoffice ! onlyoffice/nextcloud-app (joined) @> code: ! onlyoffice/nextcloud-app (joined) @> | /bin/bash /dev/fd/60 ! onlyoffice/nextcloud-app (joined) @> output (7): ! onlyoffice/nextcloud-app (joined) @> ! Loading var: ARG_COMPOSE_FILE= ! onlyoffice/nextcloud-app (joined) @> ! Loading var: COMPOSE_DOCKER_IMAGE=docker.0k.io/compose ! onlyoffice/nextcloud-app (joined) @> ! Loading var: COMPOSE_LAUNCHER_BIN_OVERRIDE= ! onlyoffice/nextcloud-app (joined) @> ! Loading var: COMPOSE_LAUNCHER_HASH=8fdf6e1c939d8d7387e8be8cf19ebbb2 ! onlyoffice/nextcloud-app (joined) @> ! Environment: ! onlyoffice/nextcloud-app (joined) @> ! COMPOSE_DOCKER_IMAGE: docker.0k.io/compose ! onlyoffice/nextcloud-app (joined) @> ! CHARM_STORE: /srv/charm-store ! onlyoffice/nextcloud-app (joined) @> ! DATASTORE: /srv/datastore/data ! onlyoffice/nextcloud-app (joined) @> ! CONFIGSTORE: /srv/datastore/config ! onlyoffice/nextcloud-app (joined) @> ! COMPOSE_VAR: /var/lib/compose ! onlyoffice/nextcloud-app (joined) @> ! COMPOSE_CACHE: /var/cache/compose ! onlyoffice/nextcloud-app (joined) @> ! COMPOSE_LAUNCHER_CACHE: /var/cache/compose ! onlyoffice/nextcloud-app (joined) @> ! SESSION_DIR: /var/lib/compose/sessions ! onlyoffice/nextcloud-app (joined) @> ! TZ_PATH: /var/lib/compose/timezones ! onlyoffice/nextcloud-app (joined) @> ! Launching: ! onlyoffice/nextcloud-app (joined) @> ! docker run --rm \ ! onlyoffice/nextcloud-app (joined) @> ! -v /var/run/docker.sock:/var/run/docker.sock \ ! onlyoffice/nextcloud-app (joined) @> ! -v /etc/default/datastore:/etc/default/datastore:ro \ ! onlyoffice/nextcloud-app (joined) @> ! -v /etc/default/compose:/etc/default/compose:ro \ ! onlyoffice/nextcloud-app (joined) @> ! -v /etc/compose/local.conf:/etc/compose/local.conf:ro \ ! onlyoffice/nextcloud-app (joined) @> ! -v /var/lib/compose:/var/lib/compose \ ! onlyoffice/nextcloud-app (joined) @> ! -v /var/cache/compose:/var/cache/compose \ ! onlyoffice/nextcloud-app (joined) @> ! -v /var/lib/compose/timezones/81ccd71a:/etc/timezone:ro \ ! onlyoffice/nextcloud-app (joined) @> ! -v /opt/apps/0k-charms:/srv/charm-store:ro \ ! onlyoffice/nextcloud-app (joined) @> ! -e CHARM_STORE=/srv/charm-store \ ! onlyoffice/nextcloud-app (joined) @> ! -e HOST_CHARM_STORE=/opt/apps/0k-charms \ ! onlyoffice/nextcloud-app (joined) @> ! -v /srv/datastore/data:/srv/datastore/data:rw \ ! onlyoffice/nextcloud-app (joined) @> ! -e DATASTORE=/srv/datastore/data \ ! onlyoffice/nextcloud-app (joined) @> ! -e HOST_DATASTORE=/srv/datastore/data \ ! onlyoffice/nextcloud-app (joined) @> ! -v /srv/datastore/config:/srv/datastore/config:rw \ ! onlyoffice/nextcloud-app (joined) @> ! -e CONFIGSTORE=/srv/datastore/config \ ! onlyoffice/nextcloud-app (joined) @> ! -e HOST_CONFIGSTORE=/srv/datastore/config \ ! onlyoffice/nextcloud-app (joined) @> ! -v /root/.docker:/root/.docker:ro \ ! onlyoffice/nextcloud-app (joined) @> ! -v /root/.ssh:/root/.ssh:ro \ ! onlyoffice/nextcloud-app (joined) @> ! -v /etc/ssh:/etc/ssh:ro \ ! onlyoffice/nextcloud-app (joined) @> ! -e COMPOSE_DOCKER_IMAGE=docker.0k.io/compose \ ! onlyoffice/nextcloud-app (joined) @> ! -v /opt/apps/0k-compose/bin/compose:/usr/local/bin/compose \ ! onlyoffice/nextcloud-app (joined) @> ! -e COMPOSE_YML_FILE=compose.yml \ ! onlyoffice/nextcloud-app (joined) @> ! -v /opt/apps/myc-deploy/compose.yml:/var/lib/compose/root/myc-deploy/compose.yml:ro \ ! onlyoffice/nextcloud-app (joined) @> ! -w /var/lib/compose/root/myc-deploy \ ! onlyoffice/nextcloud-app (joined) @> ! -v /var/lib/compose/sessions/0-8f749aa9ee652f1694be51b36a95ef4a:/var/lib/compose/sessions/0-8f749aa9ee652f1694be51b36a95ef4a:ro \ ! onlyoffice/nextcloud-app (joined) @> ! -e COMPOSE_LAUNCHER_OPTS=/var/lib/compose/sessions/0-8f749aa9ee652f1694be51b36a95ef4a \ ! onlyoffice/nextcloud-app (joined) @> ! -e COMPOSE_LAUNCHER_BIN=/opt/apps/0k-compose/bin/compose \ ! onlyoffice/nextcloud-app (joined) @> ! docker.0k.io/compose \ ! onlyoffice/nextcloud-app (joined) @> ! --no-relations --no-init occ nextcloud app:install onlyoffice ; config:system:set onlyoffice DocumentServerInternalUrl --value=http://onlyoffice/ ; config:system:set onlyoffice StorageUrl --value=http://nextcloud/ ; config:app:set onlyoffice jwt_secret --value=SJicwc0IyzeTVZQtLG2Z9Ab2oGWUDeDMujK3A7rbjOiyr57uaFuSWssD4K5OnBcp ! onlyoffice/nextcloud-app (joined) @> ! Execution: ! onlyoffice/nextcloud-app (joined) @> | - running pre_deploy hook of frontend in cha.. [ OK ] W ! onlyoffice/nextcloud-app (joined) @> ! Services: nextcloud ! onlyoffice/nextcloud-app (joined) @> ! Action run with opts: -v /opt/apps/0k-charms/nextcloud/src/occ.batch:/var/www/html/occ.batch -T --rm -u www-data ! onlyoffice/nextcloud-app (joined) @> ! Remainder args: /var/www/html/occ.batch app:install onlyoffice ; config:system:set onlyoffice DocumentServerInternalUrl --value http://onlyoffice/ ; config:system:set onlyoffice StorageUrl --value http://nextcloud/ ; config:app:set onlyoffice jwt_secret --value SJicwc0IyzeTVZQtLG2Z9Ab2oGWUDeDMujK3A7rbjOiyr57uaFuSWssD4K5OnBcp ! onlyoffice/nextcloud-app (joined) @> ! Found compose YAML file in 'compose.yml'. ! onlyoffice/nextcloud-app (joined) @> ! Ignoring compose nextcloud --web-proxy--> frontend ! onlyoffice/nextcloud-app (joined) @> ! Skipping nextcloud --web-proxy--> * ! onlyoffice/nextcloud-app (joined) @> ! Auto-summon nextcloud --postgres-database--> postgres ! onlyoffice/nextcloud-app (joined) @> ! nextcloud use declaration for relation postgres-database is satisfied with postgres ! onlyoffice/nextcloud-app (joined) @> ! Compiling 'docker-compose.yml' base for nextcloud... ! onlyoffice/nextcloud-app (joined) @> ! nextcloud deps: postgres (in 0s) ! onlyoffice/nextcloud-app (joined) @> ! Applied postgres charm metadata mixins (in 1s) ! onlyoffice/nextcloud-app (joined) @> ! Applied nextcloud charm metadata mixins (in 0s) ! onlyoffice/nextcloud-app (joined) @> ! ..finished all mixins for nextcloud (in 1s) ! onlyoffice/nextcloud-app (joined) @> ! ..compilation of base 'docker-compose.yml' done (in 1s) ! onlyoffice/nextcloud-app (joined) @> ! .env for nextcloud: ! onlyoffice/nextcloud-app (joined) @> ! | DOCKER_COMPOSE_PATH=/var/lib/compose/docker-compose/aa276850bdfaa20a30d81f82d49c282d4f22ac1fe1f0580c1c55f381542d2036/myc ! onlyoffice/nextcloud-app (joined) @> ! docker-compose.yml for nextcloud: ! onlyoffice/nextcloud-app (joined) @> ! | services: ! onlyoffice/nextcloud-app (joined) @> ! | nextcloud: ! onlyoffice/nextcloud-app (joined) @> ! | build: /srv/charm-store/nextcloud/build ! onlyoffice/nextcloud-app (joined) @> ! | labels: ! onlyoffice/nextcloud-app (joined) @> ! | - compose.service=nextcloud ! onlyoffice/nextcloud-app (joined) @> ! | - compose.master-service=nextcloud ! onlyoffice/nextcloud-app (joined) @> ! | - compose.project=myc ! onlyoffice/nextcloud-app (joined) @> ! | - compose.charm=nextcloud ! onlyoffice/nextcloud-app (joined) @> ! | links: ! onlyoffice/nextcloud-app (joined) @> ! | - postgres ! onlyoffice/nextcloud-app (joined) @> ! | restart: unless-stopped ! onlyoffice/nextcloud-app (joined) @> ! | volumes: ! onlyoffice/nextcloud-app (joined) @> ! | - /srv/datastore/data/nextcloud/var/www/html:/var/www/html:rw ! onlyoffice/nextcloud-app (joined) @> ! | - /srv/datastore/data/nextcloud/var/lib/nextcloud/data:/var/lib/nextcloud/data:rw ! onlyoffice/nextcloud-app (joined) @> ! | - /srv/datastore/config/nextcloud/var/www/html/config:/var/www/html/config:rw ! onlyoffice/nextcloud-app (joined) @> ! | postgres: ! onlyoffice/nextcloud-app (joined) @> ! | build: /srv/charm-store/postgres/build ! onlyoffice/nextcloud-app (joined) @> ! | labels: ! onlyoffice/nextcloud-app (joined) @> ! | - compose.service=postgres ! onlyoffice/nextcloud-app (joined) @> ! | - compose.master-service=postgres ! onlyoffice/nextcloud-app (joined) @> ! | - compose.project=myc ! onlyoffice/nextcloud-app (joined) @> ! | - compose.charm=postgres ! onlyoffice/nextcloud-app (joined) @> ! | restart: unless-stopped ! onlyoffice/nextcloud-app (joined) @> ! | volumes: ! onlyoffice/nextcloud-app (joined) @> ! | - /srv/datastore/data/postgres/var/lib/postgresql/data:/var/lib/postgresql/data:rw ! onlyoffice/nextcloud-app (joined) @> ! | version: '2.0' ! onlyoffice/nextcloud-app (joined) @> ! | ! onlyoffice/nextcloud-app (joined) @> ! Launching: docker-compose run -v /opt/apps/0k-charms/nextcloud/src/occ.batch:/var/www/html/occ.batch -T --rm -u www-data nextcloud /var/www/html/occ.batch app:install onlyoffice ; config:system:set onlyoffice DocumentServerInternalUrl --value http://onlyoffice/ ; config:system:set onlyoffice StorageUrl --value http://nextcloud/ ; config:app:set onlyoffice jwt_secret --value SJicwc0IyzeTVZQtLG2Z9Ab2oGWUDeDMujK3A7rbjOiyr57uaFuSWssD4K5OnBcp ! onlyoffice/nextcloud-app (joined) @> ! Found orphan containers (myc_video.myceliandre.fr_1, myc_frontend_1, myc_rocketchat_1, myc_onlyoffice_1, myc_pandore.myceliandre.fr_1, myc_odoo_myceliandre_1, myc_odoo_saas11_1, myc_cron_1, myc_mongo_1, myc_odoo_coopeticio_1, myc_git.myceliandre.fr_1, myc_drone-agent-myceliandre_1, myc_drone.myceliandre.fr_1, myc_odoo_pandachi_1, myc_codimd_1, myc_redis_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up. Starting myc_postgres_1 ... done running: occ app:install onlyoffice) @> ! ! onlyoffice/nextcloud-app (joined) @> | onlyoffice already installed ! onlyoffice/nextcloud-app (joined) @> ! running: occ config:system:set onlyoffice DocumentServerInternalUrl --value http://onlyoffice/ ! onlyoffice/nextcloud-app (joined) @> | System config value onlyoffice => DocumentServerInternalUrl set to string http://onlyoffice/ ! onlyoffice/nextcloud-app (joined) @> ! running: occ config:system:set onlyoffice StorageUrl --value http://nextcloud/ ! onlyoffice/nextcloud-app (joined) @> | System config value onlyoffice => StorageUrl set to string http://nextcloud/ ! onlyoffice/nextcloud-app (joined) @> | Config value jwt_secret for app onlyoffice set to SJicwc0IyzeTVZQtLG2Z9Ab2oGWUDeDMujK3A7rbjOiyr57uaFuSWssD4K5OnBcp ! onlyoffice/nextcloud-app (joined) @> ! Cleaning unused docker-compose aa276850bdfaa20a30d81f82d49c282d4f22ac1fe1f0580c1c55f381542d2036 ! onlyoffice/nextcloud-app (joined) @> | ds:docservice: stopped ! onlyoffice/nextcloud-app (joined) @> | ds:converter: stoppedonlyoffice/nextcloud-app (joined) @> Error: onlyoffice script '/srv/charm-store/onlyoffice/hooks/nextcloud_app-relation-joined' failed with errorlevel '7'. ! ! onlyoffice/nextcloud-app (joined) @> | ds:spellchecker: stopped ! onlyoffice/nextcloud-app (joined) @> | ds:metrics: stopped ! onlyoffice/nextcloud-app (joined) @> | ds:metrics: started ! onlyoffice/nextcloud-app (joined) @> | ds:example: started ! onlyoffice/nextcloud-app (joined) @> | ds:docservice: ERROR (spawn error) ! onlyoffice/nextcloud-app (joined) @> | ds:converter: ERROR (spawn error) ! onlyoffice/nextcloud-app (joined) @> | ds:spellchecker: ERROR (spawn error) ! Error: Relation nextcloud-app on onlyoffice failed to run properly. ```
vlab was assigned by njeudy 4 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.