Hello ownCloud community,
I have a strange problem since I tried to redirect from a folder to a subfolder yesterday.
Have anyone an idea, how can i fix it?
Many thx for your help.
Steffen
I had entered the following in the .htaccess:
# Umschreiben auf www
Options +FollowSymLinks
RewriteEngine an
RewriteCond %{HTTP_HOST} ^subdomain.domain.tld[nc]
RewriteRule ^(.*)$ http://www.subdomain.domain.tld/$1 [r=301,nc]
# 301 Gesamtes Verzeichnis umleiten
RedirectMatch 301 /(.*) /owncloud/$1
This then generated links like this:
89.247.163.113 - - [12/May/2022:12:03:14 +0200] "GET /owncloud/status.php HTTP/1.0" 200 1820 "-" "Mozilla/5.0 (Windows) mirall/2.10.0 ( build 6519) (ownCloud, windows-10.0.19044 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
89.247.163.113 - - [12/May/2022:12:03:14 +0200] "GET /owncloud/owncloud/status.php HTTP/1.0" 404 1607 "-" "Mozilla/5.0 (Windows) mirall/2.10. 0 (build 6519) (ownCloud, windows-10.0.19044 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
89.247.163.113 - - [12/May/2022:12:03:14 +0200] "GET /owncloud/owncloud/owncloud/status.php HTTP/1.0" 404 1607 "-" "Mozilla/5.0 (Windows) mirall/ 2.10.0 (build 6519) (ownCloud, windows-10.0.19044 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
89.247.163.113 - - [12/May/2022:12:03:14 +0200] "GET /owncloud/owncloud/owncloud/owncloud/status.php HTTP/1.0" 404 1607 "-" "Mozilla/5.0 (Windows) mirall/2.10.0 (build 6519) (ownCloud, windows-10.0.19044 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
89.247.163.113 - - [12/May/2022:12:03:14 +0200] "GET /owncloud/owncloud/owncloud/owncloud/owncloud/status.php HTTP/1.0" 404 1607 "-" "Mozilla/5.0 ( Windows) mirall/2.10.0 (build 6519) (ownCloud, windows-10.0.19044 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
Steps to reproduce
- restart the Plesk Service
- restart the Plesk Server
- clear Cache
- unsuccessful attempts to connect to an owncloud client via different clients (macOs & Windows)
It was then no longer possible to access the owncloud via the browser and the client.
I was able to restore accessibility via the browser. However, accessibility via the client is currently not possible.
Expected behaviour
the owncloud client should be able to log in.
Actual behaviour
The following message is issued:
The connection to ownCloud on https://subdomain.domain.tld/dir:
Too many connections could not be established.
Server configuration
Provider : Alfahosting
Operating system : Ubuntu 20.04 LTS, Plesk Obsidian Version 18.0.43
Web server: Apache, Nginx
Database: MySQL
PHP version: 7.4
ownCloud version: 10.0.1.4
Updated from an older ownCloud or fresh install:
fresh install
Where did you install ownCloud from:
about the Browser with the zip image.
Signing status (ownCloud 9.0 and above):
No errors have been found.
The content of config/config.php:
<?php
$CONFIG = array(
'instanceid' => '',
'passwordsalt' => 'PASSWORD',
'secret' => '',
'trusted_domains' =>
array(
0 => 'subdomain.domain.tld',
),
'datadirectory' => '/var/www/vhosts/domain.de\/oc_data',
'overwrite.cli.url' => 'https://subdomain.domain.de/owncloud',
'dbtype' => 'mysql',
'version' => '10.0.10.4',
'dbname' => 'myDatebase',
'dbhost' => 'localhost:3306',
'dbtableprefix' => 'oc_',
'dbuser' => 'myDbUser',
'dbpassword' => myPassword',
'logtimezone' => 'UTC',
'installed' => true,
'loglevel' => 0,
);
List of activated apps:
{
"system": {
"instanceid": "octgld60nt5t",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"subdomain.domain.tld"
],
"datadirectory": "\/var\/www\/vhosts\/domain.de\/data_oc",
"overwrite.cli.url": "https:\/\/subdomain.domain.tld",
"dbtype": "mysql",
"version": "10.9.1.2",
"dbname": "",
"dbhost": "localhost:3306",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"logtimezone": "UTC",
"installed": true,
"theme": "",
"loglevel": 0,
"maintenance": false,
"default_language": "de",
"enable_certificate_management": true,
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "php",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"updater.secret": "***REMOVED SENSITIVE VALUE***",
"enable_previews": false,
"mail_smtpport": "993",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_smtpsecure": "ssl",
"allow_user_to_change_mail_address": "",
"debug": false,
"defaultapp": "files",
"session_lifetime": 28800,
"remember_login_cookie_lifetime": 28800,
"trashbin_retention_obligation": 7,
"trashbin_skip_size_threshold": "500MB",
"versions_retention_obligation": 14,
"0": 30,
"integrity.excluded.files": [
".DS_Store",
"Thumbs.db",
".directory",
".webapp",
".htaccess",
".user.ini"
]
}
}
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
LDAP configuration (delete this part if not used)
isn't configured
Client configuration
Browser:
Firefox, Safari, Edge, Chrome
Operating system:
Windows 11, macOS 12.3.1
Logs
Web server error log
there is no information about this proces
Insert your webserver log here
89.247.163.113 - - [12/May/2022:12:03:14 +0200] "GET /owncloud/status.php HTTP/1.0" 200 1820 "-" "Mozilla/5.0 (Windows) mirall/2.10.0 (build 6519) (ownCloud, windows-10.0.19044 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
89.247.163.113 - - [12/May/2022:12:03:14 +0200] "GET /owncloud/owncloud/status.php HTTP/1.0" 404 1607 "-" "Mozilla/5.0 (Windows) mirall/2.10.0 (build 6519) (ownCloud, windows-10.0.19044 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
89.247.163.113 - - [12/May/2022:12:03:14 +0200] "GET /owncloud/owncloud/owncloud/status.php HTTP/1.0" 404 1607 "-" "Mozilla/5.0 (Windows) mirall/2.10.0 (build 6519) (ownCloud, windows-10.0.19044 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
89.247.163.113 - - [12/May/2022:12:03:14 +0200] "GET /owncloud/owncloud/owncloud/owncloud/status.php HTTP/1.0" 404 1607 "-" "Mozilla/5.0 (Windows) mirall/2.10.0 (build 6519) (ownCloud, windows-10.0.19044 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
89.247.163.113 - - [12/May/2022:12:03:14 +0200] "GET /owncloud/owncloud/owncloud/owncloud/owncloud/status.php HTTP/1.0" 404 1607 "-" "Mozilla/5.0 (Windows) mirall/2.10.0 (build 6519) (ownCloud, windows-10.0.19044 ClientArchitecture: x86_64 OsArchitecture: x86_64)"
ownCloud log (data/owncloud.log)
there is no information about this process (loglevel 0)