July 15, 20169 yr unRAID OS Version: 6.2.0-beta23 Description: When using a ';' (semicolon) in a variable value, docker container fails when starting and causing an "orphaned image". How to reproduce: Try to pass a variable with a semicolon for instance like this: Variable name: GITLAB_OMNIBUS_CONFIG Variable value: external_url 'http://my.domain.com/'; gitlab_rails['lfs_enabled'] = true; Screenshot: Expected results: Should add the variable correctly to the docker run command and start up the docker successfully. When running it manually through ssh it works fine! docker run -d --name="GitLab-CE" --net="bridge" -e TZ="Europe/Paris" -e HOST_OS="unRAID" -p 45300:80/tcp -p 45305:443/tcp -p 45310:22/tcp -v "/mnt/cache/appdata/gitlab-ce/config":"/etc/gitlab":rw -v "/mnt/cache/appdata/gitlab-ce/data":"/var/opt/gitlab":rw -v "/mnt/cache/appdata/gitlab-ce/log":"/var/log/gitlab":rw --env GITLAB_OMNIBUS_CONFIG="external_url 'http://my.domain.com/'; gitlab_rails['lfs_enabled'] = true;" gitlab/gitlab-ce Actual results: Fails startup (with the error shown in next line) and causing an orphaned image. The command failed. sh: /usr/local/emhttp: Is a directory Screenshot: Other information: More discussion can be found here https://lime-technology.com/forum/index.php?topic=40262.msg483812#msg483812
July 15, 20169 yr First of all, you should update to 6.2 rc2. What happends if you add the env variable to the "Repository" tag in the template instead? (Right after the repository).
July 19, 20169 yr Author First of all, you should update to 6.2 rc2. What happends if you add the env variable to the "Repository" tag in the template instead? (Right after the repository). I'm not updating until it hits stable. Perhaps someone else would mind testing this on RC2? I tried both adding it before and after. Same thing happened, see attached screenshots: Before: After:
July 19, 20169 yr First of all, you should update to 6.2 rc2. What happends if you add the env variable to the "Repository" tag in the template instead? (Right after the repository). I'm not updating until it hits stable. Perhaps someone else would mind testing this on RC2? I tried both adding it before and after. Same thing happened, see attached screenshots: Before: After: You are using a beta, but not a rc? Why.. Can you post screenshot of docker config also?
July 19, 20169 yr Personally ( as a php application developer myself ) I would not even try to debug something that is an issue in a outdated BETA. It is a waste of time as the issue could be resolved in the later builds. If your not willing to update to the latest version available to see if the issue persists. If it still does the same in the latest RC, then post the issue.
July 19, 20169 yr Author First of all, you should update to 6.2 rc2. What happends if you add the env variable to the "Repository" tag in the template instead? (Right after the repository). I'm not updating until it hits stable. Perhaps someone else would mind testing this on RC2? I tried both adding it before and after. Same thing happened, see attached screenshots: Before: After: You are using a beta, but not a rc? Why.. Can you post screenshot of docker config also? I saw in the announcement post that there were some issues with some plugins, for instance CA. So i thought i'd wait until the issues were resolved. But now you guys made me push the button Here is a screenshot of the config (which i posted in the initial post aswell):
July 19, 20169 yr I saw in the announcement post that there were some issues with some plugins, for instance CA. News to me Sent from my LG-D852 using Tapatalk
July 19, 20169 yr Author I saw in the announcement post that there were some issues with some plugins, for instance CA. News to me Sent from my LG-D852 using Tapatalk This is the one i was referring to: http://lime-technology.com/forum/index.php?topic=50240.msg482710#msg482710 But now it doesn't matter as I've already done the upgrade. I will reboot my server tomorrow, so I can do one last test to verify whether this bug also persist in RC2.
July 19, 20169 yr I saw in the announcement post that there were some issues with some plugins, for instance CA. News to me Sent from my LG-D852 using Tapatalk This is the one i was referring to: http://lime-technology.com/forum/index.php?topic=50240.msg482710#msg482710 But now it doesn't matter as I've already done the upgrade. I will reboot my server tomorrow, so I can do one last test to verify whether this bug also persist in RC2. The template problem was fixed in rc2 and it's not a CA problem. It's unraid.
Archived
This topic is now archived and is closed to further replies.