Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Firefly III] Addon not starting #1343

Closed
Ycer0n opened this issue Apr 11, 2024 · 10 comments
Closed

🐛 Firefly III] Addon not starting #1343

Ycer0n opened this issue Apr 11, 2024 · 10 comments
Labels
bug Something isn't working stale Element will be closed automatically

Comments

@Ycer0n
Copy link

Ycer0n commented Apr 11, 2024

Description

FireflyIII doesn't start anymore, everything used to be fine a couple days ago.
Getting the following errors when trying to start the fireflyIII addon.

After disabling watchdog, the logs changed to the following:

2024-04-11 22:08:35.544 INFO (SyncWorker_7) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application
2024-04-11 22:08:39.799 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-3457' coro=<Addon.watchdog_container() done, defined at /usr/src/supervisor/supervisor/addons/addon.py:1418> exception=AddonsJobError('Rate limit exceeded, more than 10 calls in 0:30:00')>
Traceback (most recent call last):
File "/usr/src/supervisor/supervisor/addons/addon.py", line 1432, in watchdog_container
await self._restart_after_problem(event.state)
File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 290, in wrapper
raise on_condition(
supervisor.exceptions.AddonsJobError: Rate limit exceeded, more than 10 calls in 0:30:00
2024-04-11 22:08:39.803 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13
2024-04-11 22:11:49.250 INFO (SyncWorker_5) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application
2024-04-11 22:12:08.552 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-4433' coro=<Addon.watchdog_container() done, defined at /usr/src/supervisor/supervisor/addons/addon.py:1418> exception=AddonsJobError('Rate limit exceeded, more than 10 calls in 0:30:00')>
Traceback (most recent call last):
File "/usr/src/supervisor/supervisor/addons/addon.py", line 1432, in watchdog_container
await self._restart_after_problem(event.state)
File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 290, in wrapper
raise on_condition(
supervisor.exceptions.AddonsJobError: Rate limit exceeded, more than 10 calls in 0:30:00
2024-04-11 22:12:08.555 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13
2024-04-11 22:13:16.681 INFO (SyncWorker_2) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application
2024-04-11 22:13:31.744 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13

Reproduction steps

1. Start fireflyIII

Addon Logs

2024-04-11 22:02:08.333 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13
2024-04-11 22:02:08.335 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Firefly iii is stopped, restarting...
2024-04-11 22:02:08.338 INFO (SyncWorker_0) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application
2024-04-11 22:02:39.749 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
2024-04-11 22:03:02.699 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13
2024-04-11 22:03:02.702 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Firefly iii is stopped, restarting...
2024-04-11 22:03:02.706 INFO (SyncWorker_7) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application
2024-04-11 22:03:20.769 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13
2024-04-11 22:03:20.772 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Firefly iii is stopped, restarting...
2024-04-11 22:03:20.776 INFO (SyncWorker_5) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application
2024-04-11 22:03:28.154 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13
2024-04-11 22:03:28.157 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Firefly iii is stopped, restarting...
2024-04-11 22:03:28.161 INFO (SyncWorker_5) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application
2024-04-11 22:03:48.825 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13
2024-04-11 22:03:48.829 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Firefly iii is stopped, restarting...
2024-04-11 22:03:48.833 INFO (SyncWorker_1) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application
2024-04-11 22:03:59.892 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13
2024-04-11 22:03:59.895 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Firefly iii is stopped, restarting...
2024-04-11 22:03:59.899 INFO (SyncWorker_7) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application
2024-04-11 22:04:02.301 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13
2024-04-11 22:04:02.304 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Firefly iii is stopped, restarting...
2024-04-11 22:04:02.308 INFO (SyncWorker_2) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application
2024-04-11 22:04:14.275 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13
2024-04-11 22:04:14.278 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon Firefly iii is stopped, restarting...
2024-04-11 22:04:14.284 INFO (SyncWorker_1) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application
2024-04-11 22:04:22.568 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state startup
2024-04-11 22:04:22.568 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-04-11 22:04:23.704 ERROR (MainThread) [asyncio] Task exception was never retrieved
future: <Task finished name='Task-2043' coro=<Addon.watchdog_container() done, defined at /usr/src/supervisor/supervisor/addons/addon.py:1418> exception=AddonsJobError('Rate limit exceeded, more than 10 calls in 0:30:00')>
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/addons/addon.py", line 1432, in watchdog_container
    await self._restart_after_problem(event.state)
  File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 290, in wrapper
    raise on_condition(
supervisor.exceptions.AddonsJobError: Rate limit exceeded, more than 10 calls in 0:30:00
2024-04-11 22:04:23.712 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13

Architecture

No response

OS

HAos

@Ycer0n Ycer0n added the bug Something isn't working label Apr 11, 2024
@alexbelgium
Copy link
Owner

Hi, could you please try disabling the watchdog and restarting? Thanks

@Ycer0n
Copy link
Author

Ycer0n commented Apr 11, 2024

Hi

Without watchdog, I get the same issue, but the logs below instead.

2024-04-11 22:08:35.544 INFO (SyncWorker_7) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application 2024-04-11 22:08:39.799 ERROR (MainThread) [asyncio] Task exception was never retrieved future: <Task finished name='Task-3457' coro=<Addon.watchdog_container() done, defined at /usr/src/supervisor/supervisor/addons/addon.py:1418> exception=AddonsJobError('Rate limit exceeded, more than 10 calls in 0:30:00')> Traceback (most recent call last): File "/usr/src/supervisor/supervisor/addons/addon.py", line 1432, in watchdog_container await self._restart_after_problem(event.state) File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 290, in wrapper raise on_condition( supervisor.exceptions.AddonsJobError: Rate limit exceeded, more than 10 calls in 0:30:00 2024-04-11 22:08:39.803 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13 2024-04-11 22:11:49.250 INFO (SyncWorker_5) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application 2024-04-11 22:12:08.552 ERROR (MainThread) [asyncio] Task exception was never retrieved future: <Task finished name='Task-4433' coro=<Addon.watchdog_container() done, defined at /usr/src/supervisor/supervisor/addons/addon.py:1418> exception=AddonsJobError('Rate limit exceeded, more than 10 calls in 0:30:00')> Traceback (most recent call last): File "/usr/src/supervisor/supervisor/addons/addon.py", line 1432, in watchdog_container await self._restart_after_problem(event.state) File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 290, in wrapper raise on_condition( supervisor.exceptions.AddonsJobError: Rate limit exceeded, more than 10 calls in 0:30:00 2024-04-11 22:12:08.555 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13 2024-04-11 22:13:16.681 INFO (SyncWorker_2) [supervisor.docker.manager] Cleaning addon_db21ed7f_fireflyiii application 2024-04-11 22:13:31.744 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/alexbelgium/fireflyiii-aarch64 with version 6.1.13

@alexbelgium
Copy link
Owner

alexbelgium commented Apr 12, 2024

This is supervisor's log but do you have anything also in the addon log of either Firefly III or Mariadb ?

I can't replicate this issue. If there is no addon logs at all, you might try : restarting mariadb addon first (in case it's dependency is not working) ; changing firefly iii port before restarting (if it is a port incompatibility) ; rebooting the device (in case of random issue); or running ha su repair in the Terminal addon (will repair all addon images)

Currently it's quite challenging to understand what would be the issue...

Edit : looks like a supervisor issue home-assistant/supervisor#4961

@Ycer0n
Copy link
Author

Ycer0n commented Apr 14, 2024

Thanks
I can't seem to find a way to fix it, so I guess I'll wait for an update to fix it

@alexbelgium
Copy link
Owner

And you have no logs in either firefly iii nor mariadb?

@Ycer0n
Copy link
Author

Ycer0n commented Apr 15, 2024

Firefly III logs say "No errors have been reported"
I'm using sqlite_internal instead of mariadb, not sure if there's any logs for that?

Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale Element will be closed automatically label Apr 21, 2024
@alexbelgium alexbelgium removed the stale Element will be closed automatically label Apr 21, 2024
@alexbelgium
Copy link
Owner

Firefly III logs say "No errors have been reported" I'm using sqlite_internal instead of mariadb, not sure if there's any logs for that?

Just for sake of leaving no stone unturned could you please post your log? Just to be sure thanks. In case there is an exit 1 in one of the startup script that firefly doesn't see

@Ycer0n
Copy link
Author

Ycer0n commented Apr 22, 2024

This is the only thing I'm getting. If I download it, I just get an empty file.
image

Not sure if there's any other logs I'm missing?

Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale Element will be closed automatically label Apr 28, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale Element will be closed automatically
Projects
None yet
Development

No branches or pull requests

2 participants