Hello!
I'm trying to install FWCloud via the script on a CentOS 7 machine, but it keeps failing without providing useful error messages. Do you have any suggestions? Are there log files anywhere? I've verified that the fwcloud user can use mysql:
I'm trying to install FWCloud via the script on a CentOS 7 machine, but it keeps failing without providing useful error messages. Do you have any suggestions? Are there log files anywhere? I've verified that the fwcloud user can use mysql:
Code:
[fwcloud@mysystem~]$ mysql -u root
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 48
Server version: 5.5.68-MariaDB MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]>
Code:
root@mysystem ~ $ curl -k -s https://raw.githubusercontent.com/soltecsis/fwcloud-installer/main/fwcloud-in[127/127$
h -o ./fwcloud-installer.sh && sudo bash ./fwcloud-installer.sh && rm -f ./fwcloud-installer.sh
#################################################################################
# #
# Copyright 2020 SOLTECSIS SOLUCIONES TECNOLOGICAS, SLU #
# https://soltecsis.com #
# info@soltecsis.com # [121/127]
# #
# #
# This file is part of FWCloud (https://fwcloud.net). #
# #
# FWCloud is free software: you can redistribute it and/or modify #
# it under the terms of the GNU Affero General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# FWCloud is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with FWCloud. If not, see <https://www.gnu.org/licenses/>. #
# #
#################################################################################
(*) Linux distribution.
Detected supported Linux distribution: CentOS Linux 7 (Core)
This shell script will install/update FWCloud on your system.
Projects fwcloud-websrv, fwcloud-ui, fwcloud-api and fwcloud-updater will be installed.
Do you want to continue? [Y/n]
(*) HTTP/HTTPS proxy.
As part of the install procedure we will download system packages and NodeJS modules.
If this system requires a HTTP/HTTPS proxy you have to specify its URL.
Are you behind an HTTP/HTTPS proxy? [y/N]
(*) Searching for required packages.
PACKAGE: lsof ... FOUND
PACKAGE: git ... FOUND
PACKAGE: curl ... FOUND
PACKAGE: OpenSSL ... FOUND
PACKAGE: OpenVPN ... FOUND
PACKAGE: osslsigncode ... NOT FOUND. Installing ...
Loaded plugins: fastestmirror, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
Loading mirror speeds from cached hostfile
No package osslsigncode available.
Error: Nothing to do
DONE
Setting up Node.js repository ... DONE
PACKAGE: Node.js ... FOUND
(*) Database engine.
FWCloud needs a MariaDB or MySQL database engine.
MariaDB ... FOUND
(*) Checking FWCloud TCP ports.
TCP port 3030 for fwcloud-websrv ... OK
TCP port 3131 for fwcloud-api ... OK [60/127]
TCP port 3132 for fwcloud-updater ... OK
(*) Installing/updating from GitHub repositories.
We are going to install/update the next FWCloud projects:
fwcloud-websrv [INSTALL] (https://github.com/soltecsis/fwcloud-websrv.git)
fwcloud-ui [INSTALL] (https://github.com/soltecsis/fwcloud-ui.git)
fwcloud-api [INSTALL] (https://github.com/soltecsis/fwcloud-api.git)
fwcloud-updater [INSTALL] (https://github.com/soltecsis/fwcloud-updater.git)
These repositories will be installed/updated into the directory: /opt/fwcloud
Is it right? [Y/n]
Installing fwcloud-websrv ...
Cloning into 'websrv'...
remote: Enumerating objects: 178, done.
remote: Counting objects: 100% (178/178), done.
remote: Compressing objects: 100% (120/120), done.
remote: Total 178 (delta 102), reused 123 (delta 55), pack-reused 0
Receiving objects: 100% (178/178), 137.96 KiB | 0 bytes/s, done.
Resolving deltas: 100% (102/102), done.
Installing fwcloud-ui ...
Cloning into 'ui'...
remote: Enumerating objects: 4864, done.
remote: Counting objects: 100% (876/876), done.
remote: Compressing objects: 100% (531/531), done.
remote: Total 4864 (delta 667), reused 526 (delta 343), pack-reused 3988
Receiving objects: 100% (4864/4864), 143.17 MiB | 29.24 MiB/s, done.
Resolving deltas: 100% (3828/3828), done.
Submodule 'fwcloud-ui-doc-dist' (https://github.com/soltecsis/fwcloud-ui-doc-dist.git) registered for path 'fwcloud-u
i-doc-dist'
Cloning into 'fwcloud-ui-doc-dist'...
remote: Enumerating objects: 720, done.
remote: Counting objects: 100% (720/720), done.
remote: Compressing objects: 100% (479/479), done.
remote: Total 720 (delta 231), reused 688 (delta 203), pack-reused 0
Receiving objects: 100% (720/720), 21.90 MiB | 0 bytes/s, done.
Resolving deltas: 100% (231/231), done.
Submodule path 'fwcloud-ui-doc-dist': checked out 'b1c364f671e907af69a1709831dfe3799d52965d'
Installing fwcloud-api ...
Cloning into 'api'...
remote: Enumerating objects: 28662, done.
remote: Counting objects: 100% (370/370), done.
remote: Compressing objects: 100% (246/246), done.
remote: Total 28662 (delta 182), reused 217 (delta 86), pack-reused 28292
Receiving objects: 100% (28662/28662), 22.47 MiB | 34.19 MiB/s, done.
Resolving deltas: 100% (18015/18015), done.
Installing fwcloud-updater ...
Cloning into 'updater'...
remote: Enumerating objects: 384, done.
remote: Counting objects: 100% (384/384), done.
remote: Compressing objects: 100% (259/259), done.
remote: Total 384 (delta 233), reused 224 (delta 104), pack-reused 0
Receiving objects: 100% (384/384), 176.40 KiB | 0 bytes/s, done.
Resolving deltas: 100% (233/233), done.
(*) Setting up permissions.
Creating fwcloud user/group and setting up permissions.
(*) Installing required Node.js modules.
websrv
> @nestjs/core@7.5.5 postinstall /opt/fwcloud/websrv/node_modules/@nestjs/core
> opencollective || exit 0
added 924 packages from 643 contributors and audited 928 packages in 12.602s
58 packages are looking for funding
run `npm fund` for details
found 18 high severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
api
added 883 packages from 1338 contributors and audited 964 packages in 10.826s
14 packages are looking for funding
run `npm fund` for details
found 5 vulnerabilities (4 low, 1 high)
run `npm audit fix` to fix them, or `npm audit` for details
updater
> @nestjs/core@7.5.4 postinstall /opt/fwcloud/updater/node_modules/@nestjs/core
> opencollective || exit 0
added 1097 packages from 650 contributors and audited 1103 packages in 13.763s
57 packages are looking for funding
run `npm fund` for details
found 18 high severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
DONE
(*) TypeScript code compilation.
Compiling websrv (please wait) ... DONE
Compiling api (please wait) ... DONE
Compiling updater (please wait) ... DONE
(*) FWCloud database.
Next we are going to create the fwcloud database.
The next data will be used for it.
Host: localhost
Database: fwcloud
User: fwcdbusr
Password: RZYHUBj31yav95hr
Is it right? [Y/n]
WARNING: Database 'fwcloud' already exists.
If you continue the existing database will be destroyed.
Do you want to continue? [y/N]
(*) Generating .env file for fwcloud-api.
DONE
(*) Creating database schema and initial data.
Database schema ... Installation canceled!
Last edited: