-
Notifications
You must be signed in to change notification settings - Fork 111
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
[2.1.0] Ignore read-only config attribute #272
Comments
Clarification, i pushed old config on new clients on 2.0.0 CC Server version, 2.1.0 doesn't even let me save old-style config but old one for some reason pushed it just fine. |
There are a few things i don't understand. What do you mean by read-only properties? They doesn't exist. And the server doesn't do a validation of the content of you push. If its valid json then its fine for him and he will forward it to the miner. Regardless if its 1.* or any 2.* version of the server. They all do the same. When the miners are conneted to the dashboard you can ALWAYS heal them by pushing a new config and using the restart feature. When they aren't connected to the server anymore, yeah then you're lost. |
What do you mean by read-only properties? They doesn't exist. |
Sorry but that sounds very strange and hard to believe. The server is not writing a file on the miner. The miner itself does. And if its not able to store the file because of insufficient rights the config won't change. That code didn't changed since a long time. And the miner is not changing any file permissions, that has to be done manually. If you can provide steps to reproduce that will be helpful. |
Ok then it's the miner that can't write a file with read-only attribute, i don't see this to be a problem since it's already running with administrative rights so it can use huge-pages, just clear the attribute and put it back if it really should be there for some reason. |
Also, while we at it. Dashboard rework is pretty good but :
|
Also it would be pretty useful if clicking on the group label would select all miners in it. |
|
|
CC server must ignore read only attribute. I just bricked most of my miners by pushing old style config to 2.0.0 clients, that messed their configs up, they have algo set to null so they don't mine. Worst part is that this somehow put read-only attribute on config file, maybe it's default behaviour when autosave set to true (which should be false by default i think). So i have no other way to change these configs but with physical access since CC server does nothing, not even a notice that it failed to write config or smth.
The text was updated successfully, but these errors were encountered: