XF 2.1 Stuck on Pending jobs

siONtI

Well-known member
Before 2 days i tried to install a new style (IO. Dark Mode), style is shown as installed but if i try use this style homepage is blank (white)
Capture.PNG

I tried to finish that pending job many times but status is always Processing ... and i always get a cloudflare 504 error after 30-40sec and everytime i tried to run it servers were under a heavy load (130-140% usually is 5...)
I tried to finish them via cli but i get this message No more runnable jobs pending

Last night i disabled all add-ons to see if i can finish that pending job but it didn't work, then i enabled the add-ons and now they somehow are on xf_job table (they were successfully disabled/enabled)

Code:
51 pending jobs found

+-----------------------------------------------+-----------------+-------------                                                                 ---------+----------------------+
| Key                                           | Class           | Next Run                                                                              | Last Run             |
+-----------------------------------------------+-----------------+-------------                                                                 ---------+----------------------+
| addOnActiveSV/ReportImprovements              | XF:Atomic       | 29-Apr-2019                                                                  03:03:35 | 29-Apr-2019 03:07:34 |
| addOnActiveAVForums/PrefixEssentials          | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveAVForums/TagEssentials             | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveAddonsLab/ConversationPermissions  | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveAndy/ChangeAuthor                  | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveAndy/ChangeDate                    | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveAndy/QuickSearch                   | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveAnzahTools/MassActionApprovalQueue | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveAnzahTools/Promote                 | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveBR/ModernStatistic                 | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActive*******/AdvancedThreadRating       | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveConvInvisibleRecaptcha             | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveDBTech/Security                    | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveDBTech/TweetPoster                 | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveEWR/Discord                        | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveSV/ConversationEmailLimiter        | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveSV/ConversationEssentials          | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveSV/ConversationImprovements        | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveSV/CustomFieldPerms                | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveSV/ElasticSearchEssentials         | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveSV/LazyImageLoader                 | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveSV/ModeratorEssentials             | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveSV/MultiPrefix                     | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveSV/PersistentAlerts                | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveSV/ReportCentreEssentials          | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveSV/SearchImprovements              | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveSV/TitleEditHistory                | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveSV/UserEssentials                  | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveSV/WarningAcknowledgement          | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveSV/WarningImprovements             | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveSV/WatchThreadsFilter              | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveSiropu/AdsManager                  | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveTS/HideThread                      | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveThemeHouse/Covers                  | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveThemeHouse/Donate                  | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveThemeHouse/ReactPlus               | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveThemeHouse/UIX                     | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveTickTackk/JumpToPermissions        | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveTruonglv/ExcludeForumSearch        | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveTruonglv/IgnoreContent             | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveXDinc/FTSlider                     | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveXFA/CustomUsernameIcons            | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveXFA/ThreadTemplate                 | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiveXfrocks/AttachmentStore            | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActiverellect/FaviconForLinks            | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActives9e/MediaSites                     | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| addOnActivexenMade/UASD                       | XF:Atomic       | 29-Apr-2019                                                                  03:06:56 |                      |
| styleRebuild                                  | XF:Atomic       | 29-Apr-2019                                                                  03:14:09 | 29-Apr-2019 02:59:09 |
| addOnActiveThemeHouse/Trending                | XF:Atomic       | 29-Apr-2019                                                                  03:33:31 | 29-Apr-2019 03:36:48 |
| cron                                          | XF\Job\Cron     | 29-Apr-2019                                                                  14:56:02 | 29-Apr-2019 14:55:06 |
| xfUpgradeCheck                                | XF:UpgradeCheck | 30-Apr-2019                                                                  05:38:09 | 28-Apr-2019 23:13:48 |
+-----------------------------------------------+-----------------+-------------                                                                 ---------+----------------------+


If i try to disable or enable any add-on manually i get this error:

Code:
ErrorException: [E_WARNING] file_put_contents(): Exclusive locks are not supported for this stream src/vendor/league/flysystem/src/Adapter/Local.php:200
Generated by: Unknown account Apr 29, 2019 at 2:30 AM

Stack trace
#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] fil...', '/share/www/f95z...', 200, Array)
#1 src/vendor/league/flysystem/src/Adapter/Local.php(200): file_put_contents('/share/www/f95z...', '<?php// FROM H...', 2)
#2 src/vendor/league/flysystem/src/Filesystem.php(99): League\Flysystem\Adapter\Local->update('templates/l1/s0...', '<?php// FROM H...', Object(League\Flysystem\Config))
#3 [internal function]: League\Flysystem\Filesystem->put('templates/l1/s0...', '<?php// FROM H...', Object(League\Flysystem\Config))
#4 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(431): call_user_func_array('parent::put', Array)
#5 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(395): League\Flysystem\EventableFilesystem\EventableFilesystem->callFilesystemMethod('put', Array)
#6 src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php(57): League\Flysystem\EventableFilesystem\EventableFilesystem>delegateMethodCall('put', Array)
#7 src/vendor/league/flysystem/src/MountManager.php(595): League\Flysystem\EventableFilesystem\EventableFilesystem->put('templates/l1/s0...', '<?php// FROM H...', Array)
#8 src/XF/Util/File.php(197): League\Flysystem\MountManager->put('templates/l1/s0...', '<?php// FROM H...', Array)
#9 src/XF/Service/Template/Compile.php(146): XF\Util\File::writeToAbstractedPath('code-cache://te...', '<?php // FROM H...')
#10 src/XF/Service/Template/Compile.php(43): XF\Service\Template\Compile->writeCompiled(Object(DBTech\Security\XF\Entity\Template), 'codecache://te...', 'return array('m...')
#11 src/XF/Job/TemplatePartialCompile.php(38): XF\Service\Template\Compile->recompile(Object(DBTech\Security\XF\Entity\Template))
#12 src/XF/Job/Atomic.php(38): XF\Job\TemplatePartialCompile->run(8)
#13 src/XF/Job/Manager.php(253): XF\Job\Atomic->run(8)
#14 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, 8)
#15 src/XF/Job/Manager.php(164): XF\Job\Manager->runJobEntry(Array, 8)
#16 src/XF/Cli/Runner.php(113): XF\Job\Manager->runById(671187, 8)
#17 src/XF/Cli/Runner.php(64): XF\Cli\Runner->postExecutionCleanUp(Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 cmd.php(15): XF\Cli\Runner->run()
#19 {main}


Request state
array(1) {
  ["cli"] => string(44) "cmd.php xf:addon-disable Themehouse/Trending"
}

Can anyone help me? I don't know how a simple style install can cause this mess >_<
 
Last edited:
Back
Top Bottom