×

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

Bi-monthly release with minor bug fixes and improvements

Try as I might I cannot get Indiwebmanager setup

  • Posts: 37
  • Thank you received: 4
I am trying to setup a remote Indi server on a Pi3. Following the various tutorials, none of which are consistent, I have got to the point of trying to autostart the Indiwebmanager. I have followed the details as they are on github but the autostart will not work. I have tried both .service files with similar results.
The indiwebservermanager can be started locally and works from a remote client, but I need it to autostart so the pi can be unmanaged.

I get the following:

● indiwebmanager.service - INDI Web Manager
Loaded: loaded (/etc/systemd/system/indiwebmanager.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Fri 2017-09-08 16:11:42 BST; 4s ago
Process: 1900 ExecStart=/usr/local/bin/indi-web -v (code=exited, status=203/EXEC)
Main PID: 1900 (code=exited, status=203/EXEC)

Sep 08 16:11:42 AstroPi systemd[1]: indiwebmanager.service: Main process exited, code=exited, status=203/EXEC
Sep 08 16:11:42 AstroPi systemd[1]: indiwebmanager.service: Unit entered failed state.
Sep 08 16:11:42 AstroPi systemd[1]: indiwebmanager.service: Failed with result 'exit-code'.


Many thanks.
SW Equinox 80ED, ZWO 120mm, Pegasus FocusCube, EQMod (EQ5 Pro)
Last edit: 6 years 7 months ago by Clive Davies. Reason: Error detail not copied correctly
6 years 7 months ago #19232

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

  • Posts: 61
  • Thank you received: 12
Horus,

I'm having the same issue. If you type
systemctl
, can you scroll through the services listed and find the indiwebmanager service in that list? Does it say "activating" as if it's trying to activate, but is not active as the rest of the services? This is where I am at currently, but with the indiwebmanager-pi.service script.

Best,
Jacob
6 years 7 months ago #19236

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

Try to get journalctl log:
journalctl -u indiwebmanager

It might shed a clue on the issue.
6 years 7 months ago #19237

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

  • Posts: 61
  • Thank you received: 12
Same as Horus above, for
journalctl -u indiwebmanager-pi.service
:
Sep 08 14:06:07 astroMATE systemd[1]: indiwebmanager-pi.service: Service hold-off time over, scheduling restart.
Sep 08 14:06:07 astroMATE systemd[1]: Stopped INDI Web Manager.
Sep 08 14:06:07 astroMATE systemd[1]: Started INDI Web Manager.
Sep 08 14:06:07 astroMATE systemd[1]: indiwebmanager-pi.service: Main process exited, code=exited, status=203/EXEC
Sep 08 14:06:07 astroMATE systemd[1]: indiwebmanager-pi.service: Unit entered failed state.
Sep 08 14:06:07 astroMATE systemd[1]: indiwebmanager-pi.service: Failed with result 'exit-code'.
6 years 7 months ago #19238

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

that's not enough information.. there is no more detailed error message from journalctl? maybe try that again with 'sudo'
6 years 7 months ago #19245

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

  • Posts: 61
  • Thank you received: 12
I realize it's not enough information, but it's all that comes out- pages upon pages of repeat.
jake@astroMATE:~$ sudo journalctl -u indiwebmanager
-- No entries --
jake@astroMATE:~$ journalctl -u indiwebmanager
-- No entries --
jake@astroMATE:~$ journalctl -u indiwebmanager-pi.service 
-- Logs begin at Thu 2016-02-11 08:28:01 PST, end at Fri 2017-09-08 23:33:41 PDT. --
Sep 08 18:17:50 astroMATE systemd[1]: Started INDI Web Manager.
Sep 08 18:17:50 astroMATE systemd[1]: indiwebmanager-pi.service: Main process exited, code=exited, status=203/EXEC
Sep 08 18:17:50 astroMATE systemd[1]: indiwebmanager-pi.service: Unit entered failed state.
Sep 08 18:17:50 astroMATE systemd[1]: indiwebmanager-pi.service: Failed with result 'exit-code'.
Sep 08 20:29:22 astroMATE systemd[1]: indiwebmanager-pi.service: Service hold-off time over, scheduling restart.
Sep 08 20:29:22 astroMATE systemd[1]: Stopped INDI Web Manager.
Sep 08 20:29:22 astroMATE systemd[1]: Started INDI Web Manager.
Sep 08 20:29:22 astroMATE systemd[1]: indiwebmanager-pi.service: Main process exited, code=exited, status=203/EXEC
Sep 08 20:29:22 astroMATE systemd[1]: indiwebmanager-pi.service: Unit entered failed state.
Sep 08 20:29:22 astroMATE systemd[1]: indiwebmanager-pi.service: Failed with result 'exit-code'.
Sep 08 20:29:47 astroMATE systemd[1]: indiwebmanager-pi.service: Service hold-off time over, scheduling restart.
Sep 08 20:29:47 astroMATE systemd[1]: Stopped INDI Web Manager.
Sep 08 20:29:47 astroMATE systemd[1]: Started INDI Web Manager.
Sep 08 20:29:47 astroMATE systemd[1]: indiwebmanager-pi.service: Main process exited, code=exited, status=203/EXEC
Sep 08 20:29:47 astroMATE systemd[1]: indiwebmanager-pi.service: Unit entered failed state.
Sep 08 20:29:47 astroMATE systemd[1]: indiwebmanager-pi.service: Failed with result 'exit-code'.
Sep 08 20:30:12 astroMATE systemd[1]: indiwebmanager-pi.service: Service hold-off time over, scheduling restart.
Sep 08 20:30:12 astroMATE systemd[1]: Stopped INDI Web Manager.
Sep 08 20:30:12 astroMATE systemd[1]: Started INDI Web Manager.
Sep 08 20:30:12 astroMATE systemd[1]: indiwebmanager-pi.service: Main process exited, code=exited, status=203/EXEC
Sep 08 20:30:12 astroMATE systemd[1]: indiwebmanager-pi.service: Unit entered failed state.
Sep 08 20:30:12 astroMATE systemd[1]: indiwebmanager-pi.service: Failed with result 'exit-code'.
Sep 08 20:30:37 astroMATE systemd[1]: indiwebmanager-pi.service: Service hold-off time over, scheduling restart.
Sep 08 20:30:37 astroMATE systemd[1]: Stopped INDI Web Manager.
Sep 08 20:30:37 astroMATE systemd[1]: Started INDI Web Manager.
Sep 08 20:30:37 astroMATE systemd[1]: indiwebmanager-pi.service: Main process exited, code=exited, status=203/EXEC
Sep 08 20:30:37 astroMATE systemd[1]: indiwebmanager-pi.service: Unit entered failed state.
6 years 7 months ago #19246

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

  • Posts: 37
  • Thank you received: 4
Same results as jnowat.

Have tried both .service files, root, & user with same results.

Did notice a posting about some changes recently to this service as 'improvements'.
SW Equinox 80ED, ZWO 120mm, Pegasus FocusCube, EQMod (EQ5 Pro)
6 years 7 months ago #19249

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

I asked Juan to check on this.
The following user(s) said Thank You: Clive Davies, Jacob Nowatzke
6 years 7 months ago #19254

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

  • Posts: 10
  • Thank you received: 9
Could you try to execute the following command as "pi" user?
/usr/local/bin/indi-web -v

That is the line executed by the ".service" script.
Please paste the output here.
6 years 7 months ago #19269

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

  • Posts: 37
  • Thank you received: 4
mate@AstroPi:~$ /usr/local/bin/indi-web -v
bash: /usr/local/bin/indi-web: No such file or directory
mate@AstroPi:~$
SW Equinox 80ED, ZWO 120mm, Pegasus FocusCube, EQMod (EQ5 Pro)
6 years 7 months ago #19282

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

  • Posts: 10
  • Thank you received: 9
OK, so the executable file is not in /usr/local/indi-web.
Did you install it with "sudo pip install indiweb"? If not, try to do so.

If it is installed in another location, you can find it with
which indi-web

In that case, you should change the line starting with "ExecStart" in the "indiwebmanager-pi.service" file. It should point to the correct location.
6 years 7 months ago #19284

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

  • Posts: 37
  • Thank you received: 4
Response from which indi-web

mate@AstroPi:~$ which indi-web
/home/mate/.local/bin/indi-web

I did install as per github instruction using sudo pip install indiweb

Will retry install and see.
Thanks
SW Equinox 80ED, ZWO 120mm, Pegasus FocusCube, EQMod (EQ5 Pro)
Last edit: 6 years 7 months ago by Clive Davies. Reason: Spelling error
6 years 7 months ago #19288

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

Time to create page: 0.319 seconds