summaryrefslogtreecommitdiffstats
path: root/installer
Commit message (Collapse)AuthorAgeFilesLines
* #959: Fix update bug when obtaining Git tags data.Ramón M. Gómez2020-06-081-6/+6
|
* #971 Remove ogAdmClient code from update scriptJavier Sánchez Parra2020-06-081-15/+0
| | | | | ogAdmClient is deprecated, new versions of OpenGnsys use ogClient as clients software.
* #971 Add ogClient update to the update scriptJavier Sánchez Parra2020-06-081-0/+30
| | | | | | | New versions of OpenGnsys use ogClient as daemon for clients. Now update script downloads new version of ogClient from GitHub to update the code, maintaining the configuration file ogclient.json.
* #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-022-4/+4
| | | | New version of ogAdmServer need automake to generate the Makefile.
* #981 Add systemd unit fileJavier Sánchez Parra2020-06-022-0/+16
| | | | | | | | 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-022-26/+8
| | | | | | | | | | | 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.
* #973 Restart OpenGnsys service after stopping itJavier Sánchez Parra2020-06-021-1/+3
| | | | | | | | | After updating OpenGnsys with the script, if there is a new version of the ogAdmServer, the script stop the service. So, you had to start manually the service once the update has finished. This commit makes a restart of the service after copying the new version of the ogAdmServer.
* #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-022-2/+2
| | | | | | | | | | | | | | 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: Updating release Vagrant file.Ramón M. Gómez2020-05-272-4/+3
|
* #959: OGAgent installer downloads from its new repository.Ramón M. Gómez2020-05-271-1/+1
|
* #959: Vagrant files download from the new repositores.Ramón M. Gómez2020-05-272-2/+2
|
* #954 opengnsys_import.sh: Fix error when options --exclude-logs or ↵Irina Gómez2020-05-191-4/+6
| | | | --exclude-users are used
* #972: Remove cron job definition from the default file; then updater checks ↵Ramón M. Gómez2020-04-221-17/+13
| | | | if service code has changed to restart it automatically.
* #959: Installer and updater download the lastest OGAgent version.Ramón M. Gómez2020-04-212-2/+0
|
* #927 Remove opengnsys.cron scriptJavier Sánchez Parra2020-04-072-2/+4
| | | | | | | | | | | | | | | | | | 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-172-4/+4
| | | | | | 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 Redoing change @7d8d8af deleted by mistake.irinagomez2020-03-171-0/+2
|
* Revert "#969 New branch will create for images tree."irinagomez2020-03-171-2/+0
| | | | This reverts commit e3047a32128908fba03e498e372535c52ade7bc4.
* #964: Uninstall script removes MySQL/MariaDB template file.Ramón M. Gómez2020-03-121-0/+2
|
* #964: Update script copies the MySQL / MariaDB template configuration file.Ramón M. Gómez2020-03-111-25/+8
|
* #964: Fix bug when copying MySQL / MariaDB template configuration file.Ramón M. Gómez2020-03-111-1/+2
|
* #959: Update OGAgent version.Ramón M. Gómez2020-03-111-1/+1
|
* #941: Add new installation dependencies to compile services.Ramón M. Gómez2020-03-102-4/+4
|
* #959: Installer copies the new MySQL configuration template to enable the ↵Ramón M. Gómez2020-03-051-0/+3
| | | | event scheduler automatically.
* #954: Improvements in `opengnsys_imports.sh`:Ramón M. Gómez2020-02-141-37/+141
| | | | | | | | | * Import new data defined in ticket:956 * New option to check the export file * New option to exclude log import * New option to exclude repository import * New option to exclude user import * Warn if the you need to download ogLive clients
* #956: Script `opengnsys_exports.sh`saves ogLive info file and log directory.Ramón M. Gómez2020-02-141-0/+3
|
* #946: Reverting installation URL to `master` branch.Ramón M. Gómez2020-02-102-2/+2
|
* #946: Releasing tag OpenGnsys 1.1.1a (after fixing bug).opengnsys-1.1.1aRamón M. Gómez2020-02-102-2/+2
|
* #946: Reverting installation URL to `master` branch.Ramón M. Gómez2020-02-102-2/+2
|
* #946: Releasing tag OpenGnsys 1.1.1a.Ramón M. Gómez2020-02-102-3/+3
|
* #946: Fix appropriate parameter (modify commit `8f24716`).Ramón M. Gómez2020-01-311-1/+1
|
* #946: Add API token to the ogAdmServer configuration file, if needed.Ramón M. Gómez2020-01-311-2/+5
|
* #951: Set default value to non-null pending fields when updating the ↵Ramón M. Gómez2020-01-271-0/+16
| | | | database (thanks to `acodoner` for reporting this problem on topic:418).
* #802 #888 opengnsys_update.sh adds arquitecture detection in dhcp ↵Irina Gómez2020-01-231-1/+17
| | | | configuration and prepares netboot directory, both for UEFI computers.
* #943: Fix bug when comparing the number of releases available for updating.Ramón M. Gómez2020-01-221-1/+1
|
* #951: Remove some fake error messages in import script.Ramón M. Gómez2020-01-211-3/+3
|
* #951: Applying commit `b5db03a` to the import script.Ramón M. Gómez2020-01-211-1/+1
|
* #951: Import script parses SQL file instead of altering database structure ↵Ramón M. Gómez2020-01-211-19/+9
| | | | (obsoletes commit `5cb4d9b`).
* #951: Fix bug when `opengnsys_update.sh` applies incremental database updates.Ramón M. Gómez2020-01-211-1/+1
|
* #946: Set default value in SQL clause.Ramón M. Gómez2020-01-201-5/+6
|
* #946: Updating Vagrant labs to OpenGnsys 1.1.1aRamón M. Gómez2020-01-205-184/+188
|
* #946: Installation script removes downloaded files.Ramón M. Gómez2020-01-201-1/+1
|
* #951: Script `opengnsys_import.sh` assigns a default value to non-null ↵Ramón M. Gómez2020-01-171-0/+15
| | | | fields before applying database updates.