×

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

Bi-monthly release with minor bug fixes and improvements

INDI Web Manager - Autostart?

  • Posts: 281
  • Thank you received: 29
Hi,

I somehow got stuck with starting up the INDI webmanager upon boot process (I am using the rock64).

When running the command "sudo systemctl status indiwebmanager.service" this is the message I receive:

● indiwebmanager.service - INDI Web Manager
Loaded: loaded (/etc/systemd/system/indiwebmanager.service; enabled; vendor preset: enabled)
Active: inactive (dead)

Since it says "inactive (dead)", I reckon something went wrong.

This is what I saved into the /ect/systemd/system directory:

[Unit]
Description=INDI Web Manager
After=multi.user.target

[Service]
Type=idle
User=rock64
ExecStart=/usr/local/bin/indi-web -v
Restart=always
RestartSec=5

[Install]
WantedBy=multi.user.target

Apparantely, the INDI web manager is not starting up (I believe). Is the anything I need to do concerning AutoStart? On github it says "If you selected any profile as Auto Start" then the INDI web manager shall be automatically started" - is there anything I need to set up?

Many thanks,

Helge
6 years 4 months ago #21162

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

  • Posts: 2247
  • Thank you received: 223
Hello,

I don't have an answer to your problem yet but are you able to start indi-web -v without the autostart script?
Just to be sure it works.
6 years 2 months ago #21962

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

  • Posts: 27
  • Thank you received: 2

Replied by Steve on topic INDI Web Manager - Autostart?

I don't see any responses here. I have the same problem. Raspberry Pi 3B+ with Ubuntu-MATE. Any help?
Steve
5 years 10 months ago #26026

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

  • Posts: 28
  • Thank you received: 1
I set this up just today but on Raspbian Stretch. Is it the same for Ubuntu?

Taken from GitHub.
The provided file indiwebmanager.service is an example systemd service file that can be used to run indi-web as pi user. If your username is different please edit the file and change the username first.

Copy your preferred service file to /etc/systemd/system:

sudo cp indiwebmanager.service /etc/systemd/system/
sudo chmod 644 /etc/systemd/system/indiwebmanager.service
Now configure systemd to load the service file during boot:

sudo systemctl daemon-reload
sudo systemctl enable indiwebmanager.service
Finally, reboot the system for your changes to take effect:

sudo reboot
After startup, check the status of the INDI Web Manager service:

sudo systemctl status indiwebmanager.service
If all appears OK, you can start using the Web Application using any browser.



Travis
5 years 10 months ago #26027

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

Time to create page: 0.523 seconds