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

[BUG] Navclean cron error #2874

Closed
Zotan opened this issue Mar 14, 2024 · 1 comment · Fixed by #2875
Closed

[BUG] Navclean cron error #2874

Zotan opened this issue Mar 14, 2024 · 1 comment · Fixed by #2875
Assignees
Labels

Comments

@Zotan
Copy link

Zotan commented Mar 14, 2024

Describe the bug

Since upgrade to 5.9 the navclean cron job causes a python exception:

Cron navcron@nav navclean -f -q --netbox --websessions
Traceback (most recent call last):
File "/usr/bin/navclean", line 8, in
sys.exit(main())
TypeError: main() missing 1 required positional argument: 'args'

To Reproduce

Upgrade to NAV 5.9

There is a chance that this might have occurred before the upgrade as because of a server move our NAV instance has been down since mid Feb. I did the update today as part of bringing it back on line.

Expected behavior

Cron job should not cause a python exception.

Environment (please complete the following information):

Nav 5.9 on Debian Buster from packages

@lunkwill42 lunkwill42 added the bug label Mar 15, 2024
@lunkwill42
Copy link
Member

Thank for the bug report, @Zotan. This is easily reproducible, but it wasn't flagged by our test suite because it executes the NAV scripts in a slightly different fashion from fully installed scripts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants