banner
acevs

acevs

x
mastodon

n8n serv00 deployment issues

n8n has not been experienced yet.
My NAS npm has been messed up by me, too lazy to fix it. Cannot deploy.
Win10 LTSC version does not work. Cannot install the market and Docker.
n8n can also be deployed with other cloud functions. But I wonder why not use serv00 for one-click deployment.
This serv00 virtual machine will recycle the account if not used for three months.
The tutorial is placed at the end for reference. I only record the problems.

added 1 package in 5s
i.sh 309:/home/ace/.npm-global/bin/pnpm denied
Prompt indicates no permission. Setting permissions does not work. Uninstalling npm and reinstalling does not work.
For this problem, input
devil binexec on
Then disconnect and reconnect ssh

ls shows the n8n directory, enter it
bash i.sh
Automatically execute sh script
Automatically uninstall and reinstall.
This is also the key to my success after trying it seven or eight times.

Later, still reminded of an error
Failed in 15.9s at /home/ace/.local/share/pnpm/global/5/.pnpm/sqlite305.1.7/node modules/sqlite3 ELIFECYCLE Command failed with exit code 1. 【ERROR】n8n installation failed

Finally gave up PostgreSQL database
Successfully used sqlite database. I estimate that I had uninstalled npm and there were configuration issues.

Database issues make coding thinking complicated. I still want to solve it with code.
I remembered there is a control panel, which might have direct database management. Sure enough, it does. Just click to delete the database. Simple and convenient.

[!NOTE]
In FreeBSD systems, if you need to delete a PostgreSQL database, you can use the dropdb command. This command is part of the PostgreSQL installation.

First, you need to determine the name of the database you want to delete. Then, you can use the following command to delete the database:

dropdb [option...] dbname

Here is an example of deleting a database named mydatabase:

dropdb mydatabase

Before executing this command, please ensure you have sufficient permissions to delete the database, and be careful as this will delete the database and all its contents.

If you are asking how to uninstall PostgreSQL database software in FreeBSD, then you need to use the Ports system to do so. Here are the steps to uninstall PostgreSQL:

First, you need to know the version of PostgreSQL you installed. You can find it with the following command:

pkg info | grep postgresql

Then, you can use the pkg delete command to uninstall it:

pkg delete postgresqlX.Y.Z

Replace X.Y.Z with your actual version number.

Finally, you may also need to delete configuration files and data directories, which are usually located in /var/db/postgresql and /var/db/postgresql_db.

Please note that before performing any delete operations, ensure you have backed up all important data.

Cloud function deployment n8n reference
Daily Skill: Deploy n8n Service Using Zeabur - Minority
N8N+huggingface, an efficiency tool, AI weapon, must-have product【Free cloud computer + AI, one-click deployment, work automation】_Bilibili

serv00 deployment reference
n8n-serv00/README.md at main · aigem/n8n-serv00 · GitHub
One-click free deployment of automation workflow tool N8N automatic deployment tutorial on ten years free host N8N+serv00_Bilibili

Previously mentioned n8n
ActivityPub – ACEVS
Previously mentioned serv00
Free Virtual Host serv00 – ACEVS

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.