Logo 404 Not Found

I’ve just setup Invoice Ninja v5 using Docker. I uploaded my Logo and I see that it exists in my volume, but the Developer Console shows a 404. It tries to load the Image from the following url:


In my docker container I find the file at:


Here is my nginx config:

server {                                                                                                                                 
  listen 80;                                                                                                                             
  root /var/www/app/public;                                                                                                              
  index index.php;                                                                                                                       
  client_max_body_size 20M;                                                                                                              
  location / {                                                                                                                           
    try_files $uri $uri/ =404;                                                                                                           
  if (!-e $request_filename) {                                                                                                           
    rewrite ^(.+)$ /index.php?q= last;                                                                                                   
  location ~ \.php$ {                                                                                                                    
    fastcgi_split_path_info ^(.+\.php)(/.+)$;                                                                                            
    fastcgi_pass invoiceninja:9000;                                                                                                      
    fastcgi_index index.php;                                                                                                             
    include fastcgi_params;                                                                                                              
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;                                                                    
    fastcgi_intercept_errors off;                                                                                                        
    fastcgi_buffer_size 16k;                                                                                                             
    fastcgi_buffers 4 16k;                                                                                                               
  location ~ /\.ht {                                                                                                                     
    deny all;                                                                                                                            

This nginx container runs behind a Traefik proxy, which handles TLS.


It may help to run sudo docker-compose exec app php artisan storage:link

1 Like

This helped! Thanks alot! :blush: