Added Invoice Ninja to BigBearCasaOS

About

Invoice Ninja is a free and open-source invoice and expense management system. It is a web-based application that allows you to create, manage, and track invoices and expenses.

App Store

Instructions

Before Install:

bash -c "$(wget -qLO - https://raw.githubusercontent.com/bigbeartechworld/big-bear-scripts/master/setup-invoice-ninja-for-casaos-step-1/run.sh)"

After Install and make sure the login shows before running:

bash -c "$(wget -qLO - https://raw.githubusercontent.com/bigbeartechworld/big-bear-scripts/master/setup-invoice-ninja-for-casaos-step-2/run.sh)"

Setup screen

DB Host: big-bear-invoice-ninja-db
Database Name: ninja

Fill out your account details after clicking test.

3 Likes

Thanks for this. Which terminal do I run the script in? I’m running casaOS on
proxmox

SSH into your CasaOS server either through the casaos ui or from your computer terminal and run the script.

1 Like

Thanks - the Casa UI terminal login fails. What userID so I use? Sorry complete casa n00b :frowning:
Can I use the proxmox shell for casaos?

That seemed to work. Was already logged in as root

1 Like

You would need to go into the LXC or VM. Don’t use the shell on the server.

1 Like

I believe that’s where I was. Console for the casaos container.
Next question: the second script failed because it cannot find php. Is there a path I can add to a local copy of the script?

image

Sorry for multiple posts. Besides that php error, when I try to launch the app, I’m taken to a IN setup page and when I click Test COnnection, I get this error: SQLSTATE[HY000] [2002] No such file or directory

Hi, I also seem to be facing some issues when running the second command. Getting this error:

permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get “http://%2Fvar%2Frun%2Fdocker.sock/v1.47/containers/big-bear-invoice-ninja/json”: dial unix /var/run/docker.sock: connect: permission denied
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get “http://%2Fvar%2Frun%2Fdocker.sock/v1.47/containers/big-bear-invoice-ninja/json”: dial unix /var/run/docker.sock: connect: permission denied

Try with sudo at the beginning of the script.

1 Like

worked! Thanks mate appreciate the help

1 Like

Hi, how can I completely uninstall this please. What did the commands that I put in the shell do.

I have installed and it works, but I just want to uninstall it and remove all traces of it please.

To remove user data, you must ensure that you uninstall from CasaOS and that the checkbox is checked.

Hi, thanks for the scripts!

In step 2 I’m getting the following error after all migrations have been run:

Could not open input file: artisan

When trying to rerun the script it breaks on creating the migration table. Any clue what’s going wrong?

Have invoice Ninja setup and I am unable to view or print PDF’s or even access the client portal due to the url for the client portal defaulting to big bear default url. As for the viewing and printing I am unsure. This is CasaOS on a Zimaboard.

Follow the instructions to install and run, it runs but with these issues at the moment.