Replies: 0 comments 8 replies
-
|
I expect this would arguably be resolved once the project moves to targeting additional platforms other than Debian 11 see https://github.com/danmons/retronas/blob/main/IDEAS.md The Debian package installs the syncthing unit as an instance signified by the @ symbol. An instance is useful when you need data passed (in this case User is a var in the unit file) to a unit where you may be looking to run multiple instances of that unit. The instance inherits the name of the data passed to it to create a unique/dedicated name in this case syncthing@dietpi From your post it appears dietpi runs from a static systemd service file i.e not an instance and as such when checking for the instance RetroNAS does not find the dietpi service since RetroNAS looks for the instance naming of syncthing@user.service There may be a better way to do service detection so it is platform agnostic, need to have a think about that. Also looking at the implementation I don't think the current syncthing implementation is functional as an instance anyway due to the hardcoded gui port in ansible, From the syncthing doco an alt listen port will be chosen if the default 8384 is taken at time of installation so coming through after the fact and forcing the gui port should mean its effectiveness as an instance is negated somethings well worth looking into. |
Beta Was this translation helpful? Give feedback.
-
|
This was related to a bug fixed in commit retronas/retronas@fe8f0a2 I have an sdcard with dietpi on it now and syncthing now installs as is run as the correct user and can be queried with the status menu. @bluemistP can you please update your installation and confirm. |
Beta Was this translation helpful? Give feedback.
-
|
Sorry @sairuk but it still does not detect. Side question: Is this command enough to update retronas by itself? It looks like it's updating. Currently there's no indication in the wiki on how to update retronas, whether the command below is enough or if I need to run install_retronas.sh again. Let me clarify my setup: I installed syncthing using the dietpi-software features, my syncthing is not installed using retronas. Might be something related to how dietpi installs software? I'm more on end-user side so I'm not familiar about these things. In any case, this is how it looks in my dietpi machine: |
Beta Was this translation helpful? Give feedback.
-
Ahh I see, yes OK that was clear the other day, sorry it must have slipped my mind, and yes our scripts will not currently handle that situation. I will leave this open and revisit the dietpi i deployed here to see if there is a simple solution. |
Beta Was this translation helpful? Give feedback.
-
|
dietpi doesn't install from repo for syncthing, it pulls a tar from git which also includes the instance unit. The dietpi project then creates a standalone systemd unit as this is the wrong way to approach this, they should be using the packaged systemd instance as The defaults are still available for review in Please speak with the upstream project and have dietpi revisit their approach, so they standardise with the syncthing project. |
Beta Was this translation helpful? Give feedback.
-
|
A workaround has been added for this in the meantime, please confirm |
Beta Was this translation helpful? Give feedback.
-
|
Workaround is confirmed. Thank you. |
Beta Was this translation helpful? Give feedback.
-
|
I'll leave this open to collect any other dietpi problems |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I use DietPi as my server and as expected some of the services are already duplicated from the things I install within DietPi.
I saw your warning about lighttpd possibly replacing existing HTTP server setups, but how does it apply for the other services? I'm almost afraid to try installing Samba because I already have it running the DietPi way, and I already configured CIFS share for the MiSTer, so those would seem to be redundant in my setup.
I would like however to take advantage of your concept about symbolic links and possibly supporting multiple kinds of structures for other retro systems, but for now I don't have a multiple-use case yet outside of MiSTer.
For now, I'm checking your Check Services menu to see if retronas detects the services that DietPi already configured. Seems to work out fine, except for Syncthing.
Not sure why @ is needed in this case, but I'm able to ping my Syncthing using this, so please consider changing your script if possible.
As a status report, I have the following existing services in DietPi that were correctly detected:
Samba
lighttpd
OpenSSH
And the following I installed from retronas without conflicts/issues under DietPi:
Cockpit
Webone
Sorry for a lot of ramble, but hope this is useful in any way.
Beta Was this translation helpful? Give feedback.
All reactions