rg35xx-cfw / rg35xx-cfw.github.io

RG35XX Custom Firmware Documentation
419 stars 3 forks source link

Can't connect to syncthing #134

Closed ArmoMike closed 4 months ago

ArmoMike commented 4 months ago

Hello I am on the latest version (20240213) and i have syncthing activated in the settings . When trying to connect to the config page through my browser with (ipadress:8384) it fails to reach the site each time.

0chroma commented 4 months ago

looked into this, it's due to a bad version string:

[root@buildroot /userdata/system]# /usr/bin/syncthing -browser-only
2024/02/16 22:18:10 Invalid version string "2b81b0f6-dirty-rg35xx-plus-wip";
    does not match regexp ^v\d+\.\d+\.\d+(-[a-z0-9]+)*(\.\d+)*(\+\d+-g[0-9a-f]+)?(-[^\s]+)?$

as a workaround I just downloaded the aarch64 version of the syncthing binary and dropped it into /usr/bin/syncthing

ArmoMike commented 4 months ago

Great thanks , i'll give that a try ! Also does anybody know how I can save custom controller configs per system? As of right now, when i change controls in retroarch menu, they just reset whenever i close a game. I've also set the controls in the bacotera settings but for some reason some of my emulators won't use them.

mainLink0435 commented 4 months ago

the issue is the 2b81b0f6 doesn't match the regex part which should be in the format v1.19.10 (i just suggest this because it's the actual version provided)

I manually edited the file using an elf editor (xelfviewer) and then ran the executable which worked, however I also had to mount the batocera filesystem on another machine to update the syncthing file in /usr/bin, otherwise it just gets overwritten each time you reboot

mhbates commented 4 months ago

Syncthing seems to be fixed with v39.

seanstardev commented 4 months ago

Syncthing seems to be fixed with v39.

How did you manage this? I couldn't connect via http://192.168.0.??/8384 after following the Batocera wiki page. Thanks.

0chroma commented 4 months ago

you just enable it under system settings now, should work out of the box

seanstardev commented 4 months ago

you just enable it under system settings now, should work out of the box

Thank you very much. Took a couple more resets but I'm there. Really appreciate your time.