https://bugs.contribs.org/show_bug.cgi?id=11086
--- Comment #14 from Jean-Philippe Pialasse <[email protected]> ---
(In reply to John Crisp from comment #3)
> Fixes required.
>
> Requires:
>
> perl-Exporter-Tiny - openfusion
> perl-Sub-Quote - smedev
good catch, is it in spec file ?
> Sudoer error fix:
>
> --ignoredir "/etc/sudoers.d" \
> --file "/etc/sudoers.d/90_nextcloud" "attr(0440,root,root)" \
should be fixed using e-smith-devtool
see e-smith-devtools-2.6.0-ignore_more_system_dir.patch
> Typo:
>
> /etc/e-smith/templates/etc/httpd/conf/httpd.conf/98nextcloud
>
> - if ($fascgi_mod eq 'mod_proxy_fcgi'){
> + if ($fastcgi_mod eq 'mod_proxy_fcgi'){
good catch
> /etc/e-smith/events/nextcloud-update/S20nextcloud-conf
>
> - sv t /service/mysqld
> + sv t /service/mariadb
good catch
(In reply to John Crisp from comment #5)
> The error is caused here
>
>
> etc/php-fpm.d/www.conf/15Nextcloud
>
> -if ($PHP_VERSION eq '72'){
> +if ($PHP_VERSION eq '74'){
>
>
> Not sure if that is the real fix, but it solves the issue for now and gets
> Nextcloud running
it is, need to patch and fix
good catch
(In reply to John Crisp from comment #6)
>
> sudo -u www php74 /usr/share/nextcloud/occ log:tail
use OCC, do not use sudo, unless you really want to type everything and
remember it without typo (right version, right memory...)
OCC :
# cat bin/OCC
#!/bin/bash
cd /usr/share/nextcloud
sudo -u www -s /usr/bin/php72 --define memory_limit=512M occ $@
(In reply to John Crisp from comment #9)
> OK - I saw this earlier
>
> Temporary directory var/lib/php/php74/tmp is not present or writable
>
> But I presume it should be looking in
>
> /var/lib/php/nextcloud
>
> or
>
> /var/lib/php/nextcloud/tmp
this is why you can not upload
it should really have /var/lib/php/php74/tmp
and /var/lib/php/nextcloud/tmp
but nextcloud should look in the last one
again do not use sudo....
# ll /var/lib/php/php74/tmp -d
drwxrwx--- 2 root www 6 30 sep 20:28 /var/lib/php/php74/tmp
# rpm -qf /var/lib/php/php74/tmp
smeserver-php-3.0.0-14.el7.sme.x86_64
your issue i the missing heading /
/etc/opt/remi/php74/php.ini
upload_tmp_dir = var/lib/php/php74/tmp
seems a bug in creating the php.ini file ===> will fix that in php
(In reply to John Crisp from comment #13)
> "There are some warnings regarding your setup.
>
> MySQL is used as database but does not support 4-byte characters. To be able
> to handle 4-byte characters (like emojis) without issues in filenames or
> comments for example it is recommended to enable the 4-byte support in
> MySQL. For further details read the documentation page about this."
>
> https://docs.nextcloud.com/server/20/admin_manual/configuration_database/
> mysql_4byte_support.html
>
> Have tried a few bits but not been able to get it right yet.
>
> I think it needs a mysql template a bit like this:
>
> cat /etc/e-smith/templates/etc/my.cnf/020nextcloud
>
> innodb_large_prefix=true
> innodb_file_format=barracuda
> innodb_file_per_table=1
go, but check if does not break existing innodb table access or at least the
journals which can prevent restart of the mariadb service
--
You are receiving this mail because:
You are the QA Contact for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/