| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This commit changes legacy ogServer configuration file to new ogServer
JSON configuration file.
|
|
|
|
| |
Adding compatibility with Ubuntu 20.04 Initrd, which is compressed in LZ4 format.
|
|
|
|
|
|
|
|
| |
ogClient is not updated when the update script runs. The update script
is using "mv", which can not merge folders and is putting the update
inside a folder.
This patch updates the script to use "rsync", which can merge folders.
|
|
|
|
|
|
|
| |
The ogAdmRepo config file is removed on update. Update script deletes
ogAdmRepo.cfg file as it was deprecated, but it is still in use.
This patch updates the script to not remove ogAdmRepo config file.
|
|
|
|
| |
mysql 5.7.31 compatibility (no tablespaces used).
|
|
|
|
| |
copyServerFiles.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Another step into renaming all references of ogAdmServer to ogServer.
This commit mostly rename references to ogAdmServer.cfg in scripts.
|
|
|
|
| |
Step forward to rename all ogAdmServer references to ogServer
|
|
|
|
|
| |
This commit adapts installer, updater and init scripts to work with new
ogServer systemd unit file.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
version file.
|
|\ |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
This reverts commit d4daa3475e859b94226aa081dd7d0765f0be4581.
|
| |
| |
| |
| | |
This reverts commit efbe3cae676d640ff6ad16fae527a23d421af2bc.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
ogAdmClient is deprecated, new versions of OpenGnsys use ogClient as
clients software.
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
Use opengnsys github repository for installer.
|
| | |
|
| |
| |
| |
| | |
New version of ogAdmServer need automake to generate the Makefile.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
This also removes the legacy ogAdmClient for these scripts.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
--exclude-users are used
|
|
|
|
| |
if service code has changed to restart it automatically.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
This reverts commit e3047a32128908fba03e498e372535c52ade7bc4.
|
| |
|
| |
|
| |
|