• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Forwarded to devs Docker Plugin - When updating environment variables, not able to have an "=" in the variable

Brandon Turpin

Basic Pleskian
TITLE:
Docker Plugin - When updating environment variables, not able to have an "=" in the variable
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Plesk Onyx on Ubuntu 18.0.4
PROBLEM DESCRIPTION:
I have a few docker container that are running asp.net core services. A few of the services connect to a database. I need to be able to manage the database in an environment variable. Currently I have to SSH into the container and manually update the appsettings.json file that holds the connection strings.

In the connection strings, there are "=" signs for the name of the database and the user. But when I try and save the environment variable, I get the error:

The value of an environment variable cannot contain the '=' (equal) sign.

This seems like a bug since I absolutely need those in the environment variable. I can add it when I start the container up in SSH, but then I can not update any of the environment variables since it will still have the bad one in its list.​
STEPS TO REPRODUCE:
Go to settings for a docker container, add an Environment Variable and make sure there is an "=" in the value... Save!​
ACTUAL RESULT:
Receive error: "The value of an environment variable cannot contain the '=' (equal) sign."​
EXPECTED RESULT:
A successful save of the environment variables​
ANY ADDITIONAL INFORMATION:
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug
 
Thank you. This bug was reproduced and submitted as EXTDOCKER-44
 
Fixed as EXTDOCKER-84!

1.4.3 (1 November 2019)
[...]
[-] Entering the equals sign (=) as a part of an environment variable in the Docker extension no longer results in an error. (EXTDOCKER-84)
 
Back
Top