Cannot complete owncloud 10 installation on debian

hosting
webserver_issue

#1

Hello I'm trying to install owncloud 10 on Debian Stable. I had a previous version working but had to uninstall it using the update.

I have my Apache2 server configured as the document root to be /home/web. I have several webpages there (one a wiki and two others of my own design, from scratch) working there perfectly.

I tried installing the package owncloud-files, but after installation I got the dreaded
"The requested URL /owncloud was not found on this server."

So I purged it and did the following (the location was /home/web):
wget https://download.owncloud.org/community/owncloud-10.0.3.zip
unzip owncloud-10.0.3.zip
chown -R www-data:www-data owncloud/

In my opinion that should have been enought however I still got
"The requested URL /owncloud was not found on this server."

Access log shows:
10.255.255.101 - - [26/Sep/2017:10:46:56 -0300] "GET /owncloud/status.php HTTP/1.1" 404 1987 "-" "Mozilla/5.0 (Linux) mirall/2.3.2"
10.255.255.101 - - [26/Sep/2017:10:46:56 -0300] "GET /owncloud/owncloud/status.php HTTP/1.1" 404 542 "-" "Mozilla/5.0 (Linux) mirall/2.3.2"

I've tried to follow the instructions here:
https://doc.owncloud.org/server/latest/admin_manual/installation/source_installation.html#configure-apache-web-server
And did the owncloud.conf, though I was it would not help find the webpage (error would've been different)

My own webserver.conf looks like this:

GNU nano 2.7.4 File: webserver.conf


# Samething for both virtual hosts definitions
ServerName cmnbbb.mooo.com
DocumentRoot /home/web/

    # For taskadmin. Not sure if necessary
    <Directory /taskadmin>
            Order Allow,Deny
            Options FollowSymLinks
            AllowOverride None
    </Directory>

    # Regarding logs
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined┬┐
    LogLevel warn

    # SSL Stuff for the server to work with https
    SSLEngine on
    SSLOptions +StrictRequire
    SSLCertificateFile    /etc/apache2/ssl/crt/main.crt
    SSLCertificateKeyFile /etc/apache2/ssl/key/main.key

    <Location />
       SSLRequireSSL On
       SSLVerifyClient optional
       SSLVerifyDepth 1
       SSLOptions +StdEnvVars +StrictRequire
    </Location>


ServerName cmnbbb.mooo.com
DocumentRoot /home/web/

    <Directory /taskadmin>
            Order Allow,Deny
            Options FollowSymLinks
            AllowOverride None
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

    LogLevel warn

    #HTTP is redirected to https
    <Location />
       RewriteEngine on
       RewriteCond %{HTTPS} off
       RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R]
   </Location>

So, can anyone suggest to me what I'm doing wrong? I really need to get this working


#2

In case it helps anyone here. I solved the problem by renaming the owncloud folder that I uncompressed in the server. So it would be right after this step:
unzip owncloud-10.0.3.zip
chown -R www-data:www-data owncloud/
mv owncloud oc /* This is the new step */

This fixed the problem