summaryrefslogtreecommitdiffstats
path: root/installer
Commit message (Collapse)AuthorAgeFilesLines
* #971: Updater backward compatibility.Ramón M. Gómez2020-06-251-11/+15
|
* #987 Use systemctl to disable/enable services in UbuntuJavier Sánchez Parra2020-06-242-3/+3
| | | | | | 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 More renaming to ogserverJavier Sánchez Parra2020-06-231-1/+1
| | | | | Another step into renaming all references of ogAdmServer to ogServer. This commit mostly rename references to ogAdmServer.cfg in scripts.
* #986 Rename to ogserverJavier Sánchez Parra2020-06-194-11/+11
| | | | Step forward to rename all ogAdmServer references to ogServer
* #981 Use new ogServer systemd unit fileJavier Sánchez Parra2020-06-192-0/+25
| | | | | 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-192-18/+42
| | | | | | 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-162-5/+15
| | | | version file.
* #983: Merge branch `v1.1.1c` into `master`.Ramón M. Gómez2020-06-153-9/+9
|\
| * #983: Updating release Vagrantfile.Ramón M. Gómez2020-06-092-1/+1
| |
| * #983: Releasing OpenGnsys 1.1.1cRamón M. Gómez2020-06-092-2/+2
| |
| * #943: Fix a bug in getting Git tag data before updating.Ramón M. Gómez2020-06-091-7/+7
| |
* | Revert "#959: Fix update bug when obtaining Git tags data."Ramón M. Gómez2020-06-091-6/+6
| | | | | | | | This reverts commit d4daa3475e859b94226aa081dd7d0765f0be4581.
* | Revert "#959: Update script checks all defined tags."Ramón M. Gómez2020-06-091-1/+1
| | | | | | | | This reverts commit efbe3cae676d640ff6ad16fae527a23d421af2bc.
* | #959: Update script checks all defined tags.Ramón M. Gómez2020-06-081-1/+1
| |
* | #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
|