Hi all, anyone can help me please? i’ve a problem after the enabling of http/2 on my apache2, all was fine before this (comunication from out, owncloud to database ecc…)
Steps to reproduce
- Log in homepage of my owncloud
- i see
Expected behaviour
When i try to log in my owncloud i see a white page with “No input file specified.”, everything was working fine before I switched to http/2 with apache2 (i’ve disable php7.4 and enabled php7.4-fpm)
Server configuration
Ubuntu 20.4
Apache/2.4.41 (Ubuntu)
owncloud 10.6
Web server:
apache2, this my Vhost on apache2
Alias /owncloud "/var/www/html/owncloud.gabrielebegni.it" <Directory /var/www/html/owncloud.gabrielebegni.it> Options +FollowSymlinks AllowOverride All <IfModule mod_dav.c> Dav off </IfModule> SetEnv HOME /var/www/html/owncloud.gabrielebegni.it SetEnv HTTP_HOME /var/www/html/owncloud.gabrielebegni.it
Database:
Mysql
PHP version:
7.4
ownCloud version: (see ownCloud admin page)
10.6
Updated from an older ownCloud or fresh install:
is a fresh install
Where did you install ownCloud from:
/var/www/html/owncloud.gabrielebegni.it
and all permission are of www-data
The content of config/config.php:
<?php $CONFIG = array ( 'passwordsalt' => '--------------------', 'secret' => '------------------------------', 'trusted_domains' => array ( 0 => 'www.gabrielebegni.it', 1 => 'gabrielebegni.it', 0 => 'https://gabrielebegni.it/owncloud/', 0 => 'https://owncloud.gabrielebegni.it', ), 'datadirectory' => '/var/www/html/owncloud.gabrielebegni.it/data', 'dbtype' => 'sqlite3', 'version' => '10.6.0.5', 'dbname' => 'owncloud', 'dbhost' => 'localhost', 'dbtableprefix' => 'oc_', 'instanceid' => '---------', 'logtimezone' => 'UTC', 'apps_paths' => array ( 0 => array ( 'path' => '/var/www/html/owncloud.gabrielebegni.it/apps', 'url' => '/apps', 'writable' => false, ), 1 => array ( 'path' => '/var/www/html/owncloud.gabrielebegni.it/apps-external', 'url' => '/apps-external', 'writable' => true, ), ), 'installed' => true, 'mail_domain' => '----', 'mail_from_address' => '----', 'mail_smtpmode' => '----', 'mail_smtpsecure' => 'ssl', 'mail_smtpauthtype' => 'PLAIN', 'mail_smtpauth' => 1, 'mail_smtphost' => '------', 'mail_smtpport' => '-----', 'mail_smtpname' => '------', 'mail_smtppassword' => '-----', );
List of activated apps:
no apps (only defaults)
Are you using external storage, if yes which one: local/smb/sftp/…
no
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…
no
logs of my apache2
==> /var/log/apache2/error.log <==
[Mon Mar 22 11:17:31.066136 2021] [proxy_fcgi:error] [pid 406818:tid 140585193064192] [client 19---------:58478] AH01071: Got error ‘Unable to open primary script: redirect:/index.php (No such file or directory)’, referer: https://www.gabrielebegni.it/
ls of the directory
root@Mr-Wolf:/etc/php/7.4/fpm/pool.d# ls -lha /var/www/html/owncloud.gabrielebegni.it/
total 472K
drwxr-xr-x 14 www-data www-data 4.0K Mar 21 14:08 .
drwxr-xr-x 6 root root 4.0K Feb 27 16:30 …
drwxr-xr-x 51 www-data www-data 4.0K Dec 16 17:02 apps
drwxr-xr-x 7 www-data www-data 4.0K Feb 24 08:48 apps-external
-rwxr-xr-x 1 www-data www-data 8.7K Dec 16 17:01 AUTHORS
-rwxr-xr-x 1 www-data www-data 276K Dec 16 17:01 CHANGELOG.md
drwxr-xr-x 2 www-data www-data 4.0K Mar 22 11:14 config
-rwxr-xr-x 1 www-data www-data 4.6K Dec 16 17:01 console.php
-rwxr-xr-x 1 www-data www-data 34K Dec 16 17:01 COPYING
drwxr-xr-x 16 www-data www-data 4.0K Dec 16 17:03 core
-rwxr-xr-x 1 www-data www-data 1.7K Dec 16 17:01 cron.php
drwxrwx— 6 www-data www-data 4.0K Mar 22 11:21 data
-rwxr-xr-x 1 www-data www-data 31K Dec 16 17:01 db_structure.xml
-rwxr-xr-x 1 www-data www-data 3.5K Feb 23 14:19 .htaccess
-rwxr-xr-x 1 www-data www-data 179 Dec 16 17:01 index.html
-rwxr-xr-x 1 www-data www-data 3.5K Dec 16 17:01 index.php
drwxr-xr-x 6 www-data www-data 4.0K Dec 16 17:01 lib
-rwxr-xr-x 1 www-data www-data 283 Dec 16 17:01 occ
drwxr-xr-x 2 www-data www-data 4.0K Dec 16 17:01 ocm-provider
drwxr-xr-x 2 www-data www-data 4.0K Dec 16 17:01 ocs
drwxr-xr-x 2 www-data www-data 4.0K Dec 16 17:01 ocs-provider
-rwxr-xr-x 1 www-data www-data 3.1K Dec 16 17:01 public.php
-rwxr-xr-x 1 www-data www-data 2.2K Dec 16 17:01 README.md
-rwxr-xr-x 1 www-data www-data 5.5K Dec 16 17:01 remote.php
drwxr-xr-x 4 www-data www-data 4.0K Dec 16 17:01 resources
-rwxr-xr-x 1 www-data www-data 26 Dec 16 17:01 robots.txt
drwxr-xr-x 12 www-data www-data 4.0K Dec 16 17:01 settings
-rwxr-xr-x 1 www-data www-data 2.2K Dec 16 17:01 status.php
drwxr-xr-x 6 www-data www-data 4.0K Nov 14 2019 updater
-rwxr-xr-x 1 www-data www-data 163 Dec 16 17:01 .user.ini
-rwxr-xr-x 1 www-data www-data 280 Dec 16 17:01 version.php
thanks all