* Sat Dec 14 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.6-4.sme

- fix roundcube not working on initial install [SME: 12812]
This commit is contained in:
2024-12-14 18:09:44 -05:00
parent c9aaa2a7fb
commit 7f03032404
6 changed files with 21 additions and 4 deletions

View File

@@ -3,12 +3,16 @@
/usr/bin/sed -i -e 's/^.*error_reporting.*$/ \/\/rem/' /usr/share/roundcubemail/program/lib/Roundcube/bootstrap.php
# update composer
# if installed before user apache becoem an alias of www 102
/bin/rpm --setugids roundcubemail
/bin/rpm --setperms roundcubemail
# disabled by default for SME11 as we would rather the stability of rpms
#/usr/bin/rcplugin_update.sh
# prevent bug with spell checker: An error was encountered on the server. Please try again later.
pushd /usr/share/myspell
pushd /usr/share/myspell >/dev/null
[ -f en.dic ] || ln -s en_US.dic en.dic
[ -f en.aff ] || ln -s en_US.aff en.aff
popd
popd >/dev/null

View File

@@ -10,7 +10,7 @@ if ($PHP_VERSION eq $phpversion){
my $open_basedir= $roundcube{PHPBaseDir} || '';
my $include_path = ".:/usr/share/pear-addons:/usr/share/pear:/usr/share/pear-data/:/usr/share/php".
":/opt/remi/php81/root/usr/share/pear:/opt/remi/php81/root/usr/share/php".
":/opt/remi/php81/root/usr/share/pear-data/:/opt/remi/php82/root/usr/share/pear-data/: /opt/remi/php83/root/usr/share/pear-data/";
":/opt/remi/php81/root/usr/share/pear-data/:/opt/remi/php82/root/usr/share/pear-data/:/opt/remi/php83/root/usr/share/pear-data/";
$open_basedir = "/usr/share/roundcubemail:/etc/roundcubemail/:/var/log/roundcubemail:/var/lib/roundcubemail:/var/log/roundcube.log:/var/lib/php/roundcube:/home/e-smith/files/roundcube:/dev/urandom:/proc/meminfo:/usr/share/GeoIP/GeoLite2-Country.mmdb:/proc/cpuinfo:$open_basedir:$include_path";
my $id = 'roundcube';
my $max_children = $roundcube{'PHPmaxChildren'} || 20;