Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Logrotate persisting on Unraid

Featured Replies

Hey there, I'm wondering if I'm the first one asking this question. I couldn't find an answer. I need `logrotate` for my Docker Traefik service. I mean, I created a file a while ago in `/etc/logrotate.d` and was wondering why the logrotate didn't work. Probably because Unraid overrides the logrotate folder with its own defaults every boot.

Do I need a user script at the first array start to add the custom logrotate script every time? I just want to be sure that this is the way to go and I'm not missing something.

Kind regards

  • 1 month later...
  • Community Expert

You can enable and configure log rotation for docker (all containers) in Settings > Docker.
You'll need to stop the Docker service if its running, and toggle advanced mode to see the settings.

  • Author

@tjb_altf4 This is not working for individual services like Traefik. Only for Docker itself.

  • Community Expert
22 hours ago, sasbro97 said:

@tjb_altf4 This is not working for individual services like Traefik. Only for Docker itself.

if the containers are saving logs separately, you need to manage per service in the application config/settings like you would do for bare metal installs on any other system.

However, the standard design pattern for docker is that logs get redirected to STDOUT/STDERR (if not already sent there), and docker manages these logs, which are available via "docker logs SOME-CONTAINER-NAME"

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.