×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

INDI Web Manager

  • Posts: 18
  • Thank you received: 3

Replied by hugues obolonsky on topic INDI Web Manager

I think i touch another bug related to path loading.
When i launch the indiserver via the webmanager (started as daemon) on the remote server,
the gphoto_ccd client cannot load the saved configuration.

As this is working when i launch the indiserver manually, i guess it's a path related issue in webmanager/indiserver launch command.

I will try to debug that but if you have any hints, it's welcome ;)
7 years 11 months ago #7911

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

Replied by Jasem Mutlaq on topic INDI Web Manager

hmmm most likely because it is run as root, it tries to load config from ~/.indi which would be /root/.indi but for a normal user it is loaded from /home/username/.indi which is where you had all your previous configs.
7 years 11 months ago #7912

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

  • Posts: 18
  • Thank you received: 3

Replied by hugues obolonsky on topic INDI Web Manager

Nope !
As far as the gphoto_cdd driver is only working as root,
i was launching the indiserver manually as root...

Config saves are allready in /root/.indi
Last edit: 7 years 11 months ago by hugues obolonsky.
7 years 11 months ago #7914

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

Replied by Jasem Mutlaq on topic INDI Web Manager

Ok, you need to put your username in the service. I updated the service file. Make sure to delete /tmp/indiFIFO before restarting the service.
7 years 11 months ago #7916

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

  • Posts: 454
  • Thank you received: 51

Replied by Patrick on topic INDI Web Manager

Thank you Jasem,

Thank you for this elegant tool. I developed a python app very similar but so more complex.
I added to it a function to upload pictures stored on the remote device. Do you mind it could be useful to add it to your server ?
By the way learned how to make a service without using /etc/init.d mechanisms.

Patrick
7 years 11 months ago #7926

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

Replied by Jasem Mutlaq on topic INDI Web Manager

Hey Patrick, I'm trying to keep the tool as simple as possible. Might provide a separate tool to manage the drivers themselves (there is already one developed by Jean-Luc) along with other functionalities such as the one you suggest.
7 years 11 months ago #7929

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

  • Posts: 454
  • Thank you received: 51

Replied by Patrick on topic INDI Web Manager

Found a little problem with the web manager. Trying to access to the web manager I get very often a partial page.
Driver box line is missing and the button start is inactive.
I join a picture of it there.

Last edit: 7 years 10 months ago by Patrick.
7 years 10 months ago #7982
Attachments:

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

  • Posts: 2247
  • Thank you received: 223

Replied by Gonzothegreat on topic INDI Web Manager

Just noticed this thread, interesting and useful tool.
I'm having the following issue and with all indi drivers updated.:
root@heidenrod-obs:/opt/indiwebmanager/servermanager# python drivermanager.py 
/usr/share/indi/indi_sx.xml
/usr/share/indi/indi_gonzobox.xml
/usr/share/indi/indi_gonzobox_rainsensor.xml
/usr/share/indi/indi_atik.xml
/usr/share/indi/indi_qhy.xml
/usr/share/indi/indi_eqmod.xml
/usr/share/indi/drivers.xml
/usr/share/indi/indi_shoestring.xml
Parsing XML file: /usr/share/indi/indi_sx.xml
Parsing XML file: /usr/share/indi/indi_gonzobox.xml
Traceback (most recent call last):
  File "drivermanager.py", line 4, in <module>
    from servermanager import startServer, stopServer, isServerRunning, getRunningDrivers
  File "/opt/indiwebmanager/servermanager/servermanager.py", line 4, in <module>
    from parsedrivers import driversList
  File "/opt/indiwebmanager/servermanager/parsedrivers.py", line 35, in <module>
    family = group.attrib['group']
KeyError: 'group'
root@heidenrod-obs:/opt/indiwebmanager/servermanager#
7 years 10 months ago #8028

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

Replied by Jasem Mutlaq on topic INDI Web Manager

Update your XML file (tindi_gonzobox.xml) to the new DTD schema. add <driversList> check the other XML files for where to put them.
Last edit: 7 years 10 months ago by Jasem Mutlaq.
7 years 10 months ago #8029

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

  • Posts: 2247
  • Thank you received: 223

Replied by Gonzothegreat on topic INDI Web Manager

ok thanks, let me google out this DTD stuff, sounds intriguing.

Going to download the RPI files and decompress the content of the deb files and figure this one out.
Last edit: 7 years 10 months ago by Gonzothegreat.
7 years 10 months ago #8030

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

Replied by Jasem Mutlaq on topic INDI Web Manager

just add <driversList> before <devGroup> and </driversList> after </devGroup>
The following user(s) said Thank You: Gonzothegreat
7 years 10 months ago #8031

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

  • Posts: 2247
  • Thank you received: 223

Replied by Gonzothegreat on topic INDI Web Manager

oh ok, it works. Testing this tool now.
7 years 10 months ago #8032

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

Time to create page: 0.345 seconds