-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot create/modify/save ENV variables on Synology environment. #2423
Comments
@chreggy have you been able to test this on another environment to confirm that this is only problematic on Synology? Synology Docker GUI works ok? |
It's working on my Debian VM and Synology GUI. |
@chreggy what error are you seeing? Something in the UI? Can you inspect the container creation HTTP request via your browser dev tools? |
Hello, there is no error on deployment. Where can I see the real HTTP request ? |
@chreggy in your browser you should be able to open the "developer tools" (F12 on Chrome for example), then simply refresh the view and inspect the requests in the network panel of the developer tools. |
I can confirm having the same issue on my Synology NAS. No error message at all but adding ENV variables just get ignored when deploying/editing a container. |
Same problem here with Portainer 1.20.1 |
1.20.2 218+ same problem |
Same issue as above, 1.20.2, Synology 218+ , unable to make changes to ENV variables Everything else works (creating containers etc) |
It might be related to the way docker is installed there. I am experiencing an issue that Synology's docker ignores environment from swarm services commands:
However while running this one, no environment is set on Synology NAS node, but works on other nodes.
Docker on Synology NAS seems to be pretty outdated
and IMO can be the root cause of the issue |
Same issue. Changes gets reverted when editing a container.
|
Any of you guys found a solution to this issue ? |
Docker for Synology package has just been updated to 18.09.6 version, I have yet to see if that improves the ENV variables handling in Portainer. Update after testing : no improvement spotted |
For me it didn’t
On Fri, 30 Aug 2019 at 0:49 KamistixX ***@***.***> wrote:
Docker for Synology package has just been updated to 18.09.6 version, I
have yet to see if that improves the ENV variables handling in Portainer.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2423?email_source=notifications&email_token=AHJP7PVY72PN477ZG4B2IITQHA75FA5CNFSM4GAPBQ72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5P5UOI#issuecomment-526375481>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHJP7PU4ESTLBQ4PD2KTVE3QHA75FANCNFSM4GAPBQ7Q>
.
--
<https://lightricks.com/>
<https://www.facebook.com/Lightricks/> <https://twitter.com/Lightricks>
<https://www.instagram.com/lightricks/>
<https://www.youtube.com/channel/UCKWhLS9QMr1oNthZL1fZB4A>
<https://www.linkedin.com/company/lightricks/>
Ohad Benita
Senior Backend Developer ▪︎ Lightricks
+972-50-8246047 ohad@lightricks.com
https://lightricks.com
|
No changes for me at least. Same problem. |
For me also no change. And watchtower is not able to re-set ENV anymore with this new version. Kind of known issue for this version: https://community.synology.com/enu/forum/15/post/128146 |
This has been an issue for me for some time now, I'm glad there's a ticket open for it. When I use Portainer to recreate the container, and I update an environment variable, the resulting container has the previous environment variable set, not the new value I had just set. |
new here, is the advised interim solution(in the synology forum post linked above) 'to use the synology docker UI to set the env var' practical? It would seem not given how a new container is made for each operation? |
There’s a new docker release for Synology that solves the problem
On Thu, 10 Oct 2019 at 0:05 scyto ***@***.***> wrote:
new here, is the advised interim solution 'to use the synology docker UI
to set the env var' practical? It would seem not given how a new container
is made for each operation?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2423?email_source=notifications&email_token=AHJP7PSSXLDH5HQEB7ONU6LQNZISBA5CNFSM4GAPBQ72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAZSLGQ#issuecomment-540222874>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHJP7PSULBYOG6OJU4JBFVLQNZISBANCNFSM4GAPBQ7Q>
.
--
<https://lightricks.com/>
<https://www.facebook.com/Lightricks/> <https://twitter.com/Lightricks>
<https://www.instagram.com/lightricks/>
<https://www.youtube.com/channel/UCKWhLS9QMr1oNthZL1fZB4A>
<https://www.linkedin.com/company/lightricks/>
Ohad Benita
Senior Backend Developer ▪︎ Lightricks
+972-50-8246047 ohad@lightricks.com
https://lightricks.com
|
That is not true. With the latest stable Docker release by Synology (18.09.0-0506) the issue still exists. Do you refer another version? On 29th Aug you commented by yourself that it does't work with this version... |
Dear Customer,
Thank you for contacting Synology support.
I checked for some global server, there are some issue with Package Center
release.
Please find the following pkg download link and manual update in Package
Center if there isn't update information.
https://global.download.synology.com/download/Package/spk/Docker
/18.09.0-0506/Docker
-x64-18.09.0-0506.spk?model=DS918%2B&bays=4&dsm_version=6.2.2&build_number=24922
Sorry for any inconvenience caused.
On Thu, 10 Oct 2019 at 15:15 r2ixuz ***@***.***> wrote:
There’s a new docker release for Synology that solves the problem
That is not true. With the latest stable Docker release by Synology
(18.09.0-0506) the issue still exists. Do you refer another version? On
29th Aug you commented by yourself that it does't work with this version...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2423?email_source=notifications&email_token=AHJP7PVC66RUJOMH6WN3R2LQN4THFA5CNFSM4GAPBQ72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA4IBEA#issuecomment-540573840>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHJP7PUYPGPKXO3UIQS4FTLQN4THFANCNFSM4GAPBQ7Q>
.
--
<https://lightricks.com/>
<https://www.facebook.com/Lightricks/> <https://twitter.com/Lightricks>
<https://www.instagram.com/lightricks/>
<https://www.youtube.com/channel/UCKWhLS9QMr1oNthZL1fZB4A>
<https://www.linkedin.com/company/lightricks/>
Ohad Benita
Senior Backend Developer ▪︎ Lightricks
+972-50-8246047 ohad@lightricks.com
https://lightricks.com
|
If that's the case, then there's no need to even use Portainer on a Synology NAS as you can also edit the environment variables within the Docker app UI. However if @elisimpson is using Portainer for the same reason as me (that it is much better and convenient than the native Docker app within Synology, and less buggy), then a fix to this issue would be much appreciated. |
My point is that for the time being there is a work around that does not involve deleting a container AND recreate from the command line, which sounds like more hassle than simply using the UI. No? |
Oh don't get me wrong, I understand you're helping here. It's more that the fix suggested doesn't actually involve using Portainer, which means that whilst I'm sure it will work, it is not related to the issue. It's like saying you will no longer be scared of flying if you walk everywhere... FWIW, I've started using Docker Compose a whole lot more now - then I just tweak one file then run |
There are many settings you cannot modify in the Synology GUI without breaking the container. Most of my containers use at least one of these settings, so the Synology Docker GUI is mostly useless for modifying those containers (it can start and stop them with no problems, but any changes will break those settings that Synology doesn't support) |
I just wrote an article on how to run the latest Docker daemon as a Docker container (DinD) on Synology DSM 6.x , and having that Docker daemon configured as the default Docker daemon on the system. |
For me, it looks like that just the changes made in the formular aren't sent/updated to portainer. (lack of SAVE button to be sure!) |
Same here.. my workaround is to compose with Custom App Template/Stack and then if I change the compose and redeploy from the stack screen the changes stick. Unfortunately these components seem to be invisible to the synology manager even when they are running. |
Issue is still present! even after the latest docker version on synology. |
Yeah this is really annoying!! Don't know why I should still use portainer. |
Looks like Synology rolled back their last Docker update... maybe because it didn't fix this issue? |
Hi, here with DSM7, Portainer 2.6.2 and Docker 20.10.3-1233 (official from the Synology Package Center), I still have this issue : no way to modify an ENV value and recreate the container. It's always get back to the old value. |
Same here, having this issue also and surprised this has not been addressed after such a long time |
i have the same issue here ENV vars edit will be ignored and get back to the settings before the edit. How to solve this? Docker version 20.10.3, build b35e731 |
I'm merely trying to launch a Next.JS app with proper call to the .env.process.API_URL and keep getting the "Only Absolute Paths is accepted" error. I call it either with "getInitialProps" or "getServerSideProps" and nada. Would like to keep using my Synology NAS Docker Strapi Image but well.... life. |
Why was this issue closed? It is very much still active as evidenced by #5813 |
Seems to be that they don't care about this error |
Stumbled into this today... |
This bug was driving me crazy today. Please consider fixing this. |
@Erik262 @bensquire @GeorgJenkinsGit |
This issue was closed almost 2 years ago and at the time it was believed it was an issue pending resolution by Synology (which it still may be). We are tracking this issue in #5813 as you indicated and we recommend following that issue going forward. |
Have the same problem, is there already a solution for this? |
Delete container and create a new one |
Welcome in 2023 :D And this bug is still happen... |
@geek111 and we will see you again in 2024 ;D |
The problem is still there, I cant change or edit env variables in Portainer. So annoying. |
I have the same problem as well. New, editing, nothing works. |
I found probably bypass this issue xd Use "stacks" and then if you change ENV then deploy new stack :D |
Portainer allows you to edit them, it just doesn't save the changes. |
Welcome in 2024 :D And this bug is still happen... |
Bug description
Cannot create/modify/save any Environment variables after container creation. Bug only on Synology.
Expected behavior
I want to create, modify or save container environment variable like the synology docker gui.
Steps to reproduce the issue:
Steps to reproduce the behavior:
Technical details:
Additional context
If you want more details, give me the instructions for this.
Thanks.
The text was updated successfully, but these errors were encountered: