seydx / camera.ui

NVR like user Interface for RTSP capable cameras
https://github.com/seydx/camera.ui
MIT License
602 stars 96 forks source link

Daemon Setup - Service Mode #422

Open darraghh1 opened 10 months ago

darraghh1 commented 10 months ago

Describe the bug After following instructions as per here on how to set up service mode, I get the following error. I copy and pasted with 0 edits, I also tried to edit the folders but that didn't help.

Sep 04 15:03:07 DebianServer systemd[1]: camera.ui.service: Scheduled restart job, restart counter is at 188. Sep 04 15:03:07 DebianServer systemd[1]: Stopped camera.ui.service - camera.ui. Sep 04 15:03:07 DebianServer systemd[1]: camera.ui.service: Failed to load environment files: No such file or directory Sep 04 15:03:07 DebianServer systemd[1]: camera.ui.service: Failed to run 'start' task: No such file or directory Sep 04 15:03:07 DebianServer systemd[1]: camera.ui.service: Failed with result 'resources'. Sep 04 15:03:07 DebianServer systemd[1]: Failed to start camera.ui.service - camera.ui.

To Reproduce Follow the service mode instructions.

Expected behavior Expected the service mode to work, could not start with above error.

Logs See above.

Screenshots If applicable, add screenshots to help explain your problem.

Environment

Question: Could you outline the edits necessary to the files?

artyzz88 commented 6 months ago

Bad path to files in FAQ (https://github.com/seydx/camera.ui?tab=readme-ov-file#service-mode), need to update. i Try t edit PATH to /usr/lib/node_modules/camera.ui/ but still error "Failed to run 'start' task: No such file or director"