×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Indi web manager failed to add drivers to profile

  • Posts: 643
  • Thank you received: 62
Hi!

I'm having problems running the indi web manager. I've set it to autostart and it seems to work. If I then run Ekos remotely, click in the Webmanager checkbox and try to run a profile, it says "Failed to start profile on remote INDI Web Manager"

So I try to run the webmanager in the browser, and set a profile there. I can add a profile but when trying to add drivers to it, I get an error message: error failed to add drivers to profile.

I guess this might be a permissions problem. I'm running Ubuntu Mate on the raspberry. What should I check and try?

Magnus
7 years 4 months ago #13135

Please Log in or Create an account to join the conversation.

yes permission problem most likely. Check permission for where you placed indiwebmanager directory and make sure it has the correct permission for all files/directories under it. It's try to write to an SQLite database but looks like there is an error when attempting that.
7 years 4 months ago #13155

Please Log in or Create an account to join the conversation.

  • Posts: 643
  • Thank you received: 62
Hi!

So what permissions could be wrong? And can I run it from command line so I get more information on where the problem is? My servermanager folder is in /home/pi, and the contents are:

pi@raspberry:~/servermanager$ ls -l
total 64
-rw-r--r-- 1 pi pi 322 dec 10 22:48 autostart.py
-rwxrwxr-x 1 pi pi 4423 dec 10 22:48 db.py
-rwxrwxr-x 1 pi pi 4495 dec 10 22:48 db.pyc
-rw-r--r-- 1 pi pi 6130 dec 15 22:52 drivermanager.py
-rw-r--r-- 1 pi pi 1148 dec 10 22:48 favicon.ico
-rw-r--r-- 1 pi pi 1765 dec 10 22:48 parsedrivers.py
-rw-r--r-- 1 pi pi 2204 dec 10 22:48 parsedrivers.pyc
-rwxrwxrwx 1 pi pi 12288 dec 10 22:48 profiles.db
-rw-r--r-- 1 pi pi 2839 dec 10 22:48 servermanager.py
-rw-r--r-- 1 pi pi 3740 dec 10 22:48 servermanager.pyc
drwxrwxr-x 6 pi pi 4096 dec 10 22:48 views

The user pi is not the first user on the system though - if that matters. But I guess the servermanager is not run as user pi anyway?

Magnus
7 years 4 months ago #13166

Please Log in or Create an account to join the conversation.

You specify which user in the indiwebmanager.service file that gets copied to systemd directory.
7 years 4 months ago #13178

Please Log in or Create an account to join the conversation.

Time to create page: 0.415 seconds