After migrating a (now EOL which is the reason for the server migration, new hardware, 64 bit, new OS, now fulfilling the requirements for NC 30 and above) Nextcloud instance installed bare metal following this guide
everything seems to work so far according to all logs and so far tested features. The only thing is:
/settings/admin
gives
(note: it’s been two days from shutting down all NC services on the old host and powering up everything on the new host now)
The cron is running fine and regularly (every 5 minutes), a manual run (sudo -u www-data php -f /var/www/nextcloud/cron.php
) gives no errors.
Still, sudo -u www-data php /var/www/nextcloud/occ background-job:list
lists many crons which did not run yet:
+--------+-------------------------------------------------------------------+---------------------------+------------------+
| id | class | last_run | argument |
+--------+-------------------------------------------------------------------+---------------------------+------------------+
| 2 | OCA\Activity\BackgroundJob\EmailNotification | 2025-04-13T13:29:36+00:00 | null |
| 3 | OCA\Activity\BackgroundJob\ExpireActivities | 2025-04-11T04:20:03+00:00 | null |
| 246 | OCA\Files_Trashbin\BackgroundJob\ExpireTrash | 2025-04-13T13:18:11+00:00 | null |
| 247 | OCA\Files_Versions\BackgroundJob\ExpireVersions | 2025-04-13T13:18:11+00:00 | null |
| 2673 | OCA\Files\BackgroundJob\CleanupFileLocks | 2025-04-13T13:25:01+00:00 | null |
| 2852 | OCA\Files\BackgroundJob\ScanFiles | 2025-04-13T13:25:01+00:00 | null |
| 2853 | OCA\Files\BackgroundJob\DeleteOrphanedItems | 2025-04-13T12:45:02+00:00 | null |
| 2856 | OCA\Federation\SyncJob | 2025-04-11T04:35:02+00:00 | null |
| 3398 | OCA\Files_Sharing\DeleteOrphanedSharesJob | 2025-04-11T04:35:03+00:00 | null |
| 3399 | OCA\Files_Sharing\ExpireSharesJob | 2025-04-11T04:35:03+00:00 | null |
| 8079 | OCA\NextcloudAnnouncements\Cron\Crawler | 2025-04-13T12:45:02+00:00 | null |
| 8203 | OCA\QuotaWarning\Job\User | 1970-01-01T00:00:00+00:00 | {"uid":"xxx"} |
| 8204 | OCA\QuotaWarning\Job\User | 1970-01-01T00:00:00+00:00 | {"uid":"xxx"} |
| 8205 | OCA\QuotaWarning\Job\User | 1970-01-01T00:00:00+00:00 | {"uid":"xxx"} |
| 8206 | OCA\QuotaWarning\Job\User | 1970-01-01T00:00:00+00:00 | {"uid":"xxx"} |
| 8208 | OCA\QuotaWarning\Job\User | 2025-04-11T05:20:04+00:00 | {"uid":"xxx"} |
| 8209 | OCA\QuotaWarning\Job\User | 1970-01-01T00:00:00+00:00 | {"uid":"xxx"} |
| 8363 | OC\Log\Rotate | 2025-04-13T13:29:36+00:00 | null |
| 8382 | OC\Preview\BackgroundCleanupJob | 2025-04-11T06:10:03+00:00 | null |
| 8384 | OCA\DAV\BackgroundJob\CleanupDirectLinksJob | 2025-04-11T04:35:03+00:00 | null |
| 8385 | OCA\DAV\BackgroundJob\UpdateCalendarResourcesRoomsBackgroundJob | 2025-04-13T12:45:05+00:00 | null |
| 8386 | OCA\DAV\BackgroundJob\CleanupInvitationTokenJob | 2025-04-11T04:35:03+00:00 | null |
| 8387 | OCA\Files_Sharing\BackgroundJob\FederatedSharesDiscoverJob | 2025-04-11T04:35:03+00:00 | null |
| 8388 | OCA\AdminAudit\BackgroundJobs\Rotate | 2025-04-13T12:45:05+00:00 | null |
| 8389 | OCA\Support\BackgroundJobs\CheckSubscription | 2025-04-13T13:29:36+00:00 | null |
| 8538 | OCA\TwoFactorNextcloudNotification\BackgroundJob\CleanupTokens | 2025-04-13T12:45:05+00:00 | null |
| 8628 | OC\Core\BackgroundJobs\CleanupLoginFlowV2 | 2025-04-13T12:45:05+00:00 | null |
| 11846 | OCA\DAV\BackgroundJob\EventReminderJob | 2025-04-13T13:29:36+00:00 | null |
| 11847 | OCA\Text\Cron\Cleanup | 2025-04-13T13:29:36+00:00 | null |
| 14268 | OCA\Files\BackgroundJob\CleanupDirectEditingTokens | 2025-04-13T13:20:02+00:00 | null |
| 14270 | OCA\WorkflowEngine\BackgroundJobs\Rotate | 2025-04-13T12:45:05+00:00 | null |
| 28310 | OCA\ContactsInteraction\BackgroundJob\CleanupJob | 2025-04-11T04:35:04+00:00 | null |
| 28312 | OCA\Deck\Cron\DeleteCron | 2025-04-11T02:25:02+00:00 | null |
| 28313 | OCA\Deck\Cron\ScheduledNotifications | 2025-04-13T13:29:36+00:00 | null |
| 28314 | OCA\Deck\Cron\CardDescriptionActivity | 2025-04-13T13:29:36+00:00 | null |
| 29685 | OCA\Contacts\Cron\SocialUpdateRegistration | 2025-04-11T02:15:04+00:00 | null |
| 30561 | OCA\Files_External\BackgroundJob\CredentialsCleanup | 2025-04-11T04:35:04+00:00 | null |
| 30563 | OCA\UserStatus\BackgroundJob\ClearOldStatusesBackgroundJob | 2025-04-13T13:29:36+00:00 | null |
| 34052 | OC\Security\Bruteforce\CleanupJob | 2025-04-11T03:20:03+00:00 | null |
| 35544 | OCA\ServerInfo\Jobs\UpdateStorageStats | 2025-04-13T12:45:05+00:00 | null |
| 37829 | OCA\DAV\BackgroundJob\CalendarRetentionJob | 2025-04-13T12:45:05+00:00 | null |
| 38124 | OCA\SuspiciousLogin\BackgroundJob\ETLJob | 2025-04-13T12:45:05+00:00 | null |
| 38125 | OCA\SuspiciousLogin\BackgroundJob\TrainJobIpV4 | 2025-04-11T04:35:04+00:00 | null |
| 38126 | OCA\SuspiciousLogin\BackgroundJob\TrainJobIpV6 | 2025-04-11T04:35:10+00:00 | null |
| 38346 | OCA\Calendar\BackgroundJob\CleanUpOutdatedBookingsJob | 2025-04-11T06:30:03+00:00 | null |
| 40663 | OCA\Notifications\BackgroundJob\GenerateUserSettings | 2025-04-13T12:45:05+00:00 | null |
| 40664 | OCA\Notifications\BackgroundJob\SendNotificationMails | 2025-04-13T13:29:36+00:00 | null |
| 46614 | OC\Authentication\Token\TokenCleanupJob | 2025-04-11T03:05:04+00:00 | null |
| 49979 | OCA\Files\BackgroundJob\DeleteExpiredOpenLocalEditor | 2025-04-11T02:00:11+00:00 | null |
| 60693 | OCA\Photos\Jobs\AutomaticPlaceMapperJob | 2025-04-11T04:35:10+00:00 | null |
| 60695 | OCA\DAV\BackgroundJob\PruneOutdatedSyncTokensJob | 2025-04-11T04:35:10+00:00 | null |
| 60700 | OCA\Deck\Cron\SessionsCleanup | 2025-04-13T13:29:36+00:00 | null |
| 68873 | OC\TextProcessing\RemoveOldTasksBackgroundJob | 2025-04-11T03:05:04+00:00 | null |
| 68876 | OCA\FilesReminders\BackgroundJob\CleanUpReminders | 2025-04-11T04:35:10+00:00 | null |
| 68877 | OCA\FilesReminders\BackgroundJob\ScheduledNotifications | 2025-04-13T13:29:36+00:00 | null |
| 79759 | OCA\OAuth2\BackgroundJob\CleanupExpiredAuthorizationCode | 2025-03-30T02:05:03+00:00 | null |
| 82080 | OC\TextToImage\RemoveOldTasksBackgroundJob | 2025-04-11T03:05:04+00:00 | null |
| 82109 | OCA\Polls\Cron\NotificationCron | 2025-04-13T13:29:36+00:00 | null |
| 82112 | OCA\Talk\BackgroundJob\CheckHostedSignalingServer | 2025-04-13T12:45:05+00:00 | null |
| 82113 | OCA\Talk\BackgroundJob\CheckMatterbridges | 2025-04-13T13:20:02+00:00 | null |
| 82116 | OCA\Talk\BackgroundJob\ExpireChatMessages | 2025-04-13T13:29:36+00:00 | null |
| 82117 | OCA\Talk\BackgroundJob\ExpireSignalingMessage | 2025-04-13T13:29:36+00:00 | null |
| 82118 | OCA\Talk\BackgroundJob\Reminder | 2025-04-13T13:29:36+00:00 | null |
| 82119 | OCA\Talk\BackgroundJob\RemoveEmptyRooms | 2025-04-11T06:55:03+00:00 | null |
| 82120 | OCA\Talk\BackgroundJob\ResetAssignedSignalingServer | 2025-04-13T13:29:36+00:00 | null |
| 82225 | OCA\EndToEndEncryption\BackgroundJob\RollbackBackgroundJob | 2025-04-13T12:45:05+00:00 | null |
| 90598 | OC\Core\BackgroundJobs\GenerateMetadataJob | 2025-04-11T03:05:04+00:00 | null |
| 90601 | OCA\DAV\BackgroundJob\DeleteOutdatedSchedulingObjects | 2025-04-11T02:00:11+00:00 | null |
| 91110 | OCA\AnnouncementCenter\AnnouncementSchedulerJob | 2025-04-13T13:29:36+00:00 | null |
| 92102 | OCA\Forms\BackgroundJob\CleanupUploadedFilesJob | 2025-04-13T12:45:05+00:00 | null |
| 97671 | OC\User\BackgroundJobs\CleanupDeletedUsers | 2025-04-11T03:10:03+00:00 | null |
| 104924 | OCA\Activity\BackgroundJob\RemoveFormerActivitySettings | 2025-04-13T12:45:05+00:00 | null |
| 104964 | OCA\UpdateNotification\BackgroundJob\ResetToken | 2025-04-13T13:25:02+00:00 | null |
| 104965 | OCA\UpdateNotification\BackgroundJob\UpdateAvailableNotifications | 2025-04-11T04:35:11+00:00 | null |
| 104980 | OCA\Talk\BackgroundJob\RetryNotificationsJob | 2025-04-13T13:29:36+00:00 | null |
| 104991 | OCA\TwoFactorReminder\Backgroundjob\Watcher | 2025-03-29T17:15:04+00:00 | null |
| 107244 | OCA\Polls\Cron\JanitorCron | 2025-04-13T12:45:05+00:00 | null |
| 107245 | OCA\Polls\Cron\AutoReminderCron | 2025-04-13T13:29:36+00:00 | null |
| 107390 | OCA\News\Cron\UpdaterJob | 2025-04-13T12:45:05+00:00 | null |
+--------+-------------------------------------------------------------------+---------------------------+------------------+
+++ sudo -u www-data php /var/www/nextcloud/occ background-job:list | grep -c 2025-04-11
gives currently 29 old cron jobs, now 4 hours after powering up Nextcloud. +++
Is this normal as the host ist just running for maybe one to two hours and I simply need to wait until the particular cron jobs reach their execution window?
If this is normal and if possible (for piece of mind) to get rid of the warning message I’d prefer to execute all cron jobs once completely.