| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
event scheduler automatically.
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
database (thanks to `acodoner` for reporting this problem on topic:418).
|
|
|
|
| |
configuration and prepares netboot directory, both for UEFI computers.
|
| |
|
| |
|
| |
|
|
|
|
| |
(obsoletes commit `5cb4d9b`).
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
fields before applying database updates.
|