Icon assets missing for n8n hosted on Cloudways server

Hi All !
We have installed n8n in a custom folder using npm on Cloudways server.
/applications/n8n/public_html.

Here is our .env file:

*N8N_HOST=phpstack-204910-4816249.cloudwaysapps.com*
*WEBHOOK_URL=https://phpstack-204910-4816249.cloudwaysapps.com/*
*VUE_APP_URL_BASE_API=https://phpstack-204910-4816249.cloudwaysapps.com/*
*WEBHOOK_TUNNEL_URL=https://phpstack-204910-4816249.cloudwaysapps.com/*

The problems that we are facing is that the Icon’s couldn’t be loaded:

GET https://phpstack-204910-4816249.cloudwaysapps.com/icons/@n8n/n8n-nodes-langchain/dist/nodes/llms/LMChatOpenAi/openAiLight.dark.svg 404 (Not Found)

We can see the .cache and .n8n folder in the root of the server

Everything else is working perfectly !

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @SearchActions

Welcome to the community :cake:

It looks like you have some env options set that are not needed so I suspect the Cloudways guide is out of date.

Can you remove n8n_host, vue_app_x and webhook_tunnel_url then stop and start n8n and see how that is looking.

If you are still having issues it would be worth looking at your reverse proxy to make sure that is configured correctly.

I would also recommend taking the docker approach as it makes life a lot easier and rules out a lot of potential issues.

Removing those values from .env file didn’t help.

What about your reverse proxy? Which one are you using and how is it configured?

Looking at the 404 error it looks like Apache server, but when using https it seems to show an error on port 80. I suspect it is not configured correctly as the 404 is not coming from n8n.

We use a reverse proxy from Nginx to apache, Cloudways support is checking that but couldn’t find anything.

Thank’s for the help so far!

Here Is what cloudways support found:
Thank you so much for the wait! It seems that the error is occuring that its accessing via

icons//@n8n/n8n-nodes-langchain/dist/nodes/llms/LMChatOpenAi/openAiLight.dark.svgvafafa
Where as the actual path is
./node_modules/@n8n/n8n-nodes-langchain/dist/nodes/llms/LMChatOpenAi/openAiLight.dark.svg

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.