Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Docker Manager - ';' (semicolon) character in variable throws error

Featured Replies

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:

index.php?action=dlattach;topic=40262.0;attach=35476;image

 

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:

index.php?action=dlattach;topic=40262.0;attach=35478;image

 

Other information: More discussion can be found here https://lime-technology.com/forum/index.php?topic=40262.msg483812#msg483812

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).

 

  • 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:

index.php?action=dlattach;topic=50385.0;attach=35556;image

 

After:

index.php?action=dlattach;topic=50385.0;attach=35558;image

unraid.jpg.881bbf49f696e473bff8af02cf6f6571.jpg

unraid2.jpg.f253fd6bc3202cf8dc0ea2a6f61d6920.jpg

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:

index.php?action=dlattach;topic=50385.0;attach=35556;image

 

After:

index.php?action=dlattach;topic=50385.0;attach=35558;image

You are using a beta, but not a rc? Why..

 

Can you post screenshot of docker config also?

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.

  • 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:

index.php?action=dlattach;topic=50385.0;attach=35556;image

 

After:

index.php?action=dlattach;topic=50385.0;attach=35558;image

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  :D

 

Here is a screenshot of the config (which i posted in the initial post aswell):

index.php?action=dlattach;topic=50385.0;attach=35560;image

unraid.jpg.f1d5e9cee0ad164b2f1cf311ead2d027.jpg

 

 

 

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

 

 

  • 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.

 

 

 

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.

  • 2 weeks later...
  • 1 month later...

This issue was fixed in 6.2-rc4

  • Author

Works perfectly if you need a preconfigured Gitlab container.

 

Thanks  :D!

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.