Stuck on 5.4.4 or is this stable?

I am not sure if my installation is stuck on 5.4.4 or if this is the currently stable release.
Github has no stable flags, so I assume that 5.5.9 is the currently stable release?

But my dashboard thinks that I am up to date with 5.4.4…

Hi,

5.5.9 is the current stable release.

Note: the 5.5.x releases require PHP 8.1

I am currently running PHP 8.1.

Is there a reason, why the dashboard does not show the update?

@david any thoughts?

I think I found something.
My logs are full with these errors.

[2022-08-12 00:00:02] production.INFO: updating currencies
[2022-08-12 00:00:03] production.ERROR: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
error:0A000126:SSL routines::unexpected eof while reading {"exception":"[object] (ErrorException(code: 0): file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
error:0A000126:SSL routines::unexpected eof while reading at /usr/share/nginx/invoiceninja/app/Jobs/Util/VersionCheck.php:38)
[stacktrace]
#0 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#1 /usr/share/nginx/invoiceninja/app/Jobs/Util/VersionCheck.php(38): file_get_contents()
#2 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\\Jobs\\Util\\VersionCheck->handle()
#3 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#4 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()
#5 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#6 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/Container.php(653): Illuminate\\Container\\BoundMethod::call()
#7 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(128): Illuminate\\Container\\Container->call()
#8 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}()
#9 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#10 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(132): Illuminate\\Pipeline\\Pipeline->then()
#11 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(120): Illuminate\\Bus\\Dispatcher->dispatchNow()
#12 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}()
#13 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#14 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(122): Illuminate\\Pipeline\\Pipeline->then()
#15 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(70): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware()
#16 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(98): Illuminate\\Queue\\CallQueuedHandler->call()
#17 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Queue/SyncQueue.php(43): Illuminate\\Queue\\Jobs\\Job->fire()
#18 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(253): Illuminate\\Queue\\SyncQueue->push()
#19 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(229): Illuminate\\Bus\\Dispatcher->pushCommandToQueue()
#20 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(77): Illuminate\\Bus\\Dispatcher->dispatchToQueue()
#21 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Bus/PendingDispatch.php(193): Illuminate\\Bus\\Dispatcher->dispatch()
#22 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Bus/Dispatchable.php(17): Illuminate\\Foundation\\Bus\\PendingDispatch->__destruct()
#23 /usr/share/nginx/invoiceninja/app/Jobs/Util/SchedulerCheck.php(70): App\\Jobs\\Util\\VersionCheck::dispatch()
#24 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\\Jobs\\Util\\SchedulerCheck->handle()
#25 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#26 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()
#27 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#28 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/Container.php(653): Illuminate\\Container\\BoundMethod::call()
#29 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(128): Illuminate\\Container\\Container->call()
#30 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Bus\\Dispatcher->Illuminate\\Bus\\{closure}()
#31 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#32 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(132): Illuminate\\Pipeline\\Pipeline->then()
#33 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(120): Illuminate\\Bus\\Dispatcher->dispatchNow()
#34 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Queue\\CallQueuedHandler->Illuminate\\Queue\\{closure}()
#35 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#36 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(122): Illuminate\\Pipeline\\Pipeline->then()
#37 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(70): Illuminate\\Queue\\CallQueuedHandler->dispatchThroughMiddleware()
#38 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(98): Illuminate\\Queue\\CallQueuedHandler->call()
#39 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Queue/SyncQueue.php(43): Illuminate\\Queue\\Jobs\\Job->fire()
#40 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(253): Illuminate\\Queue\\SyncQueue->push()
#41 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(229): Illuminate\\Bus\\Dispatcher->pushCommandToQueue()
#42 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(77): Illuminate\\Bus\\Dispatcher->dispatchToQueue()
#43 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Console/Scheduling/Schedule.php(183): Illuminate\\Bus\\Dispatcher->dispatch()
#44 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Console/Scheduling/Schedule.php(149): Illuminate\\Console\\Scheduling\\Schedule->dispatchToQueue()
#45 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\Schedule->Illuminate\\Console\\Scheduling\\{closure}()
#46 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Closure->__invoke()
#47 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#48 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()
#49 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#50 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/Container.php(653): Illuminate\\Container\\BoundMethod::call()
#51 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Console/Scheduling/CallbackEvent.php(79): Illuminate\\Container\\Container->call()
#52 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(143): Illuminate\\Console\\Scheduling\\CallbackEvent->run()
#53 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Console/Scheduling/ScheduleRunCommand.php(102): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent()
#54 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle()
#55 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/Util.php(40): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#56 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()
#57 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#58 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Container/Container.php(653): Illuminate\\Container\\BoundMethod::call()
#59 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Console/Command.php(136): Illuminate\\Container\\Container->call()
#60 /usr/share/nginx/invoiceninja/vendor/symfony/console/Command/Command.php(298): Illuminate\\Console\\Command->execute()
#61 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Console/Command.php(121): Symfony\\Component\\Console\\Command\\Command->run()
#62 /usr/share/nginx/invoiceninja/vendor/symfony/console/Application.php(1024): Illuminate\\Console\\Command->run()
#63 /usr/share/nginx/invoiceninja/vendor/symfony/console/Application.php(299): Symfony\\Component\\Console\\Application->doRunCommand()
#64 /usr/share/nginx/invoiceninja/vendor/symfony/console/Application.php(171): Symfony\\Component\\Console\\Application->doRun()
#65 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Console/Application.php(94): Symfony\\Component\\Console\\Application->run()
#66 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(129): Illuminate\\Console\\Application->run()
#67 /usr/share/nginx/invoiceninja/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()
#68 {main}

I think this has something to do with my network settings. Ninja uses a http NGINX behind a https NGINX reverse proxy.

If you are behind a proxy, in your .env file add

TRUSTED_PROXIES=’*’

then run

php artisan optimize

and attempt again.

TRUSTED_PROXIES was set to 192.168.1.50 without any apostrophe.

I am sorry to ask that stupid question, but do you think I should set it to "*" or '*' ?

For testing I set it to "*" and run php artisan optimize. There are no logs and no update notification on the dashboard.

@JamesKimmel

The VersionCheck runs once per day, so you may not see an error message until tomorrow.

1 Like

Well david, you were right :slight_smile:
Get the error message again today. Not sure what I am doing wrong tough or how the update mechanism works.

Here is what I did on v4 to get the company logo loading on invoices correctly:

Ninja has IP 10.0.10.3
NGINX proxy has 10.0.10.2
DNS has 10.0.10.1

The old invoice version loaded mydomain.com/logo onto the invoice. But mydomain.com was translated to public IPv4 instead of the local proxy. After overwriting to local DNS entry for mydomain.com to 10.0.10.2 everything worked.

Same is true for the current setup. There is still a local DNS overwrite for the domain.

I can’t wrap my head around where the error could be. Maybe if I understand how the updater works, I can find out the problem? I assume the updater just asks for a ninja.com/currentversion to check against the local version?

The version check just pulls in the latest version tag from

https://pdf.invoicing.co/api/version

The issue here appears to be the SSL handshake. In 5.5, we do silence the SSL error so you may need to do a manual update to get past this on your system, we have had one other report of this issue with users from Ubuntu 22.04.

Pinging pdf.invoicing.com gives me 199.59.243.220 on both machines, so DNS should not be the problem.
System is running 22.04.1 LTS so you are like always spot on :smile:

Unfortunately I am unable to manually upgrade the system. Here is what I did. There is a snapshot to revert these changes.

cd /usr/share/nginx/invoiceninja/

sudo -u www-data wget https://github.com/invoiceninja/invoiceninja/releases/download/v5.5.11/invoiceninja.zip

sudo -u www-data unzip invoiceninja.zip 
A

After that I get a blank white page.

laravel.logs has these two entries:

 [2022-08-18 08:42:34] production.ERROR: Class "Coconuts\Mail\PostmarkServiceProvider" not found {"exception":"[object] (Error(code: 0): Class \"Coconuts\\Mail\\PostmarkServiceProvider\" not foun>
[stacktrace]
#0 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(683): Illuminate\\Foundation\\Application->resolveProvider()
#1 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(75): Illuminate\\Foundation\\Application->register()
#2 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(663): Illuminate\\Foundation\\ProviderRepository->load()
#3 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php(17): Illuminate\\Foundation\\Application->registerConfiguredProviders()
#4 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(239): Illuminate\\Foundation\\Bootstrap\\RegisterProviders->bootstrap()
#5 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(153): Illuminate\\Foundation\\Application->bootstrapWith()
#6 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(137): Illuminate\\Foundation\\Http\\Kernel->bootstrap()
#7 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#8 /usr/share/nginx/invoiceninja/public/index.php(57): Illuminate\\Foundation\\Http\\Kernel->handle()
#9 {main}
"}
[2022-08-18 08:42:34] production.ERROR: Target class [translator] does not exist. (View: /usr/share/nginx/invoiceninja/resources/views/errors/500.blade.php) {"exception":"[object] (Illuminate\\V>
[stacktrace]
#0 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(60): Illuminate\\View\\Engines\\CompilerEngine->handleViewException()
#1 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(61): Illuminate\\View\\Engines\\PhpEngine->evaluatePath()
#2 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/View/View.php(139): Illuminate\\View\\Engines\\CompilerEngine->get()
#3 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/View/View.php(122): Illuminate\\View\\View->getContents()
#4 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/View/View.php(91): Illuminate\\View\\View->renderContents()
#5 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Http/Response.php(69): Illuminate\\View\\View->render()
#6 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Http/Response.php(35): Illuminate\\Http\\Response->setContent()
#7 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(57): Illuminate\\Http\\Response->__construct()
#8 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(87): Illuminate\\Routing\\ResponseFactory->make()
#9 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(616): Illuminate\\Routing\\ResponseFactory->view()
#10 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(541): Illuminate\\Foundation\\Exceptions\\Handler->renderHttpException()
#11 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(447): Illuminate\\Foundation\\Exceptions\\Handler->prepareResponse()
#12 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(366): Illuminate\\Foundation\\Exceptions\\Handler->renderExceptionResponse()
#13 /usr/share/nginx/invoiceninja/app/Exceptions/Handler.php(209): Illuminate\\Foundation\\Exceptions\\Handler->render()
#14 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(427): App\\Exceptions\\Handler->render()
#15 /usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(115): Illuminate\\Foundation\\Http\\Kernel->renderException()
#16 /usr/share/nginx/invoiceninja/public/index.php(57): Illuminate\\Foundation\\Http\\Kernel->handle()
#17 {main}

Rebooting and running

sudo -u www-data php artisan optimize

shows

In Application.php line 751:

  Class "Coconuts\Mail\PostmarkServiceProvider" not found

You’ll want to try clearing the contents of bootstrap/cache

if that also fails, please try

composer install -o --no-dev

Well, this gets even stranger.
After blearing the bootstrap/cache, I can see the login page. But I throws an error 500 when I try to login. For some reason the Windows App works.

Running composer gives me these warnings

Nothing to install, update or remove
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony                                                                                                                                    /filesystem instead.
Generating optimized autoload files
Warning: Ambiguous class resolution, "Illuminate\Support\HigherOrderWhenProxy" w                                                                                                                                    as found 2x: in "/usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illu                                                                                                                                    minate/Collections/HigherOrderWhenProxy.php" and "/usr/share/nginx/invoiceninja/                                                                                                                                    vendor/laravel/framework/src/Illuminate/Conditionable/HigherOrderWhenProxy.php",                                                                                                                                     the first will be used.
Warning: Ambiguous class resolution, "Illuminate\Support\Traits\Conditionable" w                                                                                                                                    as found 2x: in "/usr/share/nginx/invoiceninja/vendor/laravel/framework/src/Illu                                                                                                                                    minate/Conditionable/Traits/Conditionable.php" and "/usr/share/nginx/invoiceninj                                                                                                                                    a/vendor/laravel/framework/src/Illuminate/Support/Traits/Conditionable.php", the                                                                                                                                     first will be used.

Anyway, as there is already a new release, I will rollback my snapsho and report back how it went.

Well here is what I did:

cd /usr/share/nginx/invoiceninja/

sudo -u www-data wget https://github.com/invoiceninja/invoiceninja/releases/download/v5.5.13/invoiceninja.zip

sudo rm -r bootstrap/cache/*
sudo mv storage/logs/laravel.log storage/logs/old_laravel.log

sudo shutdown now

create snapshot1

cd /usr/share/nginx/invoiceninja/
sudo -u www-data unzip invoiceninja.zip 

logs are empty

sudo -u www-data php artisan optimize


In Container.php line 877:

  Target class [db.schema] does not exist.


In Container.php line 875:

  Class "db.schema" does not exist

Blank white page.

sudo rm -r bootstrap/cache/*

Now I can see the login page

Running
sudo -u www-data php artisan optimize
Does not give any errors, just this:

   INFO  Caching the framework bootstrap files.

  config .................................................................................... 16ms DONE
  routes .................................................................................... 44ms DONE

But logging in again gives me server error 500. And the app is still working.

Laravel log shows some mail notifications about a new login (did not get any mail) and after that there seems to be an mail error

[2022-08-19 11:11:50] production.ERROR: Call to a member function getValue() on null {"userId":1,"exception":"[object] (Error(code: 0): Call to a member function getValue() on null at /usr/share/nginx/invoiceninja/app/Listeners/Mail/MailSentListener.php:49)

After reading this post: Error 500 after Ubuntu upgrade - #2 by david
I strongly suspect to have the same problem. Will report back how it went.

Nope, still not working.

I don’t get the error db.schema does not exist anymore, after installing php-mysql. But I am still unable to login. After removing all my mail settings in .env I can finally login.

Any idea what the problem could be with my mail settings?

MAIL_MAILER=“log”
MAIL_HOST=“smtp.office365.com
MAIL_PORT=“587”
MAIL_USERNAME="[email protected]"
MAIL_PASSWORD=“RandomAppPassword”
MAIL_ENCRYPTION=“tls”
MAIL_FROM_ADDRESS="[email protected]"
MAIL_FROM_NAME="[email protected]"

@JamesKimmel

There is a new release with a fix for the ->getValue() can you update to that and advise please.

Thanks for the quick answer.

I am sorry to spam this forum with all my commands but maybe it helps someone else and it hopefully helps you guy troubleshooting the issues.

So I go back to my snapshot1 and install the missing php extension.

sudo apt install php-mysql

cd /usr/share/nginx/invoiceninja/
sudo rm invoiceninja.zip

sudo -u www-data wget https://github.com/invoiceninja/invoiceninja/releases/download/v5.5.14/invoiceninja.zip

sudo shutdown now

create snapshot2

cd /usr/share/nginx/invoiceninja/
sudo -u www-data unzip invoiceninja.zip 
sudo rm invoiceninja.zip
sudo rm -r bootstrap/cache/*
sudo -u www-data php artisan optimize

Everything seems to work perfectly! Thanks a lot for your help! Awesome support as always @david and @hillel! Seriously guys, I never saw any other software that had such great support without a service contract. You put a lot of effort into this forum and I hope it also pays out for you! :star_struck:

1 Like