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

Log Rotate Issue #2938

Closed
blaine07 opened this issue May 21, 2023 · 2 comments · Fixed by #3219
Closed

Log Rotate Issue #2938

blaine07 opened this issue May 21, 2023 · 2 comments · Fixed by #3219
Labels

Comments

@blaine07
Copy link

Running Nginx Proxy Manager 2.10.3 on Unraid 6.11.5. Noticed today, when I looked at logs for NPM that there was a error about LogRotate command failing:
Screen Shot 2023-05-21 at 12 39 47 PM
which prompted me to see how much/many logs were being stored. Appears about ~600mb and back to March of last year:
Screen Shot 2023-05-21 at 12 41 21 PM
Screen Shot 2023-05-21 at 12 42 58 PM

Is there a way I can safely purge these excessive logs myself? Also, I do have PUID/PGID defined; could issue be relative to that perhaps?
Screen Shot 2023-05-21 at 12 49 54 PM

Any help would be appreciated - just unsure if I can purge old logs myself or not and or if it's a permission issue of sorts or what?

@blaine07 blaine07 added the bug label May 21, 2023
@jeremysherriff
Copy link

Yes you can purge the log files yourself.

I'm not familiar with how unraid works - looks like the chown failed when it was trying to set the log location to root:root. I think logrotate requires the files to be owned by root?

@masterwishx
Copy link

Have same issue on latest version in ubuntu by root user :

image

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.

3 participants