Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Duplicate entry '172.18.17.187' for key 'apps.containerIp'

    Support
    app install
    2
    4
    90
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • fbartels
      fbartels App Dev last edited by girish

      Hi, not sure if worth to debug, but I just wanted to install synapse and got the following error message:

      
      Apr 14 21:16:34 box:settings initCache: pre-load settings
      Apr 14 21:16:34 box:taskworker Starting task 10486. Logs are at /home/yellowtent/platformdata/logs/154274b7-e5d0-4d5e-b063-8da2b24958c5/apptask.log
      Apr 14 21:16:34 box:apptask run: startTask installationState: pending_install runState: running
      Apr 14 21:16:34 box:tasks update 10486: {"percent":10,"message":"Cleaning up old install"}
      Apr 14 21:16:34 box:shell reload spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/restartservice.sh nginx
      Apr 14 21:16:35 box:apptask deleteContainer: deleting app containers (app, scheduler)
      Apr 14 21:16:35 box:shell removeCollectdProfile spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/configurecollectd.sh remove 154274b7-e5d0-4d5e-b063-8da2b24958c5
      Apr 14 21:16:35 box:shell removeCollectdProfile (stdout): Restarting collectd
      Apr 14 21:16:35 box:shell removeCollectdProfile (stdout): Removing collectd stats of 154274b7-e5d0-4d5e-b063-8da2b24958c5
      Apr 14 21:16:35 box:shell removeLogrotateConfig spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/configurelogrotate.sh remove 154274b7-e5d0-4d5e-b063-8da2b24958c5
      Apr 14 21:16:35 box:services teardownAddons: Tearing down ["localstorage","ldap","postgresql","sendmail","turn"]
      Apr 14 21:16:35 box:services teardownAddons: Tearing down addon localstorage with options {}
      Apr 14 21:16:35 box:services teardownLocalStorage
      Apr 14 21:16:35 box:services teardownAddons: Tearing down addon ldap with options {}
      Apr 14 21:16:35 box:services Tearing down LDAP
      Apr 14 21:16:35 box:services teardownAddons: Tearing down addon postgresql with options {}
      Apr 14 21:16:35 box:services teardownAddons: Tearing down addon sendmail with options {}
      Apr 14 21:16:35 box:services Tearing down sendmail
      Apr 14 21:16:35 box:services teardownAddons: Tearing down addon turn with options {}
      Apr 14 21:16:35 box:services Tearing down TURN
      Apr 14 21:16:35 box:tasks update 10486: {"percent":20,"message":"Downloading icon"}
      Apr 14 21:16:35 box:apptask downloadIcon: Downloading icon of org.matrix.synapse@1.41.0
      ER_DUP_ENTRY: Duplicate entry '172.18.17.187' for key 'apps.containerIp'
      at updateWithConstraints (/home/yellowtent/box/src/apps.js:917:55)
      at processTicksAndRejections (node:internal/process/task_queues:96:5)
      at async Object.update (/home/yellowtent/box/src/apps.js:926:5)
      at async updateApp (/home/yellowtent/box/src/apptask.js:64:5)
      

      I have not yet tried to "repair" the installation so in case there are things to investigate we could have a look in the next days.

      Cloudron v7.1.4 (Ubuntu 20.04.2 LTS)

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @fbartels last edited by

        @fbartels thanks for reporting, https://git.cloudron.io/cloudron/box/-/commit/8d8cdd38a91d4f7b4be7056e1487d4514370c07a is the fix. You can also just re-install the app.

        fbartels 1 Reply Last reply Reply Quote 1
        • girish
          girish Staff @fbartels last edited by

          @fbartels thanks for reporting, https://git.cloudron.io/cloudron/box/-/commit/8d8cdd38a91d4f7b4be7056e1487d4514370c07a is the fix. You can also just re-install the app.

          fbartels 1 Reply Last reply Reply Quote 1
          • Topic has been marked as a question  girish girish 
          • Topic has been marked as solved  girish girish 
          • fbartels
            fbartels App Dev @girish last edited by

            @girish thanks. With a repair the app installed this time.

            PS: the synapse documentation states that the well known settings are under advanced in the domain settings. But these have seem to be moved to a dedicated item since then.

            girish 1 Reply Last reply Reply Quote 1
            • girish
              girish Staff @fbartels last edited by

              @fbartels said in Duplicate entry '172.18.17.187' for key 'apps.containerIp':

              PS: the synapse documentation states that the well known settings are under advanced in the domain settings

              Fixed!

              1 Reply Last reply Reply Quote 1
              • First post
                Last post
              Powered by NodeBB