# Invoice Ninja 5 ready for usage

**URL:** https://forum.yunohost.org/t/invoice-ninja-5-ready-for-usage/18743
**Category:** Apps packaging
**Tags:** english
**Created:** [February 8, 2022, 8:42am UTC](https://forum.yunohost.org/t/invoice-ninja-5-ready-for-usage/18743 "2022-02-08T08:42:40Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![rndmh3ro](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rndmh3ro/32/979_2.png) [@rndmh3ro](https://forum.yunohost.org/u/rndmh3ro)
#### Post date: [February 8, 2022, 8:42am UTC](https://forum.yunohost.org/t/invoice-ninja-5-ready-for-usage/18743/1 "2022-02-08T08:42:40Z")

</div>

InvoiceNinja 4 is already on Yunhost and usable, see: [New app Invoice Ninja](https://forum.yunohost.org/t/new-app-invoice-ninja/11168)

The makers of InvoiceNinja created a completely rewritten version 5 of InvoiceNinja. This app is now available for Yunohost as well: [https://github.com/YunoHost-Apps/invoiceninja5\_ynh](https://github.com/YunoHost-Apps/invoiceninja5_ynh)

What works:

- installation
- usage
- migration of data from an existing InvoiceNinja4 installation.

What doesn’t work out of the box ([https://github.com/YunoHost-Apps/invoiceninja5\_ynh/blob/master/doc/DISCLAIMER.md](https://github.com/YunoHost-Apps/invoiceninja5_ynh/blob/master/doc/DISCLAIMER.md)):

- sending mails
- installation into a sub-directory

Please test it and let me know how it works!

---

<div class="post-metadata">

### Author: ![Vanitarium](https://forum.yunohost.org/user_avatar/forum.yunohost.org/vanitarium/32/3482_2.png) [@Vanitarium](https://forum.yunohost.org/u/Vanitarium)
#### Post date: [February 24, 2022, 1:11pm UTC](https://forum.yunohost.org/t/invoice-ninja-5-ready-for-usage/18743/2 "2022-02-24T13:11:02Z")

</div>

How do I upgrade from 4 to 5?  
Migration of data HOW?  
A short tutorial would be useful and very welcome by invoiceninja users!

---

<div class="post-metadata">

### Author: ![rndmh3ro](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rndmh3ro/32/979_2.png) [@rndmh3ro](https://forum.yunohost.org/u/rndmh3ro)
#### Post date: [February 24, 2022, 1:23pm UTC](https://forum.yunohost.org/t/invoice-ninja-5-ready-for-usage/18743/3 "2022-02-24T13:23:52Z")

</div>

You can follow the tutorial from invoiceninja here: [Free Source Available Invoicing, Expenses & Time-Tracking | Invoice Ninja](https://invoiceninja.github.io/docs/migration/)

---

<div class="post-metadata">

### Author: ![maphr](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@maphr](https://forum.yunohost.org/u/maphr)
#### Post date: [April 5, 2022, 12:54pm UTC](https://forum.yunohost.org/t/invoice-ninja-5-ready-for-usage/18743/4 "2022-04-05T12:54:44Z")

</div>

I successfully installed invoiceninja 5 on my ynh. I never used previous versions before, this is my first install.

Apart from the limitation that it must be installed on a subdomain (which I discovered when trying to install it) which requires DNS changes, and a new certificate, the install went on fine.

I encountered two problems, one which is unsolved yet:

1. It was not easy to understand that there is an existing API\_SECRET value (which is asked when logging in but marked as ‘optional’), and it was not easy to find it.
2. My keyboard inputs do not work correctly… I can use some keys, such as backspace, arrows, number keys of the pad, but **I can’t** type any letter in the `email` or `password` fields. So I must use copy/paste… And the problem persists once logged in in any textfield of the app… But this is probably a browser problem (Firefox 99.0b8) as it works in Chrome…

I saw that the ynh documentation page for the app is empty, I suppose that minimal information here could help.

Thanks for making this app available on ynh !!

---

<div class="post-metadata">

### Author: ![gabrielcossette](https://forum.yunohost.org/user_avatar/forum.yunohost.org/gabrielcossette/32/9631_2.png) [@gabrielcossette](https://forum.yunohost.org/u/gabrielcossette)
#### Post date: [April 6, 2022, 10:11pm UTC](https://forum.yunohost.org/t/invoice-ninja-5-ready-for-usage/18743/5 "2022-04-06T22:11:15Z")

</div>

And just to clarify to users, v5 is no longer considered fully open source (it’s rather “source available”).

---

<div class="post-metadata">

### Author: ![maphr](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@maphr](https://forum.yunohost.org/u/maphr)
#### Post date: [April 7, 2022, 2:18pm UTC](https://forum.yunohost.org/t/invoice-ninja-5-ready-for-usage/18743/6 "2022-04-07T14:18:16Z")

</div>

@rndmh3ro I have a question.

I reported the issue about the text input problem I encounter on Firefox on the invoiceninja Github ([see here](https://github.com/invoiceninja/admin-portal/issues/430)) and they told me to report back if the problem persists with latest version.

Actual version is 5.3.60  
Latest is 5.3.79

I am new to yunohost, I don’t know yet how it works about app updates ? who is in charge of that ? is it possible to use a different version from the one of the Yunohost catalog ? etc.

Thanks for your help.

I also have a second question: I tried to use the linux snap invoiceninja app, but I have the following error when trying to log in:

`Error: please check that Invoice Ninja v5 is installed on the server`

Is there a specific port config or network config that must be correctly set up in order to make the app work ? I have a few port errors (in IPv6 only) when I run a diagnosis.

---

<div class="post-metadata">

### Author: ![rndmh3ro](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rndmh3ro/32/979_2.png) [@rndmh3ro](https://forum.yunohost.org/u/rndmh3ro)
#### Post date: [April 7, 2022, 7:09pm UTC](https://forum.yunohost.org/t/invoice-ninja-5-ready-for-usage/18743/7 "2022-04-07T19:09:00Z")

</div>

> [@maphr](#):
>
> It was not easy to understand that there is an existing API\_SECRET value (which is asked when logging in but marked as ‘optional’), and it was not easy to find it.

Yeah, I know… I’d like some better way to mention this. A first way is to use the ynh documentation (thanks for the hint!). I’d also like to display this somewhere prominent after the installation (in a popup or something). I created an issue for this: [Add proper documentation to yunohost homepage · Issue #15 · YunoHost-Apps/invoiceninja5\_ynh · GitHub](https://github.com/YunoHost-Apps/invoiceninja5_ynh/issues/15)

> I am new to yunohost, I don’t know yet how it works about app updates ? who is in charge of that ?

I am the main maintainer of the app. But since the app is opensource, anyone can update it. Invoiceninja is quite fast-moving and I only update in my spare time, so any help is welcome!

To update it, one has to:

1. change the version in manifest.json
2. change the version in the readme
3. change the version and the sha256sum in conf.app src.

Then one has to create a PR and let it get tested (and manually test it, too). See an example here: [Update to 5.3.60 by rndmh3ro · Pull Request #11 · YunoHost-Apps/invoiceninja5\_ynh · GitHub](https://github.com/YunoHost-Apps/invoiceninja5_ynh/pull/11/files)

There are also some Github actions that automate this process and I created an issue to do this for invoiceninja, too: [Create Github Action for automatic updates · Issue #14 · YunoHost-Apps/invoiceninja5\_ynh · GitHub](https://github.com/YunoHost-Apps/invoiceninja5_ynh/issues/14)

> Is it possible to use a different version from the one of the Yunohost catalog ? etc.

Yes, if you do the steps above and then install the app from the CLI (or your fork of the repo). But generally it’d be better to share the update.

> I also have a second question: I tried to use the linux snap invoiceninja app, but I have the following error when trying to log in:
> 
> `Error: please check that Invoice Ninja v5 is installed on the server`
> 
> Is there a specific port config or network config that must be correctly set up in order to make the app work ? I have a few port errors (in IPv6 only) when I run a diagnosis.

IN only listens on http(s), port 443. No other ports necessary. Can you please open a new thread here in the forums with this issue?

And last: thanks for this great feedback!

---

<div class="post-metadata">

### Author: ![maphr](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@maphr](https://forum.yunohost.org/u/maphr)
#### Post date: [April 8, 2022, 12:22pm UTC](https://forum.yunohost.org/t/invoice-ninja-5-ready-for-usage/18743/8 "2022-04-08T12:22:06Z")

</div>

Thanks for the explanations.

I don’t have neither the time neither the knowledge to help on this for at least the next months (sorry). But I will keep it in mind.

---

<div class="post-metadata">

### Author: ![maphr](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@maphr](https://forum.yunohost.org/u/maphr)
#### Post date: [May 12, 2022, 7:48am UTC](https://forum.yunohost.org/t/invoice-ninja-5-ready-for-usage/18743/9 "2022-05-12T07:48:41Z")

</div>

Hi @rndmh3ro, I was wondering if you might have also encountered problems with the generation of PDF ?

My Yunohost is on a raspberry 3 board, and I don’t know if this “specific” (and maybe limited ?) environment can be the cause of the problems I encounter.

I configured invoiceninja (in the .env file) to use phantomJS to generate PDFs, but this leads to [the generation of PDF without the correct content (thread on Invoiceninja forum)](https://forum.invoiceninja.com/t/invoice-pdf-generated-with-wrong-content-grey-page/10587)… and there is no information about the error in the logs so I don’t have any lead on what is the problem exactly and how to solve it.

And if I use the default engine (snappdf), it does not work either. In the forum thread link above someone said that:

> It looks like the system won’t allow InvoiceNinja to run a cli command to execute the snappdf binary.

Anyway if anyone has some interesting inputs for solving this problem I’m interested. Without pdf generation my install is useless…

Thanks !

---

<div class="post-metadata">

### Author: ![arpy](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/a/bc79bd/32.png) [@arpy](https://forum.yunohost.org/u/arpy)
#### Post date: [July 17, 2022, 12:31am UTC](https://forum.yunohost.org/t/invoice-ninja-5-ready-for-usage/18743/10 "2022-07-17T00:31:37Z")

</div>

Hi, **where** can you find the API\_SECRET value? I have just run into this problem.

---

<div class="post-metadata">

### Author: ![rndmh3ro](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rndmh3ro/32/979_2.png) [@rndmh3ro](https://forum.yunohost.org/u/rndmh3ro)
#### Post date: [July 18, 2022, 6:22am UTC](https://forum.yunohost.org/t/invoice-ninja-5-ready-for-usage/18743/11 "2022-07-18T06:22:11Z")

</div>

> My Yunohost is on a raspberry 3 board, and I don’t know if this “specific” (and maybe limited ?) environment can be the cause of the problems I encounter.

I guess it’s probably got to do with the fact that the raspi is an ARM-system where the tools to generate PDFs don’t work. Might be helpful to check if that is the case.

---

<div class="post-metadata">

### Author: ![rndmh3ro](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rndmh3ro/32/979_2.png) [@rndmh3ro](https://forum.yunohost.org/u/rndmh3ro)
#### Post date: [July 18, 2022, 6:23am UTC](https://forum.yunohost.org/t/invoice-ninja-5-ready-for-usage/18743/12 "2022-07-18T06:23:15Z")

</div>

> Hi, **where** can you find the API\_SECRET value? I have just run into this problem.

It’s in the configuration file (normally `/etc/yunohost/apps/invoiceninja5/settings.yml `). Run the following as root:

`grep "api_secret" /etc/yunohost/apps/invoiceninja5/settings.yml | cut -d ":" -f 2`

---

<div class="post-metadata">

### Author: ![arpy](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/a/bc79bd/32.png) [@arpy](https://forum.yunohost.org/u/arpy)
#### Post date: [July 18, 2022, 9:53pm UTC](https://forum.yunohost.org/t/invoice-ninja-5-ready-for-usage/18743/13 "2022-07-18T21:53:59Z")

</div>

That worked perfectly, thanks so much!

---

<div class="post-metadata">

### Author: ![rapha](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/r/8dc957/32.png) [@rapha](https://forum.yunohost.org/u/rapha)
#### Post date: [January 15, 2024, 5:51pm UTC](https://forum.yunohost.org/t/invoice-ninja-5-ready-for-usage/18743/14 "2024-01-15T17:51:44Z")

</div>

What does that mean?

---

<div class="post-metadata">

### Author: ![rndmh3ro](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rndmh3ro/32/979_2.png) [@rndmh3ro](https://forum.yunohost.org/u/rndmh3ro)
#### Post date: [January 15, 2024, 6:22pm UTC](https://forum.yunohost.org/t/invoice-ninja-5-ready-for-usage/18743/15 "2024-01-15T18:22:51Z")

</div>

See [Source-available software - Wikipedia](https://en.m.wikipedia.org/wiki/Source-available_software)

---

<div class="post-metadata">

### Author: ![rapha](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/r/8dc957/32.png) [@rapha](https://forum.yunohost.org/u/rapha)
#### Post date: [January 15, 2024, 6:36pm UTC](https://forum.yunohost.org/t/invoice-ninja-5-ready-for-usage/18743/16 "2024-01-15T18:36:17Z")

</div>

Yes. I was more interested what it means in this concrete case of invoice ninja. The webpage of invoice ninja didn’t give me much insight into it. Is it still possible to use it completely free in open (source) version?

---

<div class="post-metadata">

### Author: ![rndmh3ro](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rndmh3ro/32/979_2.png) [@rndmh3ro](https://forum.yunohost.org/u/rndmh3ro)
#### Post date: [January 15, 2024, 8:45pm UTC](https://forum.yunohost.org/t/invoice-ninja-5-ready-for-usage/18743/17 "2024-01-15T20:45:25Z")

</div>

You’ll have to check what their license allows: [GitHub - invoiceninja/invoiceninja at v5.8.0](https://github.com/invoiceninja/invoiceninja/tree/v5.8.0)

For personal use it should be fine.

---

<div class="post-metadata">

### Author: ![Cellophile](https://forum.yunohost.org/user_avatar/forum.yunohost.org/cellophile/32/4550_2.png) [@Cellophile](https://forum.yunohost.org/u/Cellophile)
#### Post date: [July 30, 2024, 6:05pm UTC](https://forum.yunohost.org/t/invoice-ninja-5-ready-for-usage/18743/18 "2024-07-30T18:05:05Z")

</div>

Hello !  
Thanks for your nice work !!

I’ve a bug, when I want to change something of the user settings (settings/user\_details), it need to be approved by my password before saving. but when I attempt to save, with the godd password (otherwise I would not have been able to authenticate myself), I’ve a toast that says my password isn’t right.

I’ve done a second installation, same bug.  
On Yunohost 11.2.24 (stable)  
installation of InvoiceNinja5 5.10.12~ynh1

---

<div class="post-metadata">

### Author: ![rndmh3ro](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rndmh3ro/32/979_2.png) [@rndmh3ro](https://forum.yunohost.org/u/rndmh3ro)
#### Post date: [July 31, 2024, 10:23am UTC](https://forum.yunohost.org/t/invoice-ninja-5-ready-for-usage/18743/19 "2024-07-31T10:23:21Z")

</div>

You’re welcome! 🙂

I just tested the saving of user settings and it worked for me. What I noticed though: I use keepass to autocomplete the usernames and passwords and there was a wrong password inserted. Do you use a password manager by chance and have the same problem?

---

<div class="post-metadata">

### Author: ![Cellophile](https://forum.yunohost.org/user_avatar/forum.yunohost.org/cellophile/32/4550_2.png) [@Cellophile](https://forum.yunohost.org/u/Cellophile)
#### Post date: [August 8, 2024, 10:06pm UTC](https://forum.yunohost.org/t/invoice-ninja-5-ready-for-usage/18743/20 "2024-08-08T22:06:53Z")

</div>

Hi !  
I’ve tested with the right couple login/password with handwriting, but that doesn’t works better.  
The only solution I have found currently is to install Invoice Ninja 4 ! 🙂

I’ve haven’t many time fore this thoses weeks, maybe I will see that in more details soon.

[Next page](https://forum.yunohost.org/t/invoice-ninja-5-ready-for-usage/18743.md?page=2)
