I’m new to Invoice Ninja, and having difficulty with uploading logo and having it show both in dashboard and in the invoice preview. I have read several posts and followed instructions on similar problems, however, have not been able to resolve. How do i run php artisan, is that within a container?
When I upload the logo.png file the page reports success, however, I am unable to click save button top right-hand corner (using either firefox or brave). After upload, the window is blank however, has delete logo or upload logo buttons. If press on delete, “successfully delete logo” message appears. (see screen shot)
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ecab946d1d7e nginx “/docker-entrypoint.…” 3 minutes ago Up 3 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp dockerfiles_server_1
c063f632a906 invoiceninja/invoiceninja:5 “docker-entrypoint s…” 3 minutes ago Up 3 minutes 9000/tcp dockerfiles_app_1
24337c0d3750 mysql:5 “docker-entrypoint.s…” 3 minutes ago Up 3 minutes 33060/tcp, 0.0.0.0:3305->3306/tcp, :::3305->3306/tcp dockerfiles_db_1
Installed iputils-ping within container dockerfiles_server_1 (nginx image)
pinged in.localhost (APP_URL)
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.023 ms
sudo docker network ls
NETWORK ID NAME DRIVER SCOPE
9bb5b3e229c9 bridge bridge local
458edbbffdd5 dockerfiles_invoiceninja bridge local
d2bb540af450 host host local
f316b9ffbca0 none null local
Installed graphical on Ubuntu Server (VM), launched web browser, and same problem exists.
Question, is there anyway to hardcode the company logo just as a workaround for now?
how to capture specific function (such as elements to do with logo) and output that to a log ;
is there any docker/php/nginx specific bug-bears ; and
can this issue be related to pdf handing? (PhantomJS or snappdf)
I thought I would check if logo is present in client portal (i’m not going to use this feature, Just basic record keeping though invoice creation hence why in docker/self hosted within a VM)
and the browser gets connection refused.
The APP_URL=http://in.localhost.test:8003 is the culprit
So, I removed the port 8003, and now able to navigate to the company logo URL and it now appears normal within the dashboard and on the invoice.
I used Brave browser inspect feature, and removed the port number, then made neccessary adjustments in the env, along with running artisan commannd.