Convert to HTML does not write anything to disk, Permissions should be good, and get no error

Trying to do a simple test. I generate some html, then trying to write to simple html file. I get no errors anywhere and no file anywhere. I tried several directories including temp. I am new to N8N so it might be something simple or some setting on my server. This is N8n is running in a container so may be some other permission has something to do with it. I turned on Debug, but so far nothing anywhere, including any log files in /var/log

doing flowing on batch file to get it going:
export N8N_DEFAULT_TMP_DIR=/temp/
export N8N_LOG_FILE_LOCATION=/var/logs/
export N8N_LOG_LEVEL=‘debug’

Flow exec says:
2024-08-16T17:50:05.144Z | debug | Executing hook on node “Filter” (hookFunctionsPush) “{\n executionId: ‘48456’,\n pushRef: ‘4omglcdwqz’,\n workflowId: ‘kI7V5noGhEudFV9L’,\n file: ‘WorkflowExecuteAdditionalData.js’,\n function: ‘nodeExecuteAfter’\n}”
2024-08-16T17:50:05.144Z | error | The session “4omglcdwqz” is not registered. “{\n pushRef: ‘4omglcdwqz’,\n file: ‘abstract.push.js’,\n function: ‘sendToOne’\n}”
2024-08-16T17:50:05.145Z | debug | Start processing node “MySQL” “{\n node: ‘MySQL’,\n workflowId: ‘kI7V5noGhEudFV9L’,\n file: ‘LoggerProxy.js’,\n function: ‘exports.debug’\n}”
2024-08-16T17:50:05.145Z | debug | Executing hook on node “MySQL” (hookFunctionsPush) “{\n executionId: ‘48456’,\n pushRef: ‘4omglcdwqz’,\n workflowId: ‘kI7V5noGhEudFV9L’,\n file: ‘WorkflowExecuteAdditionalData.js’,\n function: ‘nodeExecuteBefore’\n}”

Version 1.54.4
sqlite
Ubuntu 24lts
n8n
own

Your help is much appreciated.

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 @Tony_Anytime,

The File Name field you are using is setting a filename and doesn’t actually write the file to disk, Instead if you add a Read/Write Files from Disk node after the convert to file node it should then do what you are after.

Cool that worked, thanks

What is the purpose

of the file name in Convert to html then?

Hey @Tony_Anytime

It sets a file name so if you wanted to email it the data has a name rather than something vague.

Cool, thanks

1 Like

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