hkoutso
December 16, 2024, 11:35am
1
Hello,
I have purchased a 30$ annual license for our self-hosted v4.5.50 via Purchase but I cannot apply it to the installation (it looks like the license number I received after the purchase is for v5 or something like that).
Is it possible to use the license on v4.5.50 ? We will be upgrading to v5 sometime next year but for now it would be ideal to be able to continue using v4 with a valid license for a few months.
Many thanks in advance.
hillel
December 16, 2024, 11:43am
2
Hi,
I believe it should work, have you tried applying it?
hkoutso
December 16, 2024, 11:55am
3
Yes I did but it seems that the characters in the license received by email are more than the characters the field allows on v4.5.50. When I try to apply it, it gives an Error 500.
Do you want me to send you the license number somewhere to verify ?
Thanks for your help!
hillel
December 16, 2024, 12:08pm
4
Are there any details about the 500 error in storage/log
hkoutso
December 16, 2024, 12:27pm
5
The only error I can see in the Apache Logs is the following :
[Mon Dec 16 14:24:32.675236 2024] [proxy_fcgi:error] [pid 3662:tid 140354042570496] [client xx.xx.xx.xx:54312] AH01071: Got error âPHP message: PHP Warning: Class âGoogle_Serviceâ not found in /opt/ninja/vendor/google/apiclient-services/autoload.php on line 21PHP message: PHP Warning: Class âGoogle_Service_Resourceâ not found in /opt/ninja/vendor/google/apiclient-services/autoload.php on line 21PHP message: PHP Warning: Class âGoogle_Modelâ not found in /opt/ninja/vendor/google/apiclient-services/autoload.php on line 21PHP message: PHP Warning: Class âGoogle_Collectionâ not found in /opt/ninja/vendor/google/apiclient-services/autoload.php on line 21â, referer: https://xxxx.xxx.xx/invoices/settings/account_management
I am not sure if this error has to do with the license thoughâŚ
hillel
December 16, 2024, 12:31pm
6
Correct, those arenât related
If youâre seeing a 500 error in the app there will be more details in either the web server error logs or in storage/logs/
hkoutso
December 16, 2024, 12:36pm
7
OK so the following entry is recorded on laravel-error.log on storage/logs/ :
[2024-12-16T12:33:59.580438+00:00] production.ERROR: [stacktrace] 2024-12-16 12:33:59 Call to a member function modify() on bool: #0 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): App\Http\Middleware\StartupCheck->handle(Object(Illuminate\Http\Request), Object(Closure)) #1 /opt/ninja/app/Http/Middleware/QueryLogging.php(32): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request)) #2 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): App\Http\Middleware\QueryLogging->handle(Object(Illuminate\Http\Request), Object(Closure)) #3 /opt/ninja/app/Http/Middleware/DuplicateSubmissionCheck.php(41): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request)) #4 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): App\Http\Middleware\DuplicateSubmissionCheck->handle(Object(Illuminate\Http\Request), Object(Closure)) #5 /opt/ninja/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request)) #6 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure)) #7 /opt/ninja/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request)) #8 /opt/ninja/app/Http/Middleware/VerifyCsrfToken.php(44): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(Object(Illuminate\Http\Request), Object(Closure)) #9 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): App\Http\Middleware\VerifyCsrfToken->handle(Object(Illuminate\Http\Request), Object(Closure)) #10 /opt/ninja/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request)) #11 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure)) #12 /opt/ninja/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(56): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request)) #13 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure)) #14 /opt/ninja/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request)) #15 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure)) #16 /opt/ninja/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request)) #17 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure)) #18 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(105): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request)) #19 /opt/ninja/vendor/laravel/framework/src/Illuminate/Routing/Router.php(683): Illuminate\Pipeline\Pipeline->then(Object(Closure)) #20 /opt/ninja/vendor/laravel/framework/src/Illuminate/Routing/Router.php(658): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request)) #21 /opt/ninja/vendor/laravel/framework/src/Illuminate/Routing/Router.php(624): Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route)) #22 /opt/ninja/vendor/laravel/framework/src/Illuminate/Routing/Router.php(613): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request)) #23 /opt/ninja/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(170): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request)) #24 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(130): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http{closure}(Object(Illuminate\Http\Request)) #25 /opt/ninja/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php(60): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request)) #26 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Barryvdh\Debugbar\Middleware\InjectDebugbar->handle(Object(Illuminate\Http\Request), Object(Closure)) #27 /opt/ninja/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(63): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request)) #28 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure)) #29 /opt/ninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(105): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request)) #30 /opt/ninja/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(145): Illuminate\Pipeline\Pipeline->then(Object(Closure)) #31 /opt/ninja/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request)) #32 /opt/ninja/public/index.php(53): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request)) #33 {main} {âcontextâ:âPHPâ,âuser_idâ:1,âaccount_idâ:1,âuser_nameâ:âxxx xxxxxâ,âmethodâ:âGETâ,âuser_agentâ:âMozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36â,âlocaleâ:âelâ,âipâ:âxx.xx.xx.xxâ,âcountâ:6,âis_consoleâ:ânoâ,âis_apiâ:ânoâ,âdb_serverâ:âmysqlâ,âurlâ:âdashboardâ}
hillel
December 16, 2024, 12:39pm
8
Do you see more of these error generated when you try to apply the license?
hkoutso
December 16, 2024, 12:41pm
9
yes exactly - everytime I try to apply the license another same error entry is generated (I am monitoring the laravel-error.log via tail -f before hitting apply)
hillel
December 16, 2024, 12:49pm
10
Iâm not sure, itâs the first time Iâve seen this error.
I suggest asking in a discussion on GitHub.
1 Like
hkoutso
December 16, 2024, 1:00pm
11
ok many thanks for your help! Do you think it is possible to ask for a refund ? Should I contact someone at Invoiceninja ?
hillel
December 16, 2024, 1:04pm
12
If you canât apply the license weâll of course provide a refund.
Please send an email to [email protected] .