[SOLVED] Installation problems with proxy on debian 10 | FWCloud Forum

[SOLVED] Installation problems with proxy on debian 10


New member
Hi everyone

I wanted to share this problem as well as its solution

I´m trying to install fwcloud on a debian 10 and i had some problems, curl command didn´t work and I had copy the script command and create a new file into the machine and launch it. It seems works fine but at one point of the installation failed when try download https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz for debian 10, the error shows this and the installation finally aborts

*) Installing required Node.js modules.
npm ERR! errno ETIMEDOUT
npm ERR! network request to https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz failed, reason: connect ETIMEDOUT
npm ERR! network This is a problem related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'

I tryed downloaded manually and the proxy permit it, but when I try install it, appairs compatibility error with debian 10.

Finally, even though the proxy was configured to download the package witch this command : " npm config set https_proxy xxx.xxx.xxx:port" it doesn´t work.

The only solution to install fwcloud or at least it has worked for us, is to enable direct output to the internet without going through a proxy , in this way, if the installation finishes and fwcloud works

Carles Munyoz

Staff member
Hi Raul,
Thank you very much for sharing your problem and solution with us.

The problem is that when the scripts runs the npm install command for obtain all the NodeJS required modules, it needs to know about the proxy. For this we must use the next commands before running the npm install, but into the script itself, because it uses the fwcloud user for it:
npm config set proxy http://IP : PORT
npm config set https-proxy http://IP : PORT

For solve this problem, we are going to improve the FWCloud installer script with proxy support.
We will inform here when this feature is available.

Best regards.