DockStarter Install Error -- failed to create symbolic link - docker-compose file exists

  • I followed a video to install OMV5 with Docker and Portainer


    Externer Inhalt youtu.be
    Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.
    Durch die Aktivierung der externen Inhalte erklären Sie sich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt.



    Then I tried installing Dockstarter following a video


    Externer Inhalt youtu.be
    Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.
    Durch die Aktivierung der externen Inhalte erklären Sie sich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt.



    but I got the following error:


    2020-06-25 15:17:46 [INFO ] Removing previous docker-compose image.

    Error: No such image: linuxserver/docker-compose:latest

    2020-06-25 15:17:46 [INFO ] Installing latest docker-compose.

    ln: failed to create symbolic link '/usr/bin/docker-compose': File exists

    2020-06-25 15:17:46 [FATAL ] Failed to create /usr/bin/docker-compose symlink.

    2020-06-25 15:17:46 [ERROR ] DockSTARTer did not finish running successfully.

    2020-06-25 15:17:46 [ERROR ] DockSTARTer did not finish running successfully.


    I do not know how to correct this error. I searched google, reddit, the forum and discord, but have not found a solution.


    Can someone provide more information for how to fix this error?


    Thank you in advance.

    • Offizieller Beitrag

    Why are you installing the docker-compose docker when docker-compose is already installed on the system?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    I guess you will have to remove docker-compose that omv-extras installs. You probably should remove docker with the button in omv-extras since the script you are running installs docker too.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I also have had the same error today, but already had DockStarter successfully installed. This error came up when I selected the upgrade option in the GUI and then selected yes to run docker-compose.


    I've managed to solve it by running

    Code
    sudo unlink /usr/bin/docker-compose

    to remove the old symlink. Then running dockStarter again, in my case

    Code
    ds -c

    But note according to the docs, the `ds` shortcut is only available when:

    Code
    NOTE: ds shortcut is only available after the first run of
           sudo bash main.sh

    So you may have to go back to the original tutorial again to pick up from where you left off.

    Hope that helps :)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!