| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
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.
|
|
|
|
| |
distribution is different than advised.
|
|
|
|
| |
OpenGnsys version prerequisites; in case of update, they also show the current version.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
| |
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.
|
|
|
|
| |
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.
|
|
|
|
| |
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.
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
event scheduler automatically.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
authentication tokens.
|