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