SOLVED - Upgrade to 10.0.9 results in owncloud not found error 404

upgrade

#1

Hello,
Today I upgrade my personal owncloud server to 10.0.9. The upgrade seemed to have worked at first as I could login and saw the owncloud X logo. It all seemed to work. As I also did some other upgrade and ran autoremove.
After that I could no longer login into and got Error 404. /owncloud/index.php/login was not found on this server.
I did some search but I am not an expert…

SOLVED - Issue came from owncloud.conf file which was empty at /etc/apache2/conf-enabled/owncloud.conf cp it from /etc/apache2/conf-available/owncloud.conf solved the issue.

–>

Steps to reproduce

  1. upgrade to 10.0.9 using ubuntu repository
  2. login admin worked
  3. asked to upgrade
  4. appeared functional, saw owncloud X login

Expected behaviour

Tell us what should happen
upgrade to owncloud X

Actual behaviour

Tell us what happens instead
Error 404. /owncloud/index.php/login was not found on this server.

Server configuration

Operating system:
ubuntu 16.04
Web server:
apache2
Database:
mariaDB
PHP version:
php 7.0
ownCloud version: (see ownCloud admin page)
10.0.9
Updated from an older ownCloud or fresh install:
update from 9.x
Where did you install ownCloud from:
repository
Signing status (ownCloud 9.0 and above):

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.

The content of config/config.php:

{
“system”: {
“updatechecker”: false,
“instanceid”: “ocehzd5czb4x”,
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“trusted_domains”: [
chaaberki.fr
],
“datadirectory”: “/mnt/ownclouddrive/owncloud-data”,
“overwrite.cli.url”: “https://chaaberki.fr/owncloud”,
“dbtype”: “mysql”,
“version”: “10.0.9.5”,
“dbname”: “owncloud”,
“dbhost”: “localhost”,
“dbtableprefix”: “oc_”,
“dbuser”: “REMOVED SENSITIVE VALUE”,
“dbpassword”: “REMOVED SENSITIVE VALUE”,
“logtimezone”: “UTC”,
“installed”: true,
“mail_from_address”: “REMOVED SENSITIVE VALUE”,
“mail_smtpmode”: “smtp”,
“mail_domain”: “REMOVED SENSITIVE VALUE”,
“mail_smtpauth”: 1,
“mail_smtphost”: “REMOVED SENSITIVE VALUE”,
“mail_smtpport”: “465”,
“mail_smtpname”: “REMOVED SENSITIVE VALUE”,
“mail_smtppassword”: “REMOVED SENSITIVE VALUE”,
“mail_smtpsecure”: “ssl”,
“mail_smtpauthtype”: “LOGIN”,
“memcache.local”: “\OC\Memcache\APCu”,
“maintenance”: false,
“loglevel”: 2,
“appstore.experimental.enabled”: false,
“filelocking.enabled”: false,
“theme”: “”
}
}

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

*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:
Enabled:

  • comments: 0.3.0
  • configreport: 0.1.1
  • dav: 0.3.2
  • federatedfilesharing: 0.3.1
  • federation: 0.1.0
  • files: 1.5.1
  • files_external: 0.7.1
  • files_sharing: 0.10.1
  • files_trashbin: 0.9.1
  • files_versions: 1.3.0
  • files_videoplayer: 0.9.8
  • firstrunwizard: 1.1
  • market: 0.2.4
  • notifications: 0.3.4
  • provisioning_api: 0.5.0
  • systemtags: 0.3.0
  • updatenotification: 0.2.1
    Disabled:
  • encryption
  • external
  • user_external


**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
``

### Client configuration
**Browser:**
firefox/chrome

**Operating system:**
ubuntu 16.04
### Logs
#### Web server error log

Insert your webserver log here


#### ownCloud log (data/owncloud.log)

Insert your ownCloud log here

{“reqId”:“cX/Pui61U8SVNYCKKnG/”,“remoteAddr”:“192.168.1.254”,“app”:"mysql.set$
{“reqId”:“cX/Pui61U8SVNYCKKnG/”,“remoteAddr”:“192.168.1.254”,“app”:"mysql.set$```

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...