-
Notifications
You must be signed in to change notification settings - Fork 18
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
Enabling Dbus over TCP bricked Cerbo-GX #63
Comments
Are you it’s bricked? You’re not able to ssh into it any more? |
Yes I'm abaolutely Sure, it showed only a Black screen and the VE.Bus connected MultiPlus-II Stopped working as well Tomorrow I will try again to make the modifications to the dbus configuration file I have alreasy fixes the cerbo by installing the Venus OS via sdcard image |
Hey @robtor-de , just jumping in here: how do you mean that the MultiPlus-II stopped working as well? It switched off at some point (what point?) |
I wasn't there when the MultiPlus-II switched off, i think that was because the cerbo din't start anymore. When plugging of the cerbo from the MuliPlus by removing the VE.bus cable and restarting it it began with normal operation. |
I tried it again today, the Cerbo isn't booting anymore as well. It only shows a blank black screen and the red led is flashing. This step is what i've done and modified before the brick: tcp:host=0.0.0.0,port=78 |
I Google a little bit and found this thread: Tomorrow I will try again and put the <Listen... directive before the unix Socket Listen directive in the configuration file... maybe then it will work |
I gave it another try today, after modifying /etc/dbus-1/system.conf the Cerbo only shows the orange wifi-led flashing and a black screen |
Hi, that the WiFi doesn't work is expected. It needs codes that were on the data partition before you ran the installer image. Installer-image erases the whole device. So note that, once this is all done, you'll also need to restore those files. Details about those files are here: https://www.victronenergy.com/live/venus-os:extended#appendix_a_-_repartitioning_venus_gx_flash_memory (step B) Why it doesn't boot is a mystery to me. But then again, I've never tried this on a Cerbo, and also haven't recently tried what happens when trying to boot without those files present, other than the wifi not working. One way to figure it out is if you can connect a serial console. Like this one: https://www.adafruit.com/product/954. Would that work for you? |
Btw I'll update the readme section of this project where it explains how to modify the dbus config file, to explain that changing the dbus config is at ones own peril. I thought it had the required disclaimers, but I see now that it does not; at least not clearly. The good news is that it is impossible to completely brick a device that way. But it does need to clearly state that fixing issues arising after this are not within normal Victron support. There are not a lot of people inside Victron that will know what to do with this. |
I think the disclaimers aren't the problem, I clearly understood that doing this is at my own risk, thatswhy I started the issue here and didn't wrote directly to the victron support. Maybe I will connect to the serial console if i have enough time for doing that to figure out, why enabling tcp support in dbus breaks the system. |
I think the serial console would be the only way possible to gather some information because when the device crashes it's even not available via ssh although its connected to ethernet. Might the <listen tcp.... statement crash the complete dbus system? And maybe I also have to add that I'm not running the large image with nodered installed, that's the reason why I have to enable the tcp support, because the nodered is running on an already existing sever in my network Is there a possibility to restart the dbus on the cerbo-gx during runtime to retrieve log messages? |
Hi, disclaimers: yes no problem for you - but might be some day. This thread just reminded me of them. Maybe I went a bit overboard though 😄, here is the new section.
Yes, thats exactly what happens when put in the wrong place or wrong way. But I don't see what you're doing wrong here. (And I can't test it myself now - sorry).
Possibly yes. Or try run a second instance. Restarting it might cause a watchdog reboot, so that is not so very easy I think. But maybe it is; I'm no expert. The commit that added the watchdog monitoring is here: |
Thank you for the information, and yes it makes sense to update the disclaimer ^^ |
Is there an option to Backup the whole cerbo gx System with all its settings? |
Been there. For starters, the order of the config lines matters! If dbus fails to init, So, I don't think your Cerbo is truly bricked. |
Here is my
|
Thank you for your extensive answer, I've already researched for the correct order of appending the line but it dindn't worked as well. Maybe it was my own mistake. Until today I've restored the Cerbo-GX already by reinstalling venus os via sdcard. I'm not at home today but next week I will compare mine with your system conf. Many thanks |
closing this; having to do this dbus-tcp modding by hand is risky and annoying, but its just the way it is for now. |
Alright, i've found another solution so far |
The same thing has happened to me that you could give me the solution if possible |
Hi @xises sorry to hear this happened for you. Please go to https://community.victronenergy.com and then the modifications area. Search there, I would expect there is an explanation on how to recover. And if you can’t find it, open a new question |
I have enabled dbus over tcp like described in Readme.md, but then after a reboot of the cerbo-gx didn't boot anymore.
The text was updated successfully, but these errors were encountered: