WHY?...i just glanced through the invoice design

all i did wrong was glance through invoice design and preview section…toggled HTML view mode and this is the error…I cant edit or save invoice…i cant view any invoice in pdf. from my observation, v5 is full of bugs to be considered STABLE. you cant update this app without it breaking. …all these issues are RELATED TO DATABASE…you can delete a USER from invoice ninja backend and the user is still in the DATABASE so if you want add the same user again it either wont let you do it or it have the same details as before. so if you make changes and you get an error, reverting back it normal way still show error because the data is still the same in database side. …its like the database deosnt UPDATE…i just did a FORCE UPDATE…i saw there was a newer version…now i see current version is v5.3.16 and latest version v5.3.15…which is which?..

very very unreliable and frustrating. …looks like mine if trying load invoices in HTML mode and not pdf…in my .env, i have tried setting to phantom and snappdf many times and still not working

500: Internal Server Error

<head>
    <!-- Error:  -->

                <script>
            function gtag() {
            }
        </script>
    
    <!-- Title -->
                <title>Server Error</title>
    
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content=""/>

    <!-- CSRF Token -->
    <meta name="csrf-token" content="pYig0ri8i1UNeP4R6bGPqJ4J1Ko4iNo8MeT7WDMq">

    <!-- Scripts -->
    <script src="https://www.xxxxxxxxxx/js/app.js?id=696e8203d5e8e7cf5ff5" defer></script>
    <script src="https://cdn.jsdelivr.net/gh/alpinejs/alpine@v2.7.x/dist/alpine.min.js" defer></script>

    <!-- Fonts -->
    <link rel="dns-prefetch" href="https://fonts.gstatic.com">
    <link href="https://fonts.googleapis.com/css?family=Open+Sans&display=swap" rel="stylesheet" type="text/css">

    <!-- Styles -->
    <link href="https://www.xxxxx.ca/css/app.css?id=46021f35ee55aca9ff20" rel="stylesheet">
    

    <link rel="canonical" href="https://www.xxxxx.ca/client/invoice/OjiyblZWAg0wwtBmzZt5uTUfjnm7B3WpbNiuLpKNgwd5U2MuMEImgTZ6G76kQZCC/download_pdf"/>

    
    
    <style >[wire\:loading], [wire\:loading\.delay], [wire\:loading\.inline-block], [wire\:loading\.inline], [wire\:loading\.block], [wire\:loading\.flex], [wire\:loading\.table], [wire\:loading\.grid] {display: none;}[wire\:offline] {display: none;}[wire\:dirty]:not(textarea):not(input):not(select) {display: none;}input:-webkit-autofill, select:-webkit-autofill, textarea:-webkit-autofill {animation-duration: 50000s;animation-name: livewireautofill;}@keyframes livewireautofill { from {} }</style>

    <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.css" />
</head>

<style>
:root {
    --primary-color: #1c64f2;
}

.bg-primary {
    background-color: var(--primary-color);
}

.bg-primary-darken {
    background-color: var(--primary-color);
    filter: brightness(90%);
}

.text-primary {
    color: var(--primary-color);
}
<body class="antialiased ">
    
        <div class="grid lg:grid-cols-3">
    <div class="hidden lg:block col-span-1 bg-red-100 h-screen">
        <img src="https://www.xxxxxxx.ca/images/client-portal-new-image.jpg"
             class="w-full h-screen object-cover"
             alt="Background image">
    </div>

    <div class="col-span-2 h-screen flex">
        <div class="m-auto md:w-1/2 lg:w-1/4 flex flex-col items-center">
            <span class="flex items-center text-2xl">
                500 — Server Error                </span>

            <a class="button-link text-sm mt-2" href="https://www.xxxx.ca/client">
                Back to www.xxxxxx.ca
            </a>
        </div>
    </div>
</div>

    <script {$nonce}>console.warn("Livewire: The published Livewire assets are out of date\n See: https://laravel-livewire.com/docs/installation/")</script><script src="https://www.xxxxx/vendor/livewire/livewire.js?id=b09cb328e689f1bb8d77" data-turbo-eval="false" data-turbolinks-eval="false"></script><script data-turbo-eval="false" data-turbolinks-eval="false">window.livewire = new Livewire();window.Livewire = window.livewire;window.livewire_app_url = 'https://www.xxxx.ca';window.livewire_token = 'pYig0ri8i1UNeP4R6bGPqJ4J1Ko4iNo8MeT7WDMq';window.deferLoadingAlpine = function (callback) {window.addEventListener('livewire:load', function () {callback();});};let started = false;window.addEventListener('alpine:initializing', function () {if (! started) {window.livewire.start();started = true;}});document.addEventListener("DOMContentLoaded", function () {if (! started) {window.livewire.start();started = true;}});</script>

    <script src="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.js" data-cfasync="false"></script>
    <script>
        window.addEventListener("load", function(){
            if (! window.cookieconsent) {
                return;
            }
            window.cookieconsent.initialise({
                "palette": {
                    "popup": {
                        "background": "#000"
                    },
                    "button": {
                        "background": "#f1d600"
                    },
                },
                "content": {
                    "href": "https://www.invoiceninja.com/privacy-policy/",
                    "message": "This website uses cookies to ensure you get the best experience on our website.",
                    "dismiss": "Got it!",
                    "link": "Learn more",
                }
            })}
        );
    </script>
</body>

<footer>
                </footer>

Hi,

If you’re able to share a screen recording of your problem with the invoice designer it may help.

Users are not removed from the database when they are deleted in the UI by design, this is to ensure there is a record of their changes.

@david any thoughts on the version problem?

@Kwaku_Ananse have you read any of the documentation regarding setup and configuration of the application?

specifically, you’ll find the section on configuring PhantomJS quite important

https://invoiceninja.github.io/docs/self-host-troubleshooting/#phantom-js

I did just you said…I put in my own secrete (I made up some numbers and letters) and did artisan optimize, same error, I went to the link you gave me, I signed up and got a free API key which I entered in the .env …artisan optimize and i am still getting the same error 500 when i try to view any invoice in pdf…the preview tries to OPEN IN HTML instead of PDF.

and there are no errors in storage/logs/laravel.log?

there was an error generating the PDF with Phantom JS is the main

…error/vendor/laravel/framework/src/Illuminate/Routing/Router.php(625): Illuminate\Routing\Router->dispatchToRoute()

production.ERROR: There was an error generating the PDF with Phantom JS {“exception”:"[object] (App\Exceptions\PhantomPDFFailure(code: 0):

very frustrating

well, incase you removed a user and would re-add later for any reason, you cant add the user with the same email as before. you get an error email / user already exist

you would need to restore the user

ok…right now am focused on the 500 error with GENERATION PDF with PHANTOM JS…any solution or i have to re-install ninja all over again?

my invoice viewing mode is set to HTML not PDF and this is my issue…i toggled back from HTML but I guess the changes does not take effect properly.:cry::cry::cry::cry::man_facepalming:

any solution?..it still not working for me

What’s the latest error you’re seeing in storage/logs/

#45 /xxxxxxxx/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(44): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#46 /xxxxxxxxxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Auth\Middleware\Authenticate->handle()
#47 /xxxxxxxxxxx/app/Http/Middleware/SetDomainNameDb.php(39): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#48 /xxxxxxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\SetDomainNameDb->handle()
#49 /xxxxxxxxxxxx/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#50 xx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()
#51 /xxxx/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#52 /xxxxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\View\Middleware\ShareErrorsFromSession->handle()
#53 /xxxxxxxxx/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#54 /xxxxx/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
#55 /xxxxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Session\Middleware\StartSession->handle()
#56 /xxxxxxx/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#57 /xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
#58 /xxxx/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#59 /mmmmh/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Cookie\Middleware\EncryptCookies->handle()
#60 /mmm/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#61 /mmm/vendor/laravel/framework/src/Illuminate/Routing/Router.php(697): Illuminate\Pipeline\Pipeline->then()
#62 /mmmm/vendor/laravel/framework/src/Illuminate/Routing/Router.php(672): Illuminate\Routing\Router->runRouteWithinStack()
#63 /mmmm/vendor/laravel/framework/src/Illuminate/Routing/Router.php(636): Illuminate\Routing\Router->runRoute()
#64 /mmm/vendor/laravel/framework/src/Illuminate/Routing/Router.php(625): Illuminate\Routing\Router->dispatchToRoute()
#65 /mmm/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(166): Illuminate\Routing\Router->dispatch()
#66 /mm/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
#67 /mmm/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/SetRequestIpMiddleware.php(55): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#68 /mm/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Sentry\Laravel\Http\SetRequestIpMiddleware->handle()
#69 /mmm/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/SetRequestMiddleware.php(52): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#70 mmmm/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Sentry\Laravel\Http\SetRequestMiddleware->handle()
#71 /mmmm/app/Http/Middleware/Cors.php(25): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#72 /mm/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\Cors->handle()
#73 /mm/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#74 /mm/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\Proxy\TrustProxies->handle()
#75 /mm/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#76 /mmm/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#77 /mmm/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
#78 /mmm/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#79 /mmmm/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#80 /mm/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
#81 /mmm/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#82 /mm/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()
#83 /mm/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#84 /mmm/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
#85 /mmme\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#86 /mmm/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(141): Illuminate\Pipeline\Pipeline->then()
#87 /mm/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
#88 /mmm/public/index.php(57): Illuminate\Foundation\Http\Kernel->handle()
#89 {main}
"}

Can you please include the full error, it’s starting at line 45

[2021-09-21 01:04:40] production.INFO: https://www.xxx.com/tmp_pdf/UgQAnOqHHwsSZFpSRxOCpMADXRbzRJOW
[2021-09-21 01:15:03] production.INFO: https://xxxxx.com/tmp_pdf/sjKte7VC8tH5K0XqRKfQNCHC6LGo9Zqj
[2021-09-21 01:15:07] production.INFO: https://www.xxxxxxx.com/phantom/invoice/cv14GWDagZWhV7uSBuDJfHIKYhCtz784gQnRzRZh0T4T0ItFC2Txjy05kPgc9dc8?phantomjs_secret=secret
[2021-09-21 01:15:07] production.ERROR: There was an error generating the PDF with Phantom JS {“userId”:1,“exception”:"[object] (App\Exceptions\PhantomPDFFailure(code: 0): There was an error generating the PDF with Phantom JS at /xxxxxx/app/Utils/PhantomJS/Phantom.php:135)
[stacktrace]
#0 /xxxx/app/Utils/PhantomJS/Phantom.php(91): App\Utils\PhantomJS\Phantom->checkMime()
#1 /xxxxx/app/Jobs/Entity/CreateEntityPdf.php(111): App\Utils\PhantomJS\Phantom->generate()
#2 /xx/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\Jobs\Entity\CreateEntityPdf->handle()
#3 /xxxx/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#4 /xxxx/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
#5 /xxxx/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod()
#6 /xxxx/vendor/laravel/framework/src/Illuminate/Container/Container.php(651): Illuminate\Container\BoundMethod::call()
#7 /xxxx/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(128): Illuminate\Container\Container->call()
#8 /xxxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
#9 /xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#10 /xxx/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
#11 /xxx/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(120): Illuminate\Bus\Dispatcher->dispatchNow()
#12 /xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Queue\CallQueuedHandler->Illuminate\Queue\{closure}()
#13 /xxxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#14 /xxxx/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(122): Illuminate\Pipeline\Pipeline->then()
#15 /xxxxx/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(70): Illuminate\Queue\CallQueuedHandler->dispatchThroughMiddleware()
#16 /xxxxx/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(98): Illuminate\Queue\CallQueuedHandler->call()
#17 /xxxxx/vendor/laravel/framework/src/Illuminate/Queue/SyncQueue.php(43): Illuminate\Queue\Jobs\Job->fire()
#18 /xxxxx/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(253): Illuminate\Queue\SyncQueue->push()
#19 /xxxxx/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(229): Illuminate\Bus\Dispatcher->pushCommandToQueue()
#20 /xxxxxx/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(77): Illuminate\Bus\Dispatcher->dispatchToQueue()
#21 /xx/vendor/laravel/framework/src/Illuminate/Foundation/Bus/PendingDispatch.php(202): Illuminate\Bus\Dispatcher->dispatch()
#22 /xx/vendor/laravel/framework/src/Illuminate/Foundation/Bus/Dispatchable.php(17): Illuminate\Foundation\Bus\PendingDispatch->__destruct()
#23 /xxx/app/Listeners/Invoice/CreateInvoicePdf.php(42): App\Jobs\Entity\CreateEntityPdf::dispatch()
#24 /xxx/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(234): App\Listeners\Invoice\CreateInvoicePdf->App\Listeners\Invoice\{closure}()
#25 /xxx/app/Listeners/Invoice/CreateInvoicePdf.php(43): Illuminate\Support\Collection->each()
#26 /xxx/vendor/laravel/framework/src/Illuminate/Events/CallQueuedListener.php(107): App\Listeners\Invoice\CreateInvoicePdf->handle()
#27 /xx/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\Events\CallQueuedListener->handle()
#28 /xxx/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#29 /xxx/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
#30 /xxx/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\Container\BoundMethod::callBoundMethod()
#31 /xxxx/vendor/laravel/framework/src/Illuminate/Container/Container.php(651): Illuminate\Container\BoundMethod::call()
#32 /xxxx/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(128): Illuminate\Container\Container->call()
#33 /xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
#34 /xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#35 /xxxx/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
#36 /x/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(120): Illuminate\Bus\Dispatcher->dispatchNow()
#37 /xx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Queue\CallQueuedHandler->Illuminate\Queue\{closure}()
#38 /xxxxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#39 /xxxxx/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(122): Illuminate\Pipeline\Pipeline->then()
#40 /xxxxx/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(70): Illuminate\Queue\CallQueuedHandler->dispatchThroughMiddleware()
#41 /xxxxx/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(98): Illuminate\Queue\CallQueuedHandler->call()
#42 /xxxxx/vendor/laravel/framework/src/Illuminate/Queue/SyncQueue.php(43): Illuminate\Queue\Jobs\Job->fire()
#43 /xxxxx/vendor/laravel/framework/src/Illuminate/Queue/Queue.php(57): Illuminate\Queue\SyncQueue->push()
#44 /xxxxx/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(574): Illuminate\Queue\Queue->pushOn()
#45 /xxxxx/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(498): Illuminate\Events\Dispatcher->queueHandler()
#46 /xxxxx/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(424): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}()
#47 /xxxxx/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}()
#48 /xxxxx/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(450): Illuminate\Events\Dispatcher->dispatch()
#49 /xxxxx/app/Http/Controllers/InvoiceController.php(402): event()
#50 /xxxxx/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): App\Http\Controllers\InvoiceController->update()
#51 /xxxxx/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\Routing\Controller->callAction()
#52 /xxxxx/vendor/laravel/framework/src/Illuminate/Routing/Route.php(261): Illuminate\Routing\ControllerDispatcher->dispatch()
#53 /xxxxx/vendor/laravel/framework/src/Illuminate/Routing/Route.php(204): Illuminate\Routing\Route->runController()
#54 /xxxxx/vendor/laravel/framework/src/Illuminate/Routing/Router.php(695): Illuminate\Routing\Route->run()
#55 /xxxxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Routing\Router->Illuminate\Routing\{closure}()
#56 /xx/app/Http/Middleware/QueryLogging.php(40): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#57 /xx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\QueryLogging->handle()
#58 /xx/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#59 /xx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Routing\Middleware\SubstituteBindings->handle()
#60 /xx/app/Http/Middleware/Locale.php(34): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#61 /xx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\Locale->handle()
#62 /xx/app/Http/Middleware/TokenAuth.php(80): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#63 /xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\TokenAuth->handle()
#64 /xxx/app/Http/Middleware/SetDb.php(41): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#65 /xx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\SetDb->handle()
#66 /xxxx/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(127): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#67 /xxxx/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php(63): Illuminate\Routing\Middleware\ThrottleRequests->handleRequest()
#68 /xxxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Routing\Middleware\ThrottleRequests->handle()
#69 /xxxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#70 /xxx/vendor/laravel/framework/src/Illuminate/Routing/Router.php(697): Illuminate\Pipeline\Pipeline->then()
#71 /xxxx/vendor/laravel/framework/src/Illuminate/Routing/Router.php(672): Illuminate\Routing\Router->runRouteWithinStack()
#72 /xxxx/vendor/laravel/framework/src/Illuminate/Routing/Router.php(636): Illuminate\Routing\Router->runRoute()
#73 /xxxx/vendor/laravel/framework/src/Illuminate/Routing/Router.php(625): Illuminate\Routing\Router->dispatchToRoute()
#74 /xxxxx/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(166): Illuminate\Routing\Router->dispatch()
#75 /xxxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
#76 /xxxx/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/SetRequestIpMiddleware.php(55): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#77 /xxxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Sentry\Laravel\Http\SetRequestIpMiddleware->handle()
#78 /xxx/vendor/sentry/sentry-laravel/src/Sentry/Laravel/Http/SetRequestMiddleware.php(52): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#79 /xxxxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Sentry\Laravel\Http\SetRequestMiddleware->handle()
#80 /xxxx/app/Http/Middleware/Cors.php(25): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#81 /xxxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\Cors->handle()
#82 /xxxx/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#83 /xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fideloper\Proxy\TrustProxies->handle()
#84 /xxx/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#85 /xxxx/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#86 /xxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
#87 /xxxxx/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#88 /xxxx/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#89 /xxxxxxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
#90 /xxxxxxxxxx/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#91 /xxxxxxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()
#92 /xxxxxxxx/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#93 /xxxxxxxxxxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
#94 /xxxxxx/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#95 /xxxx/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(141): Illuminate\Pipeline\Pipeline->then()
#96 /xxxxx/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
#97 /xxxxx/public/index.php(57): Illuminate\Foundation\Http\Kernel->handle()
#98 {main}
"}

If you navigate directly to this link

https://www.xxxxxxx.com/phantom/invoice/cv14GWDagZWhV7uSBuDJfHIKYhCtz784gQnRzRZh0T4T0ItFC2Txjy05kPgc9dc8?phantomjs_secret=secret

In a webbrowser. do you see your invoice HTML on the page?

It still sounds like the API key hasn’t been updated.

I gave up and did overwrite the files…I will start a new droplet. but I tried to run ninja in a subdirectory e.i www.mydomain.com/ninja_name but i keep getting a 403 error. This Ninja is getting hard to fight lol my kung-fu skill getting low ratings

has anyone been able to run ninja like www.my-domian.com/beat-ninja? using nginx on debian server

Are you a user of our app? Most of the complexity here is due to setting up the selfhost version of the app, last time I checked Wave didn’t allow their users to run their app on their own serves. If someone would like to “get on with your business” they can use our hosted platform.

Hey, you know what you work hard on this, and flat out I shouldn’t have stuck my nose in, sorry mate.

No worries, appreciate you saying that!