Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-13797

FIWARE.Question.Tech.Wirecloud docker container exits just after restarting it.

    Details

      Description

      Created question in FIWARE Q/A platform on 19-02-2018 at 10:02
      Please, ANSWER this question AT https://stackoverflow.com/questions/48863276/wirecloud-docker-container-exits-just-after-restarting-it

      Question:
      Wirecloud docker container exits just after restarting it

      Description:
      After installing wirecloud through this command :

      $ docker run --name some-wirecloud -d -p 80:80 fiware/wirecloud:latest

      Wirecloud is running without any problem. But when I reboot my computer
      and restart the docker container of wirecloud through this command:
      $ docker restart some-wirecloud
      the docker container exits just after restarting:

      $ docker container ps -a

      CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

      61c5dedd1bc7 fiware/wirecloud:latest "/docker-entrypoin..." 3 days ago Exited (0) Less than a second ago some-wirecloud

      When running start command, the docker exits as well. The result of the start commad is below:

      $ docker start -a 61c5dedd1bc7

      Operations to perform:
      Apply all migrations: admin, auth, catalogue, contenttypes, oauth2provider, platform, sessions

      Running migrations:
      No migrations to apply.

      Found another file with the destination path 'theme/wirecloud.fiwarelabdarktheme/css/_variables.scss'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
      Found another file with the destination path 'theme/wirecloud.fiwarelabdarktheme/css/header.scss'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
      Found another file with the destination path 'theme/wirecloud.fiwarelabdarktheme/css/gadget.scss'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
      Found another file with the destination path 'theme/wirecloud.fiwarelabdarktheme/css/wirecloud_core.scss'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
      Found another file with the destination path 'theme/wirecloud.fiwarelabdarktheme/css/_variables.scss'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
      Found another file with the destination path 'theme/wirecloud.fiwarelabdarktheme/images/favicon.ico'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
      Found another file with the destination path 'theme/wirecloud.fiwarelabtheme/css/header.scss'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
      Found another file with the destination path 'theme/wirecloud.fiwarelabtheme/css/gadget.scss'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
      Found another file with the destination path 'theme/wirecloud.fiwarelabtheme/css/wirecloud_core.scss'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
      Found another file with the destination path 'theme/wirecloud.fiwarelabtheme/css/_variables.scss'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
      Found another file with the destination path 'theme/wirecloud.fiwarelabtheme/images/favicon.ico'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
      Found another file with the destination path 'theme/wirecloud.fiwaretheme/css/header.scss'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
      Found another file with the destination path 'theme/wirecloud.fiwaretheme/css/gadget.scss'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
      Found another file with the destination path 'theme/wirecloud.fiwaretheme/css/wirecloud_core.scss'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
      Found another file with the destination path 'theme/wirecloud.fiwaretheme/css/_variables.scss'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.
      Found another file with the destination path 'theme/wirecloud.fiwaretheme/images/logos/header.png'. It will be ignored since only the first encountered file is collected. If this is not what you want, make sure every static file has a unique path.

      0 static files copied to '/opt/wirecloud_instance/static', 1167 unmodified.
      Already up-to-date.
      AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.5. Set the 'ServerName' directive globally to suppress this message
      httpd (pid 24?) not running
      AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.5. Set the 'ServerName' directive globally to suppress this message
      httpd (pid 24) already running

      What is the best way to manage restarting the docker container after rebooting the machine?

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        1d 1 Backlog Manager 20/Feb/18 12:05 PM
        In Progress In Progress Answered Answered
        2h 59m 1 Backlog Manager 20/Feb/18 3:05 PM
        Answered Answered Closed Closed
        34m 55s 1 Miguel Jiménez 20/Feb/18 3:40 PM

          People

          • Assignee:
            mjimenezganan Miguel Jiménez
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: