Hi all,
I noticed that when I try to run algorand indexer v2 as a service using the deb package it fails as it cannot write the pid file (while the user has rights in his own directory) and it is looking for a config file… The same ExecStart line works fine by itself.
Thank you in advance
Jan 14 11:44:52 algoran_testnet systemd[1]: Starting Algorand Indexer daemon on Testnet...
-- Subject: Unit algorand-indexer.service has begun start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit algorand-indexer.service has begun starting up.
Jan 14 11:44:52 algorand_testnet algorand-indexer[21565]: Config File "algorand-indexer" Not Found in "[/ /home/ubuntu /home/ubuntu/.algorand-indexer /home/ubuntu/.config/algorand-indexer /etc/algorand-indexer]"
Jan 14 11:44:52 algorand_testnet algorand-indexer[21565]: /home/ubuntu/node/algorand-indexer/algorand-indexer.pid: could not create pid file, open /home/ubuntu/node/algorand-indexer/algorand-indexer.pid: permission denied
Jan 14 11:44:52 algorand_testnet systemd[1]: algorand-indexer.service: Control process exited, code=exited status=1
Jan 14 11:44:52 algorand_testnet systemd[1]: algorand-indexer.service: Failed with result 'exit-code'.
Jan 14 11:44:52 algorand_testnet systemd[1]: Failed to start Algorand Indexer daemon on Testnet.
-- Subject: Unit algorand-indexer.service has failed