ukro
Member
api
added 917 packages from 1330 contributors and audited 999 packages in 46.791s
10 packages are looking for funding
run `npm fund` for details
found 8 vulnerabilities (7 low, 1 high)
run `npm audit fix` to fix them, or `npm audit` for details
----------
(*) Creating database schema and initial data.
Database schema ... Application can not start: Handshake inactivity timeout
Error: Handshake inactivity timeout
at Handshake.<anonymous> (/opt/fwcloud/api/node_modules/mysql/lib/protocol/Protocol.js:160:17)
at Handshake.emit (events.js:315:20)
at Handshake._onTimeout (/opt/fwcloud/api/node_modules/mysql/lib/protocol/sequences/Sequence.js:124:8)
at Timer._onTimeout (/opt/fwcloud/api/node_modules/mysql/lib/protocol/Timer.js:32:23)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
--------------------
at Protocol._enqueue (/opt/fwcloud/api/node_modules/mysql/lib/protocol/Protocol.js:144:48)
at Protocol.handshake (/opt/fwcloud/api/node_modules/mysql/lib/protocol/Protocol.js:51:23)
at PoolConnection.connect (/opt/fwcloud/api/node_modules/mysql/lib/Connection.js:119:18)
at Pool.getConnection (/opt/fwcloud/api/node_modules/mysql/lib/Pool.js:48:16)
at /opt/fwcloud/api/node_modules/typeorm/driver/mysql/MysqlDriver.js:774:18
at new Promise (<anonymous>)
at MysqlDriver.createPool (/opt/fwcloud/api/node_modules/typeorm/driver/mysql/MysqlDriver.js:771:16)
at MysqlDriver.<anonymous> (/opt/fwcloud/api/node_modules/typeorm/driver/mysql/MysqlDriver.js:275:51)
at step (/opt/fwcloud/api/node_modules/tslib/tslib.js:136:27)
at Object.next (/opt/fwcloud/api/node_modules/tslib/tslib.js:117:57)
Installation canceled!
------
root@zeus:/home/xxxxxxx/Downloads# npm audit fix
npm ERR! code EAUDITNOPJSON
npm ERR! audit No package.json found: Cannot audit a project without a package.json
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-02-04T22_45_32_850Z-debug.log
------/root/.npm/_logs/2021-02-04T22_45_32_850Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'audit' ]
2 info using npm@6.14.10
3 info using node@v14.15.4
4 verbose npm-session a71329e89af608e1
5 verbose stack Error: No package.json found: Cannot audit a project without a package.json
5 verbose stack at /usr/lib/node_modules/npm/lib/audit.js:164:19
5 verbose stack at tryCatcher (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
5 verbose stack at Promise._settlePromiseFromHandler (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:514:35)
5 verbose stack at Promise._settlePromise (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:574:18)
5 verbose stack at Promise._settlePromise0 (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:619:10)
5 verbose stack at Promise._settlePromises (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:699:18)
5 verbose stack at Promise._fulfill (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:643:18)
5 verbose stack at PromiseArray._resolve (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise_array.js:126:19)
5 verbose stack at PromiseArray._promiseFulfilled (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise_array.js:144:14)
5 verbose stack at PromiseArray._iterate (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise_array.js:114:31)
5 verbose stack at PromiseArray.init [as _init] (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise_array.js:78:10)
5 verbose stack at Promise._settlePromise (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:571:21)
5 verbose stack at Promise._settlePromise0 (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:619:10)
5 verbose stack at Promise._settlePromises (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:699:18)
5 verbose stack at Promise._fulfill (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:643:18)
5 verbose stack at PromiseArray._resolve (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise_array.js:126:19)
6 verbose cwd /home/xxxxxx/Downloads
7 verbose Linux 4.19.0-12-amd64
8 verbose argv "/usr/bin/node" "/usr/bin/npm" "audit"
9 verbose node v14.15.4
10 verbose npm v6.14.10
11 error code EAUDITNOPJSON
12 error audit No package.json found: Cannot audit a project without a package.json
13 verbose exit [ 1, true ]
----- run install again (there should be some catch or DB check? as it showed that all is OK,but isn't.
Updating fwcloud-websrv ...
Don't needs update, it is already up to date.
Updating fwcloud-ui ...
Don't needs update, it is already up to date.
Updating fwcloud-api ...
Don't needs update, it is already up to date.
Updating fwcloud-updater ...
Don't needs update, it is already up to date.
(*) Setting up permissions.
Creating fwcloud user/group and setting up permissions.
--- PROCESS COMPLETED ----
Your FWCloud system is ready!
If you need help please contact us:
info@fwcloud.net
--------------------------
This site can’t be reached xx.xx.xx.xx took too long to respond.
Try:
Checking the connection
Checking the proxy and the firewall
Running Windows Network Diagnostics
ERR_CONNECTION_TIMED_OUT
-----------
mysqld 2332 mysql 21u IPv4 487032 0t0 TCP 127.0.0.1:3306 (LISTEN)
sshd 17516 root 3u IPv4 167871 0t0 TCP *:22 (LISTEN)
sshd 17516 root 4u IPv6 167873 0t0 TCP *:22 (LISTEN)
-----------
sudo systemctl status fwcloud-api
Unit fwcloud-api.service could not be found.
----------------
MariaDB [fwcloud]> show tables;
Empty set (0.002 sec)
MariaDB [fwcloud]>
-------
Pls help
P.S. it would be nice to have full uninstall script :-X to try again :>
added 917 packages from 1330 contributors and audited 999 packages in 46.791s
10 packages are looking for funding
run `npm fund` for details
found 8 vulnerabilities (7 low, 1 high)
run `npm audit fix` to fix them, or `npm audit` for details
----------
(*) Creating database schema and initial data.
Database schema ... Application can not start: Handshake inactivity timeout
Error: Handshake inactivity timeout
at Handshake.<anonymous> (/opt/fwcloud/api/node_modules/mysql/lib/protocol/Protocol.js:160:17)
at Handshake.emit (events.js:315:20)
at Handshake._onTimeout (/opt/fwcloud/api/node_modules/mysql/lib/protocol/sequences/Sequence.js:124:8)
at Timer._onTimeout (/opt/fwcloud/api/node_modules/mysql/lib/protocol/Timer.js:32:23)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)
--------------------
at Protocol._enqueue (/opt/fwcloud/api/node_modules/mysql/lib/protocol/Protocol.js:144:48)
at Protocol.handshake (/opt/fwcloud/api/node_modules/mysql/lib/protocol/Protocol.js:51:23)
at PoolConnection.connect (/opt/fwcloud/api/node_modules/mysql/lib/Connection.js:119:18)
at Pool.getConnection (/opt/fwcloud/api/node_modules/mysql/lib/Pool.js:48:16)
at /opt/fwcloud/api/node_modules/typeorm/driver/mysql/MysqlDriver.js:774:18
at new Promise (<anonymous>)
at MysqlDriver.createPool (/opt/fwcloud/api/node_modules/typeorm/driver/mysql/MysqlDriver.js:771:16)
at MysqlDriver.<anonymous> (/opt/fwcloud/api/node_modules/typeorm/driver/mysql/MysqlDriver.js:275:51)
at step (/opt/fwcloud/api/node_modules/tslib/tslib.js:136:27)
at Object.next (/opt/fwcloud/api/node_modules/tslib/tslib.js:117:57)
Installation canceled!
------
root@zeus:/home/xxxxxxx/Downloads# npm audit fix
npm ERR! code EAUDITNOPJSON
npm ERR! audit No package.json found: Cannot audit a project without a package.json
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-02-04T22_45_32_850Z-debug.log
------/root/.npm/_logs/2021-02-04T22_45_32_850Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'audit' ]
2 info using npm@6.14.10
3 info using node@v14.15.4
4 verbose npm-session a71329e89af608e1
5 verbose stack Error: No package.json found: Cannot audit a project without a package.json
5 verbose stack at /usr/lib/node_modules/npm/lib/audit.js:164:19
5 verbose stack at tryCatcher (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
5 verbose stack at Promise._settlePromiseFromHandler (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:514:35)
5 verbose stack at Promise._settlePromise (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:574:18)
5 verbose stack at Promise._settlePromise0 (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:619:10)
5 verbose stack at Promise._settlePromises (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:699:18)
5 verbose stack at Promise._fulfill (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:643:18)
5 verbose stack at PromiseArray._resolve (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise_array.js:126:19)
5 verbose stack at PromiseArray._promiseFulfilled (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise_array.js:144:14)
5 verbose stack at PromiseArray._iterate (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise_array.js:114:31)
5 verbose stack at PromiseArray.init [as _init] (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise_array.js:78:10)
5 verbose stack at Promise._settlePromise (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:571:21)
5 verbose stack at Promise._settlePromise0 (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:619:10)
5 verbose stack at Promise._settlePromises (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:699:18)
5 verbose stack at Promise._fulfill (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:643:18)
5 verbose stack at PromiseArray._resolve (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise_array.js:126:19)
6 verbose cwd /home/xxxxxx/Downloads
7 verbose Linux 4.19.0-12-amd64
8 verbose argv "/usr/bin/node" "/usr/bin/npm" "audit"
9 verbose node v14.15.4
10 verbose npm v6.14.10
11 error code EAUDITNOPJSON
12 error audit No package.json found: Cannot audit a project without a package.json
13 verbose exit [ 1, true ]
----- run install again (there should be some catch or DB check? as it showed that all is OK,but isn't.
Updating fwcloud-websrv ...
Don't needs update, it is already up to date.
Updating fwcloud-ui ...
Don't needs update, it is already up to date.
Updating fwcloud-api ...
Don't needs update, it is already up to date.
Updating fwcloud-updater ...
Don't needs update, it is already up to date.
(*) Setting up permissions.
Creating fwcloud user/group and setting up permissions.
--- PROCESS COMPLETED ----
Your FWCloud system is ready!
If you need help please contact us:
info@fwcloud.net
FWCLOUD
fwcloud.net
This site can’t be reached xx.xx.xx.xx took too long to respond.
Try:
Checking the connection
Checking the proxy and the firewall
Running Windows Network Diagnostics
ERR_CONNECTION_TIMED_OUT
-----------
mysqld 2332 mysql 21u IPv4 487032 0t0 TCP 127.0.0.1:3306 (LISTEN)
sshd 17516 root 3u IPv4 167871 0t0 TCP *:22 (LISTEN)
sshd 17516 root 4u IPv6 167873 0t0 TCP *:22 (LISTEN)
-----------
sudo systemctl status fwcloud-api
Unit fwcloud-api.service could not be found.
----------------
MariaDB [fwcloud]> show tables;
Empty set (0.002 sec)
MariaDB [fwcloud]>
-------
Pls help
P.S. it would be nice to have full uninstall script :-X to try again :>
Last edited: