Hello I wanted to know if it’s possible to buy any kind of technical support for invoice ninja ? I need some help and been stuck for two weeks trying to diagnose a problem. I hope I can get this working soon so I can invoice my clients.
Hi,
We provide support for free to all users, are you seeing a specific error?
I opened a discussion on git hub but didn’t get a suggestion yet but here is some of my logs to show the errors I’m getting. I feel like the database of v4 is corrupted and when unpacking in v5 I get some weird errors about company ID.
Expanded logs show the error but everything is ok in the laravel log. All invoices did transfer but attached documents to invoice don’t transfer so I’m inclined to believe it’s associated with the expanded log errors.
root@ninjav5:~# cat /var/www/html/invoiceninja/storage/logs/laravel.log
[2024-10-11 10:40:35] production.INFO: Importing account
[2024-10-11 10:40:35] production.INFO: Importing company
[2024-10-11 10:40:35] production.INFO: Importing users
[2024-10-11 10:40:35] production.INFO: Importing payment_terms
[2024-10-11 10:40:35] production.INFO: Importing tax_rates
[2024-10-11 10:40:35] production.INFO: Importing clients
[2024-10-11 10:40:44] production.INFO: Importing company_gateways
[2024-10-11 10:40:44] production.INFO: Importing client_gateway_tokens
[2024-10-11 10:40:44] production.INFO: Importing vendors
[2024-10-11 10:40:45] production.INFO: Importing projects
[2024-10-11 10:40:45] production.INFO: Importing products
[2024-10-11 10:40:46] production.INFO: Importing credits
[2024-10-11 10:40:46] production.INFO: Importing recurring_invoices
[2024-10-11 10:40:46] production.INFO: Importing invoices
[2024-10-11 10:40:58] production.INFO: Importing quotes
[2024-10-11 10:40:59] production.INFO: Importing payments
[2024-10-11 10:41:02] production.INFO: Importing expense_categories
[2024-10-11 10:41:03] production.INFO: Importing task_statuses
[2024-10-11 10:41:03] production.INFO: in task statuses
[2024-10-11 10:41:05] production.INFO: finished task statuses
[2024-10-11 10:41:05] production.INFO: Importing expenses
[2024-10-11 10:41:05] production.INFO: Importing recurring_expenses
[2024-10-11 10:41:05] production.INFO: Importing tasks
[2024-10-11 10:41:05] production.INFO: Importing documents
[2024-10-11 10:41:05] production.INFO: Resource activities is not available for migration.
[2024-10-11 10:41:07] production.INFO: Completed:rocket: at 2024-10-11 10:41:07
root@ninjav5:~# cat /var/www/html/invoiceninja/storage/logs/invoiceninja.log
[2024-10-11 10:40:32] production.INFO: Starting Migration
[2024-10-11 10:40:32] production.INFO: purging the existing company here
[2024-10-11 10:40:34] production.INFO: starting migration job
[2024-10-11 10:40:34] production.INFO: migrations/exwrmzhxjnjxhw2rzljebkkqukpqiis0-2024-10-11-invoiceninja.zip
[2024-10-11 10:40:34] production.INFO: Inside Migration Job
[2024-10-11 10:40:35] production.INFO: Starting Migration
[2024-10-11 10:40:35] production.INFO: admin@philbast.net
[2024-10-11 10:40:35] production.INFO: Company ID =
[2024-10-11 10:40:35] production.INFO: 4
[2024-10-11 10:40:59] production.INFO: 21
[2024-10-11 10:41:00] production.INFO: 22
[2024-10-11 10:41:00] production.INFO: 23
[2024-10-11 10:41:00] production.INFO: 24
[2024-10-11 10:41:01] production.INFO: 25
[2024-10-11 10:41:01] production.INFO: 26
[2024-10-11 10:41:01] production.INFO: 27
[2024-10-11 10:41:02] production.INFO: 28
[2024-10-11 10:41:02] production.INFO: 29
[2024-10-11 10:41:02] production.INFO: 30
[2024-10-11 10:41:07] production.INFO: 1
[2024-10-11 10:41:07] production.INFO: array (
0 => ‘0 clients with incorrect balances’,
1 => ‘0 clients with incorrect invoice balances’,
2 => ‘0 clients with incorrect paid to dates’,
3 => ‘0 clients with incorrect client balances’,
4 => ‘0 contacts without a contact_key’,
5 => ‘0 clients without any contacts’,
6 => ‘0 clients without a single primary contact’,
7 => ‘10 activities records with incorrect invoice company id’,
8 => ‘10 activities records with incorrect client company id’,
9 => ‘10 activities records with incorrect payment company id’,
10 => ‘62 invoices records with incorrect client company id’,
11 => ‘10 payments records with incorrect client company id’,
‘company_hash’ => NULL,
)
[2024-10-11 10:41:07] production.INFO: attempting to process Ninja Tokens
[2024-10-11 10:41:07] production.INFO: Mailer is not defined.
[2024-10-11 10:41:07] production.INFO: latest version = 5.10.34
I believe upgrading to the latest version of v5 will resolve the conpany_id error.
I will try tonight and and let you know how it goes thank you for your help
Hi after i installed version 5.10.40 i got alot of more errors but the compagnie still migrated. here are the logs. I will try a older version to see if it could work. I didnt configure anything in v5 exept for initial setup and did the migration.
root@ninjav5:~# cat /var/www/html/invoiceninja/storage/logs/invoiceninja.log
[2024-10-18 05:26:26] production.INFO: Starting Migration
[2024-10-18 05:26:26] production.INFO: creating fresh company
[2024-10-18 05:26:26] production.INFO: starting migration job
[2024-10-18 05:26:26] production.INFO: migrations/exwrmzhxjnjxhw2rzljebkkqukpqiis0-2024-10-18-invoiceninja.zip
[2024-10-18 05:26:26] production.INFO: Inside Migration Job
[2024-10-18 05:26:26] production.INFO: Starting Migration
[2024-10-18 05:26:26] production.INFO: admin@philbast.net
[2024-10-18 05:26:26] production.INFO: Company ID =
[2024-10-18 05:26:26] production.INFO: 2
[2024-10-18 05:26:38] production.INFO: 1
[2024-10-18 05:26:38] production.INFO: 2
[2024-10-18 05:26:38] production.INFO: 3
[2024-10-18 05:26:38] production.INFO: 4
[2024-10-18 05:26:39] production.INFO: 5
[2024-10-18 05:26:39] production.INFO: 6
[2024-10-18 05:26:40] production.INFO: 7
[2024-10-18 05:26:40] production.INFO: 8
[2024-10-18 05:26:40] production.INFO: 9
[2024-10-18 05:26:40] production.INFO: 10
[2024-10-18 05:26:41] production.INFO: 1
[2024-10-18 05:26:41] production.INFO: array (
0 => ‘0 clients with incorrect balances’,
1 => ‘0 clients with incorrect invoice balances’,
2 => ‘0 clients with incorrect paid to dates’,
3 => ‘0 clients with incorrect client balances’,
4 => ‘0 contacts without a contact_key’,
5 => ‘0 clients without any contacts’,
6 => ‘0 clients without a single primary contact’,
7 => ‘10 activities records with incorrect invoice company id’,
8 => ‘10 activities records with incorrect client company id’,
9 => ‘10 activities records with incorrect payment company id’,
10 => ‘62 invoices records with incorrect client company id’,
11 => ‘10 payments records with incorrect client company id’,
‘company_hash’ => NULL,
)
[2024-10-18 05:26:41] production.INFO: attempting to process Ninja Tokens
[2024-10-18 05:26:41] production.INFO: Symfony\Component\Mailer\Transport\Dsn::__construct(): Argument #5 ($port) must be of type ?int, string given, called in /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php on line 189
cat /var/www/html/invoiceninja/storage/logs/laravel.log
[2024-10-18 05:26:26] production.INFO: Importing account
[2024-10-18 05:26:26] production.INFO: Importing company
[2024-10-18 05:26:26] production.INFO: Importing users
[2024-10-18 05:26:27] production.INFO: Importing payment_terms
[2024-10-18 05:26:27] production.INFO: Importing tax_rates
[2024-10-18 05:26:27] production.INFO: Importing clients
[2024-10-18 05:26:31] production.INFO: Importing company_gateways
[2024-10-18 05:26:31] production.INFO: Importing client_gateway_tokens
[2024-10-18 05:26:31] production.INFO: Importing vendors
[2024-10-18 05:26:31] production.INFO: Importing projects
[2024-10-18 05:26:31] production.INFO: Importing products
[2024-10-18 05:26:31] production.INFO: Importing credits
[2024-10-18 05:26:31] production.INFO: Importing recurring_invoices
[2024-10-18 05:26:31] production.INFO: Importing invoices
[2024-10-18 05:26:37] production.INFO: Importing quotes
[2024-10-18 05:26:38] production.INFO: Importing payments
[2024-10-18 05:26:40] production.INFO: Importing expense_categories
[2024-10-18 05:26:40] production.INFO: Importing task_statuses
[2024-10-18 05:26:40] production.INFO: in task statuses
[2024-10-18 05:26:40] production.INFO: finished task statuses
[2024-10-18 05:26:40] production.INFO: Importing expenses
[2024-10-18 05:26:40] production.INFO: Importing recurring_expenses
[2024-10-18 05:26:40] production.INFO: Importing tasks
[2024-10-18 05:26:40] production.INFO: Importing documents
[2024-10-18 05:26:40] production.INFO: Resource activities is not available for migration.
[2024-10-18 05:26:41] production.ERROR: Symfony\Component\Mailer\Transport\Dsn::__construct(): Argument #5 ($port) must be of type ?int, string given, called in /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php on line 189 {“userId”:1,“exception”:"[object] (TypeError(code: 0): Symfony\Component\Mailer\Transport\Dsn::__construct(): Argument #5 ($port) must be of type ?int, string given, called in /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php on line 189 at /var/www/html/invoiceninja/vendor/symfony/mailer/Transport/Dsn.php:28)
[stacktrace]
#0 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php(189): Symfony\Component\Mailer\Transport\Dsn->__construct()
#1 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php(168): Illuminate\Mail\MailManager->createSmtpTransport()
#2 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php(126): Illuminate\Mail\MailManager->createSymfonyTransport()
#3 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php(101): Illuminate\Mail\MailManager->resolve()
#4 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php(79): Illuminate\Mail\MailManager->get()
#5 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Mail/MailManager.php(607): Illuminate\Mail\MailManager->mailer()
#6 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(358): Illuminate\Mail\MailManager->__call()
#7 /var/www/html/invoiceninja/app/Jobs/Util/Import.php(269): Illuminate\Support\Facades\Facade::__callStatic()
#8 /var/www/html/invoiceninja/app/Jobs/Util/StartMigration.php(125): App\Jobs\Util\Import->handle()
#9 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\Jobs\Util\StartMigration->handle()
#10 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#11 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(95): Illuminate\Container\Util::unwrapIfClosure()
#12 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod()
#13 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/Container.php(690): Illuminate\Container\BoundMethod::call()
#14 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(128): Illuminate\Container\Container->call()
#15 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
#16 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#17 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
#18 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(124): Illuminate\Bus\Dispatcher->dispatchNow()
#19 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\Queue\CallQueuedHandler->Illuminate\Queue\{closure}()
#20 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#21 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(123): Illuminate\Pipeline\Pipeline->then()
#22 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(71): Illuminate\Queue\CallQueuedHandler->dispatchThroughMiddleware()
#23 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\Queue\CallQueuedHandler->call()
#24 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Queue/SyncQueue.php(76): Illuminate\Queue\Jobs\Job->fire()
#25 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Queue/SyncQueue.php(56): Illuminate\Queue\SyncQueue->executeJob()
#26 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(254): Illuminate\Queue\SyncQueue->push()
#27 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(230): Illuminate\Bus\Dispatcher->pushCommandToQueue()
#28 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(77): Illuminate\Bus\Dispatcher->dispatchToQueue()
#29 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Bus/PendingDispatch.php(205): Illuminate\Bus\Dispatcher->dispatch()
#30 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Bus/Dispatchable.php(19): Illuminate\Foundation\Bus\PendingDispatch->__destruct()
#31 /var/www/html/invoiceninja/app/Http/Controllers/MigrationController.php(440): App\Jobs\Util\StartMigration::dispatch()
#32 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\Http\Controllers\MigrationController->startMigration()
#33 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\Routing\Controller->callAction()
#34 /var/www/html/invoiceninja/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/Routing/TracingControllerDispatcherTracing.php(21): Illuminate\Routing\ControllerDispatcher->dispatch()
#35 /var/www/html/invoiceninja/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/Routing/TracingRoutingDispatcher.php(18): Sentry\Laravel\Tracing\Routing\TracingControllerDispatcherTracing->Sentry\Laravel\Tracing\Routing\{closure}()
#36 /var/www/html/invoiceninja/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/Routing/TracingControllerDispatcherTracing.php(20): Sentry\Laravel\Tracing\Routing\TracingRoutingDispatcher->wrapRouteDispatch()
#37 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/Route.php(262): Sentry\Laravel\Tracing\Routing\TracingControllerDispatcherTracing->dispatch()
#38 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/Route.php(208): Illuminate\Routing\Route->runController()
#39 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/Router.php(808): Illuminate\Routing\Route->run()
#40 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\Routing\Router->Illuminate\Routing\{closure}()
#41 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(124): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#42 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(89): Illuminate\Routing\Middleware\ThrottleRequests->handleRequestUsingNamedLimiter()
#43 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Routing\Middleware\ThrottleRequests->handle()
#44 /var/www/html/invoiceninja/app/Http/Middleware/QueryLogging.php(39): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#45 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): App\Http\Middleware\QueryLogging->handle()
#46 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(51): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#47 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Routing\Middleware\SubstituteBindings->handle()
#48 /var/www/html/invoiceninja/app/Http/Middleware/Locale.php(95): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#49 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): App\Http\Middleware\Locale->handle()
#50 /var/www/html/invoiceninja/app/Http/Middleware/TokenAuth.php(102): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#51 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): App\Http\Middleware\TokenAuth->handle()
#52 /var/www/html/invoiceninja/app/Http/Middleware/SetDb.php(40): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#53 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): App\Http\Middleware\SetDb->handle()
#54 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#55 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/Router.php(807): Illuminate\Pipeline\Pipeline->then()
#56 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/Router.php(786): Illuminate\Routing\Router->runRouteWithinStack()
#57 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/Router.php(750): Illuminate\Routing\Router->runRoute()
#58 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/Router.php(739): Illuminate\Routing\Router->dispatchToRoute()
#59 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(201): Illuminate\Routing\Router->dispatch()
#60 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
#61 /var/www/html/invoiceninja/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/FlushEventsMiddleware.php(13): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#62 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Sentry\Laravel\Http\FlushEventsMiddleware->handle()
#63 /var/www/html/invoiceninja/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/SetRequestIpMiddleware.php(45): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#64 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Sentry\Laravel\Http\SetRequestIpMiddleware->handle()
#65 /var/www/html/invoiceninja/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/SetRequestMiddleware.php(31): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#66 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Sentry\Laravel\Http\SetRequestMiddleware->handle()
#67 /var/www/html/invoiceninja/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php(19): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#68 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Livewire\Features\SupportDisablingBackButtonCache\DisableBackButtonCacheMiddleware->handle()
#69 /var/www/html/invoiceninja/app/Http/Middleware/Cors.php(24): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#70 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): App\Http\Middleware\Cors->handle()
#71 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(58): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#72 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Http\Middleware\TrustProxies->handle()
#73 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#74 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#75 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
#76 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#77 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#78 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
#79 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#80 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Http\Middleware\ValidatePostSize->handle()
#81 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#82 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
#83 /var/www/html/invoiceninja/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Tracing/Middleware.php(79): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#84 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Sentry\Laravel\Tracing\Middleware->handle()
#85 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#86 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(176): Illuminate\Pipeline\Pipeline->then()
#87 /var/www/html/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(145): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
#88 /var/www/html/invoiceninja/public/index.php(56): Illuminate\Foundation\Http\Kernel->handle()
#89 {main}
"}
Can you check that the mail port value in the v5 .env file isn’t wrapped in quotes, ie. 123 vs “123”
Hi I did a fresh install today of 5.10.43 on ubuntu 20.04 with the invoiceninja.tar and im still getting weird compagny id error when migrating. Even tried with 5.10.0 and still getting the same error so this lead me to conclude that my v4.5.50 has something wrong with it. Everything does migrate correctly except for documents that were attached to invoices weirdly. How do I fix the incorrect activities records with incorrect " " company id ?
[2024-11-01 18:03:57] production.INFO: array (
0 => ‘0 clients with incorrect balances’,
1 => ‘0 clients with incorrect invoice balances’,
2 => ‘0 clients with incorrect paid to dates’,
3 => ‘0 clients with incorrect client balances’,
4 => ‘0 contacts without a contact_key’,
5 => ‘0 clients without any contacts’,
6 => ‘0 clients without a single primary contact’,
7 => ‘10 activities records with incorrect invoice company id’,
8 => ‘10 activities records with incorrect client company id’,
9 => ‘10 activities records with incorrect payment company id’,
10 => ‘62 invoices records with incorrect client company id’,
11 => ‘10 payments records with incorrect client company id’,
‘company_hash’ => NULL,
)
It may help to run php artisan ninja:check-data --fix=true
If that doesn’t solve it feel free to create a discussion on GitHub.