summaryrefslogtreecommitdiffstats
path: root/installer/opengnsys_installer.sh
Commit message (Collapse)AuthorAgeFilesLines
* #1048: Installer detects container network interface as "eth0@ifNN".Ramón M. Gómez2021-07-011-1/+1
|
* #997: opengnsys_installer.shIrina Gómez2021-04-081-21/+23
| | | | | The choice of ogLive is commented for compatibility with the new version of ogClient. The work directory name changes with the new versions name format.
* #1026 The installation script displays information message only when ↵Irina Gómez2021-03-041-6/+20
| | | | distribution is different than advised.
* #1026 The installation and upgrade scripts display messages with the ↵Irina Gómez2021-03-041-0/+7
| | | | OpenGnsys version prerequisites; in case of update, they also show the current version.
* #1029 Installation and update show a warning about debug level of syslog.Irina Gómez2021-02-151-2/+2
|
* #1027 opengnsys_update.sh and opengnsys_installer.sh configure ogclient.Irina Gómez2021-02-151-1/+2
|
* #997 Installer and updater download the latest versions of OGAgent and ogLive.Irina Gómez2020-12-171-2/+2
|
* #988 Add ogServer JSON config to installerJavier Sánchez Parra2020-10-161-6/+18
| | | | | This commit changes legacy ogServer configuration file to new ogServer JSON configuration file.
* #997: Support for Initrd compressed in several formats.Ramón M. Gómez2020-09-031-1/+1
| | | | Adding compatibility with Ubuntu 20.04 Initrd, which is compressed in LZ4 format.
* #993 opengnsys_installer.sh: Fixs inconsistent number of array items in ↵Irina Gómez2020-08-041-1/+0
| | | | copyServerFiles.
* #993 Remove ogAdmServerAuxRoberto Hueso Gómez2020-07-311-1/+0
| | | | | | This patch removes ogAdmServerAux which is no longer needed. This script is replaced by the modifications performed on 'setclientmode' and a call to the ogServer API POST /modes.
* #987 Use systemctl to disable/enable services in UbuntuJavier Sánchez Parra2020-06-241-2/+2
| | | | | | OpenGnsys install and update scripts were still using update-rc to disable and enable services in Debian/Ubuntu. But, since Debian 8 and Ubuntu 15, this should be done with systemd systemctl.
* #986 Rename to ogserverJavier Sánchez Parra2020-06-191-3/+3
| | | | Step forward to rename all ogAdmServer references to ogServer
* #981 Use new ogServer systemd unit fileJavier Sánchez Parra2020-06-191-0/+6
| | | | | This commit adapts installer, updater and init scripts to work with new ogServer systemd unit file.
* #985 Install and update scripts now use ogServer repoJavier Sánchez Parra2020-06-191-10/+22
| | | | | | OpenGnsys is separating the different parts of the project in different git repositories. Now ogServer, formerly ogAdmServer, has is own repo, so is necessary to adapt install and update script to use this new repo.
* #984: Installer and updater download the OGAgent tarball defined in the ↵Ramón M. Gómez2020-06-161-3/+8
| | | | version file.
* #971 Update ogClient repo URL in installerJavier Sánchez Parra2020-06-041-1/+1
| | | | Use opengnsys github repository for installer.
* #980 use json file format in ogClientJavier Sánchez Parra2020-06-021-2/+1
|
* #970 Add automake depencency for ogAdmServerJavier Sánchez Parra2020-06-021-2/+2
| | | | New version of ogAdmServer need automake to generate the Makefile.
* #981 Add systemd unit fileJavier Sánchez Parra2020-06-021-0/+2
| | | | | | | | The ogAdmServer needs to be started after MySQL, because it queries the DB at the beginning to obtain the schedules. This commit adds a systemd unit file that force OpenGnsys service to start after MySQL service
* #971 Remove ogAdmAgent initializationJavier Sánchez Parra2020-06-021-15/+0
| | | | | | | | | | | All the functionalities of the ogAdmAgent are now in the ogAdmServer. So, the it is not needed anymore. This commit remove the installation and update of the ogAdmAgent, adds a check to remove it if exists and removes it from the OpenGnsys init script. A future patch will remove all the code related to the ogAdmAgent.
* #980 Add ogClient to the installer and update the setserveraddr scriptJavier Sánchez Parra2020-06-021-13/+21
| | | | This also removes the legacy ogAdmClient for these scripts.
* #970 autotools support for ogAdmServerOpenGnSys Support Team2020-06-021-1/+1
| | | | | | | | | | | | | | To build and to install ogAdmServer: autoreconf -fi ./configure make make install Default prefix is /opt/opengnsys/ as usual. ogAdmServer uses autotools for compilation, so this patch adapts OpenGnsys updater and installer to use autotools for compilation.
* #959: Defining new development version.Ramón M. Gómez2020-05-271-1/+1
|
* #959: Releasing OpenGnsys 1.1.1b.opengnsys-1.1.1bRamón M. Gómez2020-05-271-1/+1
|
* #959: Installer and updater download the lastest OGAgent version.Ramón M. Gómez2020-04-211-1/+0
|
* #927 Remove opengnsys.cron scriptJavier Sánchez Parra2020-04-071-1/+0
| | | | | | | | | | | | | | | | | | This commit removes the opengnsys cron script that checks if the ogAdmServer is running or using too much CPU and restarts the process. Now that the ogAdmServer is more stable this script is not needed. Also, without this script we are going to know better when the ogAdmServer is having a problem and get better reports. In case you observe a crash in ogAdmServer, please, run it under valgrind: valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --log-file=/tmp/ogadmserver-valgrind-out.log /opt/opengnsys/sbin/ogAdmServer -f /opt/opengnsys/etc/ogAdmServer.cfg And post your 'ogadmserver-valgrind-out.log' file to the mailing list. This patch changes the installer and the update scripts too. They do not configure opengnsys.cron anymore. The update script search and remove the deprecated files as well.
* #941 Restore mysql service in installerJavier Sánchez Parra2020-04-021-8/+10
| | | | | | | | | This fixes commit 930563c: the installation script tries to change MySQL root password without previously starting MySQL. This commit restores the code that enables and restart MySQL to its previous position, before changing the password, and adds a new restart MySQL command.
* #941 Set MySQL encoding to UTF-8Javier Sánchez Parra2020-04-021-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit sets the MySQL enconding to UTF8. This way we can avoid problems with special characters in strings, like: ó. It also changes the installation script to always copy the MySQL configuration template and restart MySQL. So, even if the server had MySQL installed before the OpenGnsys installation, the script configures MySQL. Example error that this commit should fix: ogAdmServer[12524]: failed to query database (actualizaSoftware:2380) 1366: Incorrect string value: '\xF3n de ...' for column 'descripcion' at row 1 The encoding configuration before this commit should be like this: mysql> SHOW VARIABLES LIKE 'char%'; +--------------------------+----------------------------+ | Variable_name | Value | +--------------------------+----------------------------+ | character_set_client | utf8 | | character_set_connection | utf8 | | character_set_database | latin1 | | character_set_filesystem | binary | | character_set_results | utf8 | | character_set_server | latin1 | | character_set_system | utf8 | | character_sets_dir | /usr/share/mysql/charsets/ | +--------------------------+----------------------------+ 8 rows in set (0.10 sec) The encoding configuration after this commit should be like this: mysql> SHOW VARIABLES LIKE 'char%'; +--------------------------+----------------------------+ | Variable_name | Value | +--------------------------+----------------------------+ | character_set_client | utf8 | | character_set_connection | utf8 | | character_set_database | utf8 | | character_set_filesystem | binary | | character_set_results | utf8 | | character_set_server | utf8 | | character_set_system | utf8 | | character_sets_dir | /usr/share/mysql/charsets/ | +--------------------------+----------------------------+ 8 rows in set (0.01 sec)
* #941 Add missing dependencies for the ogAdmServerJavier Sánchez Parra2020-03-171-2/+2
| | | | | | This commits adds the binary of libdbi and the drivers to work with MySQL. A previous commit (1479f77) added the headers for the compilation, libdbi-dev.
* #964: Fix bug when copying MySQL / MariaDB template configuration file.Ramón M. Gómez2020-03-111-1/+2
|
* #941: Add new installation dependencies to compile services.Ramón M. Gómez2020-03-101-2/+2
|
* #959: Installer copies the new MySQL configuration template to enable the ↵Ramón M. Gómez2020-03-051-0/+3
| | | | event scheduler automatically.
* #946: Reverting installation URL to `master` branch.Ramón M. Gómez2020-02-101-1/+1
|
* #946: Releasing tag OpenGnsys 1.1.1a (after fixing bug).opengnsys-1.1.1aRamón M. Gómez2020-02-101-1/+1
|
* #946: Reverting installation URL to `master` branch.Ramón M. Gómez2020-02-101-1/+1
|
* #946: Releasing tag OpenGnsys 1.1.1a.Ramón M. Gómez2020-02-101-1/+1
|
* #946: Installation script removes downloaded files.Ramón M. Gómez2020-01-201-1/+1
|
* #946: Update release number.Ramón M. Gómez2020-01-161-0/+1
|
* #938: Show instructions to download BURG after installing/updating.Ramón M. Gómez2019-12-101-0/+2
|
* #914: Avoid installation on a previously installed system.Ramón M. Gómez2019-12-041-0/+6
|
* #914: Reverting installation URL to master branch after fixing last bug.Ramón M. Gómez2019-12-011-2/+2
|
* #914: Fix bug when getting the release from a Git tag.opengnsys-1.1.1Ramón M. Gómez2019-11-301-4/+6
|
* #914: Reverting installation URL to `master` branch.Ramón M. Gómez2019-11-291-1/+1
|
* #914: Releasing OpenGnsys 1.1.1 (Espeto).Ramón M. Gómez2019-11-291-1/+1
|
* #914: Adapting all scripts to use the `master` branch.Ramón M. Gómez2019-11-251-1/+1
|
* #915: Add new ogAdmServer compilation dependency.Ramón M. Gómez2019-11-211-1/+1
|
* #925: Script `settoken` changes REST token for users.Ramón M. Gómez2019-11-111-0/+1
|
* #914: Reverting commit `3df93ab` and using GAWK for regex compatibility.Ramón M. Gómez2019-11-081-2/+2
|
* #925: Only the installer uses {{{settoken}}} script to generate ↵Ramón M. Gómez2019-10-161-10/+10
| | | | authentication tokens.