Recurring invoice did not send after migrating v5 installation to Plesk

Hi,

I have restored a v5 installation from another hosting to Digital Ocean droplet with Plesk Ubuntu Image.

Basically the restored files are:

  • Copy the entire /public_html of the v5 to new droplet Plesk webroot folder for my subdomain /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/
  • Import SQL

Commands executed:

  • php artisan optimize
  • php artisan migrate --force
  • /update?secret=

Login to the website seems normal.

Here are the entries in storage.log (before and after migration)
[2022-04-11 00:00:02] production.INFO: updating currencies
[2022-04-11 06:00:01] production.INFO: Performing Autobilling 2022-04-11 06:00:01
[2022-04-12 00:00:02] production.INFO: updating currencies
[2022-04-12 06:00:02] production.INFO: Performing Autobilling 2022-04-12 06:00:02
[2022-04-13 00:00:03] production.INFO: updating currencies
[2022-04-13 06:00:01] production.INFO: Performing Autobilling 2022-04-13 06:00:01
[2022-04-14 01:57:22] production.INFO: https://invoice.xxdomain.com/phantom/recurring_invoice/xxxxxxxxxxxx?phantomjs_secret=xxxxxx
[2022-04-15 14:15:50] production.INFO: https://invoice.xxdomain.com/phantom/invoice/xxxxxxxxxxxx?phantomjs_secret=xxxxxx
[2022-04-15 14:15:54] production.INFO: https://invoice.xxdomain.com/phantom/invoice/xxxxxxxxxxxx?phantomjs_secret=xxxxxx

(1) The daily entries in storage.log stopped appearing after migration to Plesk:

  • production.INFO: updating currencies
  • production.INFO: Performing Autobilling 2022-04-13 06:00:01

Cron job in Plesk seems to be working as there is no red triangle appearing in v5 dashboard, and command successfully completed in 0 seconds. Here is the cron command (i.e. running as www-data user):
cd /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/ && /opt/plesk/php/7.4/bin/php -d register_argc_argv=On artisan schedule:run >> /dev/null 2>&1

In Plesk, the webroot folder is under this created username (e.g. ‘mywebuser’) and Group ‘psacln’. Could this differing user cause any issue?

(2) Recurring Invoice did not send
I saw a few articles around this:

Here are 2 commands I ran:

  • php artisan cache:clear (didn’t work)
  • php artisan ninja:send-recurring (triggered the recurring invoice job)

(3) Other erros in storage.log

========================================
[2022-04-16 02:50:59] production.ERROR: Call to undefined method App\Models\ClientContact::buildCache() {“exception”:"[object] (BadMethodCallException(code: 0): Call to undefined method App\Models\ClientContact::buildCache() at /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php:71)

[stacktrace]

#0 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(36): Illuminate\Database\Eloquent\Model::throwBadMethodCallException()

#1 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2132): Illuminate\Database\Eloquent\Model->forwardCallTo()

#2 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/app/Models/ClientContact.php(221): Illuminate\Database\Eloquent\Model->__call()

#3 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/app/Utils/PhantomJS/Phantom.php(178): App\Models\ClientContact->preferredLocale()

#4 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(48): App\Utils\PhantomJS\Phantom->displayInvitation()

#5 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Routing/Route.php(262): Illuminate\Routing\ControllerDispatcher->dispatch()

#6 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\Routing\Route->runController()

#7 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php(721): Illuminate\Routing\Route->run()

#8 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Routing\Router->Illuminate\Routing\{closure}()

#9 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/app/Http/Middleware/QueryLogging.php(39): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#10 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\QueryLogging->handle()

#11 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#12 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Routing\Middleware\SubstituteBindings->handle()

#13 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/app/Http/Middleware/PhantomSecret.php(29): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#14 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\PhantomSecret->handle()

#15 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/app/Http/Middleware/SetInviteDb.php(84): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#16 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\SetInviteDb->handle()

#17 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#18 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()

#19 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#20 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\View\Middleware\ShareErrorsFromSession->handle()

#21 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#22 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()

#23 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/app/Http/Middleware/SessionDomains.php(32): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#24 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\SessionDomains->handle()

#25 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#26 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest()

#27 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Session\Middleware\StartSession->handle()

#28 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#29 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Cookie\Middleware\EncryptCookies->handle()

#30 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#31 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php(723): Illuminate\Pipeline\Pipeline->then()

#32 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php(698): Illuminate\Routing\Router->runRouteWithinStack()

#33 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php(662): Illuminate\Routing\Router->runRoute()

#34 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php(651): Illuminate\Routing\Router->dispatchToRoute()

#35 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(167): Illuminate\Routing\Router->dispatch()

#36 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()

#37 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/SetRequestIpMiddleware.php(45): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#38 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Sentry\Laravel\Http\SetRequestIpMiddleware->handle()

#39 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/SetRequestMiddleware.php(42): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#40 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Sentry\Laravel\Http\SetRequestMiddleware->handle()

#41 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/livewire/livewire/src/DisableBrowserCache.php(19): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#42 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Livewire\DisableBrowserCache->handle()

#43 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/app/Http/Middleware/Cors.php(25): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#44 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\Cors->handle()

#45 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#46 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\Proxy\TrustProxies->handle()

#47 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#48 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()

#49 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()

#50 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#51 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()

#52 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\TrimStrings->handle()

#53 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#54 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()

#55 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#56 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()

#57 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#58 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142): Illuminate\Pipeline\Pipeline->then()

#59 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()

#60 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/public/index.php(57): Illuminate\Foundation\Http\Kernel->handle()

#61 {main}

"}

[2022-04-16 02:58:17] production.ERROR: Call to a member function filter() on null {“userId”:1,“exception”:"[object] (Error(code: 0): Call to a member function filter() on null at /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/app/Models/Company.php:376)

[stacktrace]

#0 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/app/Models/Company.php(386): App\Models\Company->language()

#1 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/app/Http/Middleware/Locale.php(40): App\Models\Company->getLocale()

#2 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\Locale->handle()

#3 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/app/Http/Middleware/TokenAuth.php(99): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#4 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\TokenAuth->handle()

#5 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/app/Http/Middleware/SetDb.php(41): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#6 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\SetDb->handle()

#7 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#8 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php(723): Illuminate\Pipeline\Pipeline->then()

#9 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php(698): Illuminate\Routing\Router->runRouteWithinStack()

#10 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php(662): Illuminate\Routing\Router->runRoute()

#11 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Routing/Router.php(651): Illuminate\Routing\Router->dispatchToRoute()

#12 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(167): Illuminate\Routing\Router->dispatch()

#13 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()

#14 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/SetRequestIpMiddleware.php(45): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#15 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Sentry\Laravel\Http\SetRequestIpMiddleware->handle()

#16 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/SetRequestMiddleware.php(42): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#17 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Sentry\Laravel\Http\SetRequestMiddleware->handle()

#18 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/livewire/livewire/src/DisableBrowserCache.php(19): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#19 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Livewire\DisableBrowserCache->handle()

#20 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/app/Http/Middleware/Cors.php(25): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#21 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\Cors->handle()

#22 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#23 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\Proxy\TrustProxies->handle()

#24 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#25 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()

#26 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()

#27 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#28 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()

#29 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\TrimStrings->handle()

#30 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#31 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()

#32 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#33 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()

#34 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()

#35 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142): Illuminate\Pipeline\Pipeline->then()

#36 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()

#37 /var/www/vhosts/xxdomain.com/invoice.xxdomain.com/public/index.php(57): Illuminate\Foundation\Http\Kernel->handle()

#38 {main}

"}

========================================

Is there something I can run to further check on?

Thank you.

Hi,

  1. Maybe the web user doesn’t have permissions to write to the file?

  2. ninja:send-recurring is the command for v4

  3. @david any thoughts?

You’ll need to run

/update?secret=

where the secret parameter is the value in your .env file of UPDATE_SECRET

this should resolve the issue where your cache needs to be rebuilt.