Hi!
I am using Invoice ninja for a while now…
(I just started a very small business with only a few customers, so i was using the online hoste version, but i need to be able to generate reports so now I want to self host it)
I have an Odroid C2 running ubunte mate
I followed the steps here:
https://websiteforstudents.com/install-invoiceninja-on-ubuntu-16-04-18-04-with-apache2-mariadb-and-php-7-2/
I first ran into this bug:
Dwolla/omnipay-dwolla dependency not found #2507 (https://github.com/invoiceninja/invoiceninja/issues/2507)
so I started completely over but instead of following:
Step 5: Download InvoiceNinja Latest Release from the manual
I downloaded the invoiceninja ZIP form https://download.invoiceninja.com and extracted it to:
/var/www/html/invoiceninja/ninja-v4.5.6
(so what i did was donload it on a windows pc, extract everything and then ftp copy it to ubuntu using filezilla)
after this I used the commands:
sudo chown -R www-data:www-data /var/www/html/invoiceninja/invoiceninja/ninja-v4.5.6
sudo chmod -R 755 /var/www/html/invoiceninja/invoiceninja/ninja-v4.5.6
I have also struggled to get the virtual host working
(i tried to create a /etc/apache2/sites-available/test.dev.conf file with “ServerName test.dev” and “ServerAlias www.test.dev”
and “DocumentRoot /var/www/html/invoiceninja/ninja-v4.5.6/ninja/public/”
but when, after a ‘systemctl reload apache2’ command, i browse to test.dev its not working and i don’t know what i am doing wrong here…)
But anyway to solve this i changed the 000-default.conf document root to point towards /var/www/html/invoiceninja/ninja-v4.5.6/ninja/public/
and now when i browse to ‘localhost’ it goes to ‘localhost/setup’ but with the error “Not Found”
(i already read on the forum it may have something to do with permissions? but i did use these commands like explained earlier:)
sudo chown -R www-data:www-data /var/www/html/invoiceninja/invoiceninja/ninja-v4.5.6
sudo chmod -R 755 /var/www/html/invoiceninja/invoiceninja/ninja-v4.5.6
Like you can probably tell I am not an expert in these kind of things… but I like to learn. I really hope I can get InvoiceNinja sefl hosted working…
So al help is welcome (but please keep in mind that i will need more then ‘you didnt give permison’ or ‘you didnt extract well’ I will need then also the explanation how to do it)
Thanks a lot!