Building rh-php73 for arm 32bit

As said would explore the possibilities and made progress;
That is: it builds clean, test-suite passes…

Al requirements for nethserver-{rh-php73-php-fpm nexcloud} are satisfied.

Unfortunately it does not run… Can very well be a packaging mistake I made, those SCL-rpm’s are still a bit weird to me.
EDIT:
It runs good enough for testing with nethserver-nextcloud

here a repository with the results:

to create a yum conf for the above:

cat > /etc/yum.repos.d/Mark_Devel.repo << EOF
#
# Mark's devel YUM repositories configuration
#

[mark_devel]
name=Mark's Development Repository
baseurl=https://vps01.havak.nl/nethserver/7/devel/armhfp/
enabled=1
gpgcheck=0
EOF

Going to leave it for a while and try to debug later…

All findings are welcome.

@arm_team

4 Likes

Feedback from here so far:

# uname -srm
Linux 5.4.88-v7l.1.el7 armv7l

# scl enable rh-php73 bash
# php --version
PHP 7.3.20 (cli) (built: Jan 27 2021 16:04:42) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.20, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.20, Copyright (c) 1999-2018, by Zend Technologies
# exit
# php --version
PHP 5.4.16 (cli) (built: Apr  1 2020 06:27:24)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

So rh-php73 is present…

# systemctl status rh-php73-php-fpm.service
● .service - The PHP FastCGI Process Manager
   Loaded: loaded (/usr/lib/systemd/system/rh-php73-php-fpm.service; enabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/rh-php73-php-fpm.service.d
           └─nethserver-rh-php73-php-fpm.conf
   Active: active (running) since Wed 2021-01-27 18:21:16 UTC; 58min ago
 Main PID: 4932 (php-fpm)
   Status: "Processes active: 0, idle: 5, Requests: 0, slow: 0, Traffic: 0req/sec"
   CGroup: /system.slice/rh-php73-php-fpm.service
           ├─4932 php-fpm: master process (/opt/rh/rh-php73/root/etc/php-fpm.conf)
           ├─4933 php-fpm: pool www
           ├─4934 php-fpm: pool www
           ├─4935 php-fpm: pool www
           ├─4936 php-fpm: pool www
           └─4937 php-fpm: pool www

Jan 27 18:21:16 rpi4.havak.nl systemd[1]: Starting The PHP FastCGI Process Manager...
Jan 27 18:21:16 rpi4.havak.nl systemd[1]: Started The PHP FastCGI Process Manager.

rh-php73-php-fpm is running…

EDIT: nextcloud log: (yes is it a long line…)

vate/AppConfig.php","line":110,"function":"loadConfigValues","class":"OC\\AppConfig","type":"->","args":[]},{"file":"/usr/share/nextcloud/lib/private/AppConfig.php","line":301,"function":"getApps","class":"OC\\AppConfig","type":"->","args":[]},{"file":"/usr/share/nextcloud/lib/private/legacy/OC_App.php","line":949,"function":"getValues","class":"OC\\AppConfig","type":"->","args":[false,"installed_version"]},{"file":"/usr/share/nextcloud/lib/private/Server.php","line":668,"function":"getAppVersions","class":"OC_App","type":"::","args":[]},{"file":"/usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":155,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/share/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":122,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\Memcache\\Factory"]},{"file":"/usr/share/nextcloud/lib/private/ServerContainer.php","line":156,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\Memcache\\Factory",true]},{"file":"/usr/share/nextcloud/lib/private/Server.php","line":1677,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\Memcache\\Factory"]},{"file":"/usr/share/nextcloud/lib/private/Server.php","line":1017,"function":"getMemCacheFactory","class":"OC\\Server","type":"->","args":[]},{"file":"/usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":155,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/share/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":122,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OCP\\Lock\\ILockingProvider"]},{"file":"/usr/share/nextcloud/lib/private/ServerContainer.php","line":156,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCP\\Lock\\ILockingProvider",true]},{"file":"/usr/share/nextcloud/lib/private/Server.php","line":1977,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCP\\Lock\\ILockingProvider"]},{"file":"/usr/share/nextcloud/lib/private/Files/View.php","line":118,"function":"getLockingProvider","class":"OC\\Server","type":"->","args":[]},{"file":"/usr/share/nextcloud/lib/private/Server.php","line":395,"function":"__construct","class":"OC\\Files\\View","type":"->","args":[]},{"file":"/usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":155,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/share/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":122,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\Files\\Node\\HookConnector"]},{"file":"/usr/share/nextcloud/lib/private/ServerContainer.php","line":156,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\Files\\Node\\HookConnector",true]},{"file":"/usr/share/nextcloud/lib/private/Server.php","line":1324,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\Files\\Node\\HookConnector"]},{"file":"/usr/share/nextcloud/lib/base.php","line":595,"function":"boot","class":"OC\\Server","type":"->","args":[]},{"file":"/usr/share/nextcloud/lib/base.php","line":1091,"function":"init","class":"OC","type":"::","args":[]},{"file":"/usr/share/nextcloud/cron.php","line":42,"args":["/usr/share/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php","Line":42,"Previous":{"Exception":"Doctrine\\DBAL\\Driver\\PDOException","Message":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextcloud.oc_appconfig' doesn't exist","Code":"42S02","Trace":[{"file":"/usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php","line":911,"function":"query","class":"Doctrine\\DBAL\\Driver\\PDOConnection","type":"->","args":["SELECT * FROM `oc_appconfig`"]},{"file":"/usr/share/nextcloud/lib/private/DB/Connection.php","line":202,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->","args":["SELECT * FROM `oc_appconfig`",[],[],null]},{"file":"/usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php","line":206,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->","args":["SELECT * FROM `oc_appconfig`",[],[]]},{"file":"/usr/share/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":217,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->","args":[]},{"file":"/usr/share/nextcloud/lib/private/AppConfig.php","line":345,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->","args":[]},{"file":"/usr/share/nextcloud/lib/private/AppConfig.php","line":110,"function":"loadConfigValues","class":"OC\\AppConfig","type":"->","args":[]},{"file":"/usr/share/nextcloud/lib/private/AppConfig.php","line":301,"function":"getApps","class":"OC\\AppConfig","type":"->","args":[]},{"file":"/usr/share/nextcloud/lib/private/legacy/OC_App.php","line":949,"function":"getValues","class":"OC\\AppConfig","type":"->","args":[false,"installed_version"]},{"file":"/usr/share/nextcloud/lib/private/Server.php","line":668,"function":"getAppVersions","class":"OC_App","type":"::","args":[]},{"file":"/usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":155,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/share/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":122,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\Memcache\\Factory"]},{"file":"/usr/share/nextcloud/lib/private/ServerContainer.php","line":156,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\Memcache\\Factory",true]},{"file":"/usr/share/nextcloud/lib/private/Server.php","line":1677,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\Memcache\\Factory"]},{"file":"/usr/share/nextcloud/lib/private/Server.php","line":1017,"function":"getMemCacheFactory","class":"OC\\Server","type":"->","args":[]},{"file":"/usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":155,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/share/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":122,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OCP\\Lock\\ILockingProvider"]},{"file":"/usr/share/nextcloud/lib/private/ServerContainer.php","line":156,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCP\\Lock\\ILockingProvider",true]},{"file":"/usr/share/nextcloud/lib/private/Server.php","line":1977,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCP\\Lock\\ILockingProvider"]},{"file":"/usr/share/nextcloud/lib/private/Files/View.php","line":118,"function":"getLockingProvider","class":"OC\\Server","type":"->","args":[]},{"file":"/usr/share/nextcloud/lib/private/Server.php","line":395,"function":"__construct","class":"OC\\Files\\View","type":"->","args":[]},{"file":"/usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":155,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/share/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":122,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\Files\\Node\\HookConnector"]},{"file":"/usr/share/nextcloud/lib/private/ServerContainer.php","line":156,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\Files\\Node\\HookConnector",true]},{"file":"/usr/share/nextcloud/lib/private/Server.php","line":1324,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\Files\\Node\\HookConnector"]},{"file":"/usr/share/nextcloud/lib/base.php","line":595,"function":"boot","class":"OC\\Server","type":"->","args":[]},{"file":"/usr/share/nextcloud/lib/base.php","line":1091,"function":"init","class":"OC","type":"::","args":[]},{"file":"/usr/share/nextcloud/cron.php","line":42,"args":["/usr/share/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php","Line":83,"Previous":{"Exception":"PDOException","Message":"SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextcloud.oc_appconfig' doesn't exist","Code":"42S02","Trace":[{"file":"/usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php","line":78,"function":"query","class":"PDO","type":"->","args":["SELECT * FROM `oc_appconfig`"]},{"file":"/usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php","line":911,"function":"query","class":"Doctrine\\DBAL\\Driver\\PDOConnection","type":"->","args":["SELECT * FROM `oc_appconfig`"]},{"file":"/usr/share/nextcloud/lib/private/DB/Connection.php","line":202,"function":"executeQuery","class":"Doctrine\\DBAL\\Connection","type":"->","args":["SELECT * FROM `oc_appconfig`",[],[],null]},{"file":"/usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php","line":206,"function":"executeQuery","class":"OC\\DB\\Connection","type":"->","args":["SELECT * FROM `oc_appconfig`",[],[]]},{"file":"/usr/share/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":217,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->","args":[]},{"file":"/usr/share/nextcloud/lib/private/AppConfig.php","line":345,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->","args":[]},{"file":"/usr/share/nextcloud/lib/private/AppConfig.php","line":110,"function":"loadConfigValues","class":"OC\\AppConfig","type":"->","args":[]},{"file":"/usr/share/nextcloud/lib/private/AppConfig.php","line":301,"function":"getApps","class":"OC\\AppConfig","type":"->","args":[]},{"file":"/usr/share/nextcloud/lib/private/legacy/OC_App.php","line":949,"function":"getValues","class":"OC\\AppConfig","type":"->","args":[false,"installed_version"]},{"file":"/usr/share/nextcloud/lib/private/Server.php","line":668,"function":"getAppVersions","class":"OC_App","type":"::","args":[]},{"file":"/usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":155,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/share/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":122,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\Memcache\\Factory"]},{"file":"/usr/share/nextcloud/lib/private/ServerContainer.php","line":156,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\Memcache\\Factory",true]},{"file":"/usr/share/nextcloud/lib/private/Server.php","line":1677,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\Memcache\\Factory"]},{"file":"/usr/share/nextcloud/lib/private/Server.php","line":1017,"function":"getMemCacheFactory","class":"OC\\Server","type":"->","args":[]},{"file":"/usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":155,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/share/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":122,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OCP\\Lock\\ILockingProvider"]},{"file":"/usr/share/nextcloud/lib/private/ServerContainer.php","line":156,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCP\\Lock\\ILockingProvider",true]},{"file":"/usr/share/nextcloud/lib/private/Server.php","line":1977,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCP\\Lock\\ILockingProvider"]},{"file":"/usr/share/nextcloud/lib/private/Files/View.php","line":118,"function":"getLockingProvider","class":"OC\\Server","type":"->","args":[]},{"file":"/usr/share/nextcloud/lib/private/Server.php","line":395,"function":"__construct","class":"OC\\Files\\View","type":"->","args":[]},{"file":"/usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":155,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/share/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":122,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\Files\\Node\\HookConnector"]},{"file":"/usr/share/nextcloud/lib/private/ServerContainer.php","line":156,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\Files\\Node\\HookConnector",true]},{"file":"/usr/share/nextcloud/lib/private/Server.php","line":1324,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\Files\\Node\\HookConnector"]},{"file":"/usr/share/nextcloud/lib/base.php","line":595,"function":"boot","class":"OC\\Server","type":"->","args":[]},{"file":"/usr/share/nextcloud/lib/base.php","line":1091,"function":"init","class":"OC","type":"::","args":[]},{"file":"/usr/share/nextcloud/cron.php","line":42,"args":["/usr/share/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/usr/share/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php","Line":78}},"CustomMessage":"--"},"userAgent":"--","version":"20.0.5.2"}

:thinking: :woozy_face: :sweat:

1 Like

I am getting similar results you are after adding your repo and installing NC.

[root@pi ~]# systemctl status rh-php73-php-fpm.service
● rh-php73-php-fpm.service - The PHP FastCGI Process Manager
   Loaded: loaded (/usr/lib/systemd/system/rh-php73-php-fpm.service; enabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/rh-php73-php-fpm.service.d
           └─nethserver-rh-php73-php-fpm.conf
   Active: active (running) since Wed 2021-01-27 20:02:49 UTC; 3min 17s ago
 Main PID: 17627 (php-fpm)
   Status: "Processes active: 0, idle: 5, Requests: 0, slow: 0, Traffic: 0req/sec"
   CGroup: /system.slice/rh-php73-php-fpm.service
           ├─17627 php-fpm: master process (/opt/rh/rh-php73/root/etc/php-fpm.conf)
           ├─17628 php-fpm: pool www
           ├─17629 php-fpm: pool www
           ├─17630 php-fpm: pool www
           ├─17631 php-fpm: pool www
           └─17632 php-fpm: pool www

[root@pi ~]# php --version
PHP 5.4.16 (cli) (built: Apr 1 2020 06:27:24)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

Not sure this helps but from httpd/error_log:

[Wed Jan 27 20:10:42.683666 2021] [proxy:error] [pid 17822] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /var/run/rh-php73-php-fpm/nethserver-nextcloud-php73.sock (*) failed
[Wed Jan 27 20:10:42.683796 2021] [proxy_fcgi:error] [pid 17822] [client 10.0.1.xxx:7328] AH01079: failed to make connection to backend: httpd-UDS
1 Like

probably made a mistake somewhere, it is hard to debug for me…
Do not have knowledge of PHP and limited knowledge of building Software collections.

you have to enable rh-php73:

scl enable rh-php73 bash
php --version
<output>
exit

Same errors, now with updated PHP version. :smile:

1 Like

Yes , that is a good clue…

As said before, do not have knowledge of PHP…
and a amended : Do not use nextcloud myself.

Same issues here with Nextcloud.
It seems that /etc/opt/rh/rh-php73/php-fpm.d/000-nextcloud.conf is ignored.

EDIT:

occ is working perfectly in terminal, so it’s just the php-fpm stuff not working.

sudo -u apache /opt/rh/rh-php73/root/usr/bin/php -d memory_limit=512M /usr/share/nextcloud/occ

EDIT2:

PHP-FPM is basically running but not configured, it should use port 9003.

tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 14777/php-fpm: master

2 Likes

Can remember issues with remi php72 rebuild for arm in this line. :thinking:
IIRC: it only looked in /opt/rh/rh-php73/root/etc would be nice if my memory would not be a sieve.

tk for feedback!

1 Like

Yes, was missing some rpm build marco’s in my build environment… Same mistake as a few years back.
Note to my self: build rh-php73 first, then include rh-php73-build as to be installed package in the mock configuration.

We have a proof of concept:

Unfortunately if you want to test you probably need to start over again.
Pushed the same source packages through mock meaning they will not be recognized as updates.

1 Like

Like you said I have a base install working now. I am going to try the LDAP back end and adding an SSD as local storage to try & increase my ~18MB/s transfer speeds.


EDIT - SAMBA/LDAP backend works.

2 Likes

teaser.. An other package depending on rh-php73-php-fpm

Running out of time,… will take a while to take this up. :blush:

EDIT @Andy_Wismer / @mrmarkuz do you find time to look at it?

1 Like

@mark_nl

Hi

Can try tomorrow…

Andy

2 Likes

Great work! Zabbix is running! I did not test more yet.

Install helper for testing Zabbix on arm:

cat > /etc/yum.repos.d/Mark_Devel.repo << EOF
#
# Mark's devel YUM repositories configuration
#

[mark_devel]
name=Mark's Development Repository
baseurl=https://vps01.havak.nl/nethserver/7/devel/armhfp/
enabled=1
gpgcheck=0
EOF
yum -y install https://mrmarkuz.dynu.net/mirror/mrmarkuz/7/noarch/nethserver-mrmarkuz-0.0.1-4.ns7.noarch.rpm
yum -y install --enablerepo=mark_devel,mrmarkuz nethserver-zabbix
1 Like

That’s nice, now we have 2 proofs of concept the rh-php73 is working properly. :grinning:

Next question that rises how are we going to maintain it ?

1 Like

What are our possibilities?

I think a good way would be to host it on Neth repo and maybe use CI to build if that’s possible.

That is something I’m exploring for a while now,
Building rh-php7x by hand is not a sustainable path forward.

Have been looking for a simple buildsystem for srpm’s,
something between building by hand and koji. Have not found something jet. :sweat:

Know that travis CI offers some kind of arm builds.
Still not sure if this is with qemu-static or full emulation, we need the latter.

(also asked the arm-dev CentOS mail-list for suggestions)

2 Likes

Today’s community meeting gave me a little push…

So going to maintain it manually until we find a better solution…
Not being a Nextcloud user myself it would help a lot which additional {rh sclo}-php73-php packages would be needed for some of the commonly used app’s in nextcloud.

If they are build we going to look for a solution for hosting the repositories outside my development repo’s. :slight_smile:

1 Like

@davidep atm ce-sclo repositories for armhfp and aarch64 are “redirected” to a empty repository.

Lately they do exist for aarch64 (arm 64 bit) on a slightly different location compared to x86_64 at mirror.centos.org (in altarch) . We could point to those…

They do not exist for armhfp, we need to provide/maintain the packages ourselves. Wonder your ideas / suggestions on hosting the repositories for a limited set of SCL’s for armhfp (arm 32 bit)

1 Like

It’s as far as a little change here

What about uploading the self-complied SCLo-armhfp RPMs to our arm-updates repo?

1 Like

That’s Oke with me. :slight_smile:

1 Like