Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] Invoice Ninja v5

Featured Replies

Hy @Lanic0r

Ich hatte das selbe Problem bei mir war die lösung die mySQL  DB wieder auf version 8.3.0 zu instalieren. die neuste ist nicht untersetützt.
Wen du ein Backup hats findets du eine datei mit dem namen: mysql_upgrade_info dort ist die aktuelle version eingtreagen.

----
had the same problem with me was to install the mySQL DB again to version 8.3.0.
If you have a backup you find a file with the name: mysql-upgrade-info there is the current version eingtreage.

  • 3 months later...
  • Replies 73
  • Views 19.4k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • @FreakLikeMe you're providing the MySQL port as part of the HOST variable: 192.168.86.201:3307. It should only be 192.168.86.201 and specify the port in a different var.   I now see that the

  • FreakLikeMe
    FreakLikeMe

    that did the trick. Thank you!

  • I don't think the VLANs are the problem. What MariaDB image are you using? To me it sounds like it's expecting a different auth mechanism.   Just googled and it seems to be a user setting is

Posted Images

hi, everthing work well. just email reveived without image. any solution?

 

12Untitled.thumb.png.10f961671b56068bc413cb717db169bc.png1Untitled.thumb.png.1652377eb6a923d3bd0094d382dfcfa8.png

@Ph4nTom This occurs because the stock email template assumes your instance is accessible via the web and it's trying to pull the logo from your IN instance. My instance is local only so my workaround of I remember correctly was to create a new email temp without the image (logo). 

16 hours ago, TekWarren said:

@Ph4nTom This occurs because the stock email template assumes your instance is accessible via the web and it's trying to pull the logo from your IN instance. My instance is local only so my workaround of I remember correctly was to create a new email temp without the image (logo). 

so no solution to fix it received email with my logo?

@Ph4nTom The solution is have your instance Internet facing like I mentioned. It's not something broken but how you (and I) are hosting it. The email templates assume the company logo is accessible via the web so when you use the stock template that can't access it, the result is a broken image. You can make a new template as I did and just not have the logo in emails...or you could try hosting your logo somewhere and pointing your email template html at that. 

  • 1 month later...

Sorry if I am opening something old. But I need help. @Mihai Upgrading to Unraid 7 broke Invoice Ninja and I don't know how to fix it this time. 

IN-Unraid Issue.txt

Edited by Hurley
typo

@Hurley

I have held off updating to 7 so appreciate the notice as invoice ninja is the most important thing running on my unraid server. 

 

I don't really have any suggestions but I'm not sure why the update would break a self contained docker image. Are you on latest IN image? Enable any of the new features unraid 7 brings? Just thinking out loud. 

 

I run a secondary instance of docker and a clone of my IN on another computer for backup and testing. If you get into a pinch, fire up docker for windows and pull invoice ninja. All you need to do then is restore a database backup and copy over the folder that contains all the documents and such.

1 hour ago, Mihai said:

@Hurley @TekWarren there was a bug in the image provided by InvoiceNinja which broke nginx, it should work again, so there should be no issues with updating the image. For more info please check this issue: https://github.com/kiwimato/invoiceninja-v5-unraid/issues/13

 

Note: This has nothing to do with version 7, the version is still 5.

Thank you!, Yea seems they are always doing this lol

@Mihai I don't spend a lot of time on the invoice ninja forums unless I'm having an issue or question...I just came across a post from November saying they changed their image from Alpine to Debian based but sounds like both are still supported. I was curious what the plans are (if any) for the unRAID image you support here? 

 

The Dev says "no easy way to migrate" but then talks about it just being some path changes. Anyway, I was just curious.


Thanks for keeping this alive here!

 

 

  • Author

@TekWarren I took a quick look at it, and the good news seems to be the new Debian image has Nginx built in. If that means what i think it means, it makes my docker image obsolete, which is great! (i.e. we could theoretically run their Docker image directly in UnRAID). Less things to maintain are always nice.

 

Unfortunately my free time nowadays is limited and I will also probably not use InvoiceNinja anymore, at least for the time being. Even if I would help to create such an image i'll probably not migrate myself.

Edited by Mihai

@Mihai Certainly understandable on the time front. I was surprised to find invoice ninja here. I actually found IN first and then went looking for a NAS setup and to my surprise this, your work has allowed that to be one in the same. I do hope that what is in place can continue to move forward. I don't know how or what is involved but I would help if needed. 

@Mihai and anyone else using Invoice Ninja:

 

I'm wondering what it really would take to use this new docker image? Not really having a clue what Mihai put into making this one work for us. Could be as simple as manually adding a container and kinda matching up the settings (not the same ports if both instances are live of course)? It seems like we could just point the data paths to our existing directories and database? 

  • 2 weeks later...
On 2/1/2025 at 3:52 PM, TekWarren said:

@Mihai and anyone else using Invoice Ninja:

 

I'm wondering what it really would take to use this new docker image? Not really having a clue what Mihai put into making this one work for us. Could be as simple as manually adding a container and kinda matching up the settings (not the same ports if both instances are live of course)? It seems like we could just point the data paths to our existing directories and database? 

I took the plunge to install this after being disappointed with akaunting.  I got this working using the anojht/invoiceninja template (tried the official and the v5, but kept running into problems during setup).  When I saw this also required an annual license to remove branding, I stumbled across InvoiceShelf which I think is a better option.  The template has some errors but I managed to fix it to get things up and running.

 

Back to invoiceninja, using the anojht/invoiceninja repo, this container is very sensitive to the order of operations during the installation phase.  I used Adminer to set up the database for mysql and add the user before running the container install.  Some of the setup instructions for synology are helpful for setting up the directories and generating the appkey: https://mariushosting.com/how-to-install-invoice-ninja-on-your-synology-nas/

 

The reverse proxy setup is similar to all other containers, so no special steps needed, but getting this one to work you have to make sure everything is done in the proper order or else you have to start fresh to get it running.

 

 

@avinyc Unless I'm mistaken the build you are referencing is not based on the new Debian base invoice ninja is now using, that is what I was asking about. This build you reference also seems pretty old after looking at the GitHub page for it. I'm happy with Mihai's template here it was a breeze to install I am now just concerned about keeps it going/updated with the official and also interested in how we might convert to the new Debian build. 

 

My simple mindedness thinks it would not be difficult and potentially use the same DB. The IN devs also mention a path change but that should be easily mapping in an unraid template. I just don't know enough about what other things Mihai had to do to make this build work. Might try just manually building the Debian version in unraid docker at some point and see what happens.

8 hours ago, TekWarren said:

@avinyc Unless I'm mistaken the build you are referencing is not based on the new Debian base invoice ninja is now using, that is what I was asking about. This build you reference also seems pretty old after looking at the GitHub page for it. I'm happy with Mihai's template here it was a breeze to install I am now just concerned about keeps it going/updated with the official and also interested in how we might convert to the new Debian build. 

 

My simple mindedness thinks it would not be difficult and potentially use the same DB. The IN devs also mention a path change but that should be easily mapping in an unraid template. I just don't know enough about what other things Mihai had to do to make this build work. Might try just manually building the Debian version in unraid docker at some point and see what happens.

Gotcha, I assumed they were pulling the same images but you are right, it is a forked repo so that would explain why the same settings were not getting this to work for me on the different templates.

 

When I run the container, it shows v Latest Build - 2024-11-23 on the login page and the about page says v5.10.55.  If you ever figure out how to get this consistently working, I may give it another try.

 

Good luck!

  • 3 months later...

Invoice Ninja docker keeps stopping, but no error in the logs.

It seems to run perfectly until it doesn't. It has been doing this over every update since I installed it in January. Up time varies, but it seems to just silently stop every 2 or 3 days.

Any hints to troubleshoot?

maihai/invoiceninja_v5

@andyberry tough without logs. Maybe unraid logs will give a clue if the docker container doesn't. Look at your database container also. Check that neither are being memory restricted.

  • 2 months later...

@TekWarren Here are the latest docker container logs (shut down again this morning). I dont see any Out of Memory errors... the pHP failed to set is me trying to disable a memory_limit; previously it was at 1024 with same behaviour.

PHP Warning: Failed to set memory limit to 0 bytes (Current memory usage is 2097152 bytes) in Unknown on line 0

2025-08-06 07:00:00 Running [queue-size-job] .................. 16.17ms DONE

2025-08-06 07:00:00 Running [reminder-job] ..................... 7.89ms DONE

2025-08-06 07:00:00 Running [quote-reminder-job] ............... 8.16ms DONE

2025-08-06 07:00:00 Running [recurring-invoice-job] ........... 33.93ms DONE

2025-08-06 07:00:00 Running [invoice-overdue-job] .............. 7.02ms DONE

2025-08-06 07:00:00 Running [Callback] ......................... 6.17ms DONE

2025-08-06 07:00:03 App\Jobs\Ninja\QueueSize ....................... RUNNING

2025-08-06 07:00:03 App\Jobs\Util\ReminderJob ...................... RUNNING

2025-08-06 07:00:03 App\Jobs\Ninja\QueueSize ................... 5.05ms DONE

2025-08-06 07:00:03 App\Jobs\Util\ReminderJob .................. 5.31ms DONE

2025-08-06 07:00:03 App\Jobs\Util\QuoteReminderJob ................. RUNNING

2025-08-06 07:00:03 App\Jobs\Invoice\InvoiceCheckLateWebhook ....... RUNNING

2025-08-06 07:00:03 App\Jobs\Util\QuoteReminderJob ............. 4.22ms DONE

2025-08-06 07:00:03 App\Jobs\Invoice\InvoiceCheckLateWebhook ... 6.43ms DONE

PHP Warning: Failed to set memory limit to 0 bytes (Current memory usage is 2097152 bytes) in Unknown on line 0

2025-08-06 07:01:00 Running [subscription-job] ................ 20.79ms FAIL

2025-08-06 00:01:01,547 INFO exited: queue-worker_01 (exit status 0; expected)

2025-08-06 00:01:01,547 INFO exited: queue-worker_00 (exit status 0; expected)

2025-08-06 00:01:01,552 INFO spawned: 'queue-worker_00' with pid 29379

2025-08-06 00:01:01,553 INFO spawned: 'queue-worker_01' with pid 29380

2025-08-06 00:01:01,553 WARN received SIGQUIT indicating exit request

2025-08-06 00:01:01,553 INFO waiting for shutdown, nginx_00, php-fpm, queue-worker_00, queue-worker_01, scheduler to die

2025-08-06 00:01:01,557 WARN stopped: scheduler (terminated by SIGTERM)

2025-08-06 00:01:01,557 WARN stopped: queue-worker_00 (terminated by SIGTERM)

2025-08-06 00:01:01,558 WARN stopped: queue-worker_01 (terminated by SIGTERM)

2025-08-06 00:01:01,619 INFO stopped: php-fpm (exit status 0)

2025-08-06 00:01:01,658 INFO stopped: nginx_00 (exit status 0)

2025-08-06 00:01:01,658 WARN stopped: shutdown (terminated by SIGTERM)

  • 2 months later...

Haven't visited this thread in a while and was just getting my unraid containers all updated trying to convince myself to upgrade from 6.x 7.x...Anyway, I noticed a newish Invoice Ninja "app" in the unraid library. There used to be a couple, one I originally tried didn't work this one (mihai) did. Being curious I looked into this other one and it looks like its direct pull from invoice ninja's debian docker image which they moved to some time ago. I'm curious if anyone has played with this other one? I know Mihai mentioned a while back that they may or are not using this product anymore and his continued support for the unraid channel was kinda up in the air. Not sure if that's still the case @Mihai ? -This container still works perfectly for me don't get me wrong and I am grateful for the maintenance.

  • Author
16 hours ago, TekWarren said:

Haven't visited this thread in a while and was just getting my unraid containers all updated trying to convince myself to upgrade from 6.x 7.x...Anyway, I noticed a newish Invoice Ninja "app" in the unraid library. There used to be a couple, one I originally tried didn't work this one (mihai) did. Being curious I looked into this other one and it looks like its direct pull from invoice ninja's debian docker image which they moved to some time ago. I'm curious if anyone has played with this other one? I know Mihai mentioned a while back that they may or are not using this product anymore and his continued support for the unraid channel was kinda up in the air. Not sure if that's still the case @Mihai ? -This container still works perfectly for me don't get me wrong and I am grateful for the maintenance.

@TekWarren My time is limited nowadays so I don't have much time to look into these, especially that I don't use InvoiceNinja anymore, but I still have it running, though and I'm perfectly fine with running 5.x since it's good enough for me.
Last i checked the new invoiceninja way might make my image redundant, if i remember correctly you have to run a separate Nginx container (maybe even Swag might work). The whole reason I created the image for 5.x was to have Nginx running within the same container.
Upgrading takes a bit more time since you'd also have to test upgrade paths multiple times and document them, which i don't have right now.

@Mihai Thanks for replying. I certainly understand about time constraints and again I for one really appreciate that you have maintained this build for us and how easy you've made it to get up and running. Maybe this other one is something I will play with this winter as I do less outside work (farm business) but was just curious if anyone following this thread had thoughts or has used this other one. Again, very appreciative of your time and efforts.

  • 7 months later...

@Mihai Hello. I know you had previously eluded that you may stop supporting this invoice ninja package for unraid but I wanted to ask if that is now the case? I am having an issue between the official mobile app and my self-hosted version and I noticed that my instance while "up to date" is behind the official the current official rev. I'm not sure this is the cause of my issue but I know the dev will point it out as a discrepancy if I attempt to submit an issue on github.

Thank you again for your time.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.