Steps to reproduce
- fresh Install on Debian
- localhost/owncloud → ERR_CONNECTION_REFUSED
- server-ip/owncloud → The requested URL was not found on this server.
- Not possible to install owncloud
Expected behaviour
Web Interface for owncloud install
Actual behaviour
The requested URL was not found on this server.
Apache/2.4.53 (Debian) Server at 192.168.1.5 Port 80
404 Not Found
Server configuration
Operating system:
Bebian 11.3
Web server:
10.5.15-MariaDB-0+deb11u1 Debian 11
Database:
PHP version:
php 7.4.28
ownCloud version: (see ownCloud admin page)
Updated from an older ownCloud or fresh install:
Fresh Install
Where did you install ownCloud from:
Signing status (ownCloud 9.0 and above):
ownCloud 10.9.1
Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results into https://gist.github.com/ and puth the link here.
I cannot Login.
The link returns:
This domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission.
The content of config/config.php:
File does not exist… puzzled
Log in to the web-UI with an administrator account and click on
'admin' -> 'Generate Config Report' -> 'Download ownCloud config report'
This report includes the config.php settings, the list of activated apps
and other details in a well sanitized form.
or
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder
command ww-data in occ does not work.
I can only run:
root@debian:/var/www/owncloud# ./occ
ownCloud is not installed - only a limited number of commands are available
ownCloud 10.9.1
Usage:
command [options] [arguments]
Options:
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
--no-warnings Skip global warnings, show command output only
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Available commands:
check Check the server environment's dependencies.
help Display help for a command
list List commands
status Show status information.
app
app:check-code Check code compliance.
integrity
integrity:check-app Check the integrity of an app using a signature.
integrity:check-core Check integrity of core code using a signature.
integrity:sign-app Signs an app using a private key.
integrity:sign-core Sign core using a private key.
l10n
l10n:createjs Create javascript translation files for a given app
maintenance
maintenance:install Install ownCloud.
*ATTENTION:* Do not post your config.php file in public as is. Please use one of the above
methods whenever possible. Both, the generated reports from the web-ui and from occ config:list
consistently remove sensitive data. You still may want to review the report before sending.
If done manually then it is critical for your own privacy to dilligently
remove *all* host names, passwords, usernames, salts and other credentials before posting.
You should assume that attackers find such information and will use them against your systems.
List of activated apps:
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.
Are you using external storage, if yes which one: local/smb/sftp/…
smb
Are you using encryption: yes/no
not yet
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…
no
LDAP configuration (delete this part if not used)
With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your ownCloud installation folder
Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';
Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.
Client configuration
Browser:
Chrome
Operating system:
Win11
Logs
Web server error log
Insert your webserver log here
ownCloud log (data/owncloud.log)
Insert your ownCloud log here
Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
root@debian:/var/www/owncloud# ./occ maintenance:install
In Install.php line 111:
Database is not supported.
maintenance:install [–database DATABASE] [–database-connection-string DATABASE-CONNECTION-STRING] [–database-name DATABASE-NAME] [–database-host DATABASE-HOST] [–database-user DATABASE-USER] [–database-pass [DATABASE-PASS]] [–database-table-prefix [DATABASE-TABLE-PREFIX]] [–admin-user ADMIN-USER] [–admin-pass ADMIN-PASS] [–data-dir DATA-DIR]
I’m realli not an expert in Linux so be patient…
Thanks