Open Source Mobile Device Management?

Seems to be available from EPEL:

Yes, worked with:
yum -y install mosquitto

I am here now:

Adapt www-data to the user running your HTTP server ?

instead of www-data on CentOS the user is apache
I think you should also change the php path to match the rh-php56 version

OK, do you have a command-line example for me?

The path is /opt/rh/rh-php56/root/usr/bin/php

1 Like

OK, looks much better:

# Flyve MDM requires cron job to run automatic actions.
crontab -e -u apache

*/1 * * * * /opt/rh/rh-php56/root/usr/bin/php /usr/share/glpi/front/cron.php &>/dev/null
1 Like

There are some not supported functions, hope this is not a showstopper…

[root@infra02 html]# cat /usr/share/glpi/files/_log/cron.log

2018-03-31 14:42:35 [@infra02.privat.lan]
Intern #1: Starte createinquest
2018-03-31 14:43:11 [@infra02.privat.lan]
Intern #1: Starte watcher
2018-03-31 14:43:24 [@infra02.privat.lan]
Intern #1: Starte ticketrecurrent
2018-03-31 14:45:38 [@infra02.privat.lan]
Intern #1: Starte planningrecall
2018-03-31 15:02:26 [2@infra02.privat.lan]
Intern #1: Starte queuednotification
2018-03-31 15:09:26 [2@infra02.privat.lan]
Intern #1: Starte queuednotificationclean
2018-03-31 15:10:10 [@infra02.privat.lan]
Intern #1: Starte temp
2018-03-31 15:27:04 [@infra02.privat.lan]
Intern #1: Starte mailgateerror
2018-03-31 15:40:58 [2@infra02.privat.lan]
Intern #1: Starte contract
2018-03-31 16:12:59 [2@infra02.privat.lan]
Intern #1: Starte infocom
2018-03-31 16:22:16 [2@infra02.privat.lan]
Intern #1: Kann nicht starten optimize

nicht definierte Funktion CronTask::cronoptimize (für cron)
2018-03-31 16:27:28 [2@infra02.privat.lan]
Intern #1: Kann nicht starten optimize

nicht definierte Funktion CronTask::cronoptimize (für cron)
2018-03-31 16:35:08 [2@infra02.privat.lan]
Intern #1: Kann nicht starten optimize

nicht definierte Funktion CronTask::cronoptimize (für cron)
2018-03-31 16:37:01 [@infra02.privat.lan]
Extern #1: Starte taskscheduler
2018-03-31 16:37:01 [@infra02.privat.lan]
Extern #2: Starte cleantaskjob
2018-03-31 16:37:01 [@infra02.privat.lan]
Extern #3: Starte cleannetworkportlogs
2018-03-31 16:37:01 [@infra02.privat.lan]
Extern #4: Starte cleanoldagents
2018-03-31 16:37:01 [@infra02.privat.lan]
Extern #5: Starte wakeupAgents
2018-03-31 16:38:01 [@infra02.privat.lan]
Extern #1: Starte cleanondemand
2018-03-31 16:38:01 [@infra02.privat.lan]
Extern #2: Starte ParseApplication
2018-03-31 16:38:01 [@infra02.privat.lan]
Extern #3: Starte taskscheduler
2018-03-31 16:39:01 [@infra02.privat.lan]
Extern #1: Starte taskscheduler
2018-03-31 16:39:01 [@infra02.privat.lan]
Extern #2: Starte wakeupAgents
2018-03-31 16:39:01 [@infra02.privat.lan]
Extern #3: Starte ParseApplication
2018-03-31 16:40:02 [@infra02.privat.lan]
Extern #1: Starte taskscheduler
2018-03-31 16:40:02 [@infra02.privat.lan]
Extern #2: Starte ParseApplication
2018-03-31 16:41:01 [@infra02.privat.lan]
Extern #1: Starte taskscheduler
2018-03-31 16:41:01 [@infra02.privat.lan]
Extern #2: Starte wakeupAgents
2018-03-31 16:41:01 [@infra02.privat.lan]
Extern #3: Starte ParseApplication
2018-03-31 16:41:08 [2@infra02.privat.lan]
Intern #1: Kann nicht starten optimize

nicht definierte Funktion CronTask::cronoptimize (für cron)
1 Like

I installed GLPI from the Repository and todays update broke my GLPI 9.2.2 Installation:

Dependencies Resolved

===============================================================================================================================
 Package                                Arch                Version                      Repository                       Size
===============================================================================================================================
Updating:
 certbot                                noarch              0.22.2-1.el7                 epel                             21 k
 dedalo                                 noarch              0.1.0-1.ns7                  nethserver-updates               10 k
 glpi                                   noarch              0.90.5-2.el7                 epel                            5.9 M
 nethserver-base                        noarch              3.1.3-1.ns7                  nethserver-updates              231 k
 nethserver-dedalo                      noarch              1.0.1-1.ns7                  nethserver-updates               20 k
 nethserver-httpd                       noarch              3.2.0-1.ns7                  nethserver-updates               50 k
 nethserver-httpd-admin                 noarch              2.1.0-1.ns7                  nethserver-updates              1.6 M
 nethserver-mail-server                 noarch              1.12.0-1.ns7                 nethserver-updates              104 k
 nethserver-mail-smarthost              noarch              1.0.1-1.ns7                  nethserver-updates               29 k
 nethserver-openssh                     noarch              1.2.2-1.ns7                  nethserver-updates               30 k
 python2-acme                           noarch              0.22.2-1.el7                 epel                            135 k
 python2-certbot                        noarch              0.22.2-1.el7                 epel                            481 k

Transaction Summary
===============================================================================================================================
Upgrade  12 Packages

Total download size: 8.5 M

How should I begin to install GLPI to get a stable Installation ?

I think best way is to yum remove glpi so there won’t be updates anymore and then reinstall glpi as described here.

1 Like

Yes, thank you. I will further work on it in a few days…

1 Like

Bumping this topic. @fausp @mrmarkuz, any news?

Sorry, I have no time atm… :slightly_frowning_face:

In the meanwhile GLPI 3.0 is released and it now needs mysql 5.6 and we have 5.5 :cry:
I tried to workaround with nethserver-mariadb102 but no success.

http://forum.glpi-project.org/viewtopic.php?id=163797

2 Likes

Hi @mrmarkuz,
what do you think about installing a second MySQL-Version. I found out that it’s possible with docker.
Have a look here:

https://www.codementor.io/arpitbhayani/setup-multiple-mysql-servers-with-different-versions-docker-du107solq

2 Likes

Thanks, I think Docker would be possible but I still prefer system integration. I have to recheck, maybe it’s easier to install now.

4 Likes

Any news abt MDM on Nethserver 7.6 ?

With php-scl it should be possible to use php7 with glpi. It would be great to have a full blown MDM feature, especially in a BYOD environment.

I believe the real issue is:

Oh, I forgot about that. I am going to give it another try the next days…

1 Like

It is probably possible to use the specific port or the different tcp socket of mariadb scl :-?

2 Likes