deepch/RTSPtoWeb

Configuration resets after restart

Ben1asdfas opened this issue · 3 comments

I created a service which starts RTSPtoWeb after restart of linux.

My problem is, every time linux restarts, the configuration resets.

Can someone explain a common solution for me as a non linux expert?

It shouldn't as the software looks for JSON file saved in root application, seens like your problem is on Linux.

Could you explain more where you installed your application and how you configured your service? Also, if you can stop and start service on your linux without reboot your configuration should be reseted, if it happens you could have a problem with the application itself, for me, it seens like your application are in some kind of temp folder that is getting deleted every linux reboot or permission you gave to your files.

So, provide more information, like these things I said, linux version, if it's a local server or VPS and other stuffs like that!

Hi HurtZMH,

thanks for your quick reply ! I intalled RTSPtoWeb as described on the installation guide - as a docker container on debian 12. I did the configuration only on the RTSP webinterface, but it does not seem to safe it right to the config file.

Now i tried to directly edit the config.json in the RTSPtoWeb folder and now it works - means that when i restart the rtsp service or the whole linux system it now loads my configuration right.

Right! So it's permission problem, to work normally, including the streams by web, you should look if the user has permission to change this file. I'll do some tests tomorrow and see if I can help you on it.