Experimenting with nextcloud

Now if I do install:

$ sudo urpmi php-mcrypt
To satisfy dependencies, the following packages are going to be installed:
 Package                        Version      Release       Dist  DEpoch Arch 
(medium "main")
 lib64mcrypt4                   2.5.8        25            omv   2015.0 x86_64 
 libmcrypt                      2.5.8        25            omv   2015.0 x86_64 
 php-mcrypt                     7.0.9        1             omv   2015.0 x86_64 
419KB of additional disk space will be used.

then the command returns:

$ php -m | grep ctype
PHP Warning:  PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /usr/lib64/php/extensions/mcrypt.so (/usr/lib64/php/extensions/mcrypt.so: undefined symbol: spprintf), /usr/lib64/php/extensions/mcrypt.so.so (/usr/lib64/php/extensions/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
ctype

Post-edit: Which looks exactly like the error you are getting.

Hello Ben,

That’s exactly what I see. I also found that nextcloud uses php-mcrypt to increase file encryption performance.

I think that it is fair to say that installing php-mcrypt makes the php environment corrupt.

Question: Is php-mcrypt outdated or will it be fixed?

I try to find out if nextcloud can operate without php-mcrypt

Regards,
Albert

1 Like

At this point I recommend going to #openmandriva-cooker on Freenode IRC and ask your questions there or filing a bug report or maybe better both. There do seem to be a number of bugs reports involving nextcloud and or php already so would be good to get developers working on this now. But this needs reporting by those that actually use nextcloud or other services where php stuff is broken.

Post-edit:

That’s what we need developers to tell us.

Hello Ben,

I created bug report 2374.
Is openmandriva-cooker a good idea, I like a stable system?

Regards,
Albert

#openmandriva-cooker on Freenode IRC
it’s just the developers IRC channel (instant chat) :wink:

https://www.openmandriva.org/chat-FAQ here is a FAQ (at least a start of :wink:) with some guide to join our discussion rooms. If you’re not used with IRC I’d recommend using Riot/matrix instead (quick howto here: https://www.openmandriva.org/en/documentation/web-services/article/newcomer-guide-join-openmandriva-chat-room-with-matrix )

1 Like

Hello,

I tried to install nextcloud 14 from source as explained in the attachmenttest_install.pdf (55.2 KB)

When I try to start nextcloud in my browser as http://localhost/nextcloud/ I get the following message:

403 Forbidden: Execute Access Forbidden

The server is currently not serving php scripts.

This could mean the server administrator is doing maintenance or has orphan php files laying around, please contact the server administrator or come back later. Thank you.

Any idea what I overlooked?

Regards,
Albert

Hello,
mcrypt for php 7.2 seems still to exist, see How to install mcrypt in php7.2 / php7.3 | Lukáš Mešťan
Is it possible to use this info to update the php-mcrypt on OpenMandrivaLx3

Regards,
Albert

Hi @vhelmont, do you use php-fpm om mod-php?

Hello Raphael,

The package php-fpm isn’t loaded on my system, the OpenMandrivaLx3 owncloud and nextcloud packages doesn’t seem to need it.

On the other hand apache-mod_php is loaded and it seems to be needed by owncloud and nextcloud.

Question: Is it possible there is also something wrong with apache-mod_php. By loading it another package is unloaded. As a result I can’t list the installed apache modules any more with:

$ /usr/sbin/apachectl -M
/usr/sbin/apachectl: line 101: /usr/sbin/httpd: No such file or directory

Regards,
Albert

I don’t know what affect this will have on nextcloud and owncloud but our mirrors haven’t updated for over 14 days. That appears to have been fixed this afternoon and update have gotten to http://distro.ibiblio.org and should get to other mirrors over the next 8 or so hours. Using “standard” repos I’m showing (obviously pertains to my own system) these packages to update:

urpmi-updates-2018⁄10⁄09.txt (3.4 KB)

A good number of the updates are php packages.

Hello Ben,
Thanks for reactivating the mirror updates. It looks like a large number of php packages, I am using, is updated. Time to start nextcloud testing again. I’ll keep you informed.

Regards,
Albert

1 Like

Hello,

When I install the apache-base 2.4.34 package:

  • The httpd and httpd-prefork daemons are available in MCC.

  • I have to start one of the daemons manually.

  • I can list my installed apache modules as:
    $ /usr/sbin/apachectl -M

  • I get an error when I try to access http://localhost/nextcloud
    403 Forbidden: Execute Access Forbidden

    The server is currently not serving php scripts.

    This could mean the server administrator is doing maintenance or has orphan php files laying around, please contact the server administrator or come back later. Thank you.

When I additionally install the apache-mod_php package:

  • The apache-mpm-event package is removed from the system.
  • Only the httpd-prefork daemon is available in MCC.
  • I have to start the daemons manually.
  • I get an error when I try to list my installed apache modules as:
    $ /usr/sbin/apachectl -M
    /usr/sbin/apachectl: line 101: /usr/sbin/httpd: No such file or directory
  • I see the nextcloud start page when I try to access http://localhost/nextcloud

Question 1: Is there a bug in the apache-mod_php package?
Question 2: What is the difference between the httpd and httpd-prefork daemons?

Regards,
Albert

Credit for that probably goes to @fedya and @bero.