Installing ownCloud 9.0.1
-
@JaredBusch said in Installing ownCloud 9.0.1:
@wirestyle22 said in Installing ownCloud 9.0.1:
@alex.olynyk said in Installing ownCloud 9.0.1:
I ran the commands one at a time but have the same issue. I even pasted into a script and ran the script with the same issue. I can see the Apache page but when I go to http://IPADDRESS/owncloud I get:
The requested URL /owncloud was not found on this server. Where should I look next?I actually ran @JaredBusch 's guide and then upgraded to the latest version. Check the tags for owncloud. I think his is 8.x on CentOS 7. Everything worked immediately.
Yes, my guide was for 8.X But should work perfectly with 9. I will work on a new guide.
Yup. I was just giving him info if he was having issues using the tags because he requested a link to scott's guide
-
Jareds guide works perfectly for 8. I upgraded to 9 from 8 and it hosed my VM.
I clean installed 9 using the guide on OC website first and then I tried Scott's guide with the same issue. I thought it was the OS so I installed 9 on Ubuntu Server 16 with the same issue.
Strange because I can install 8 just fine
-
@alex.olynyk Yeah, I'm having issues with 9.0.1.1 as well. Something's gone wrong in a setting file somewhere, hope I can work it out soon.
-
Thank goodness its not just me
-
Why not do a fresh install of 9.0.0 and then do the updates?
-- or does the Repo take you straight to 9.0.1?
-
the repos on owncloud.org are only for 9.0.1
-
whats weird is there used to be a config.php file in /var/www/html/owncloud/config
but its not there now -
@alex.olynyk said in Installing ownCloud 9.0.1:
whats weird is there used to be a config.php file in /var/www/html/owncloud/config
but its not there nowAlso, check the paths in /etc/httpd/conf.d/owncloud.conf
-
Alias /owncloud "/var/www/html/owncloud/owncloud/"
<Directory "/var/www/html/owncloud/owncloud">
Options +FollowSymLinks
AllowOverride All<IfModule mod_dav.c>
Dav off
</IfModule>SetEnv HOME /var/www/html/owncloud/owncloud
SetEnv HTTP_HOME /var/www/html/owncloud/owncloud
</Directory><Directory "/var/www/html/owncloud/owncloud/data/">
just in case if .htaccess gets disabled
Require all denied
</Directory>
-
@alex.olynyk said in Installing ownCloud 9.0.1:
Alias /owncloud "/var/www/html/owncloud/owncloud/"
<Directory "/var/www/html/owncloud/owncloud">
Options +FollowSymLinks
AllowOverride All<IfModule mod_dav.c>
Dav off
</IfModule>SetEnv HOME /var/www/html/owncloud/owncloud
SetEnv HTTP_HOME /var/www/html/owncloud/owncloud
</Directory><Directory "/var/www/html/owncloud/owncloud/data/">
just in case if .htaccess gets disabled
Require all denied
</Directory>
Check this: "/var/www/html/owncloud/owncloud/"
Should it be /var/www/html/owncloud/owncloud? or /var/www/html/owncloud?
-
@dafyre Should be /var/www/html/owncloud.
-
If you see an owncloud directory inside of the main owncloud directory, try appending an additional /owncloud to the URL and see if that fixes things.
-
@travisdh1 That worked! Thank you! But now I get
The output of GETENFORCE is PERMISSIVE -
@alex.olynyk Yeah, that's the same one I'm trying to work through. I need to open a bug report already for that path error in the apache config, so I'll add another one to my list.
-
i looked at Jareds post on setting up 8.2 and he said you cant create the MariaDB instance from the GUI so that might be the issue for me
-
@alex.olynyk It's most likely something wrong in the setup scripts. I don't know if it'll be glaringly obvious as the path error was or not yet.
-
@alex.olynyk said in Installing ownCloud 9.0.1:
i looked at Jareds post on setting up 8.2 and he said you cant create the MariaDB instance from the GUI so that might be the issue for me
that's correct you have to make the database manually and just put the details in here. You would need your database to exist and to be up and running. Otherwise the ownCloud instance does not have permission to access the database management system.
-
@travisdh1 said in Installing ownCloud 9.0.1:
@alex.olynyk It's most likely something wrong in the setup scripts. I don't know if it'll be glaringly obvious as the path error was or not yet.
I don't believe that the scripts are supposed to handle any of that.
-
@StrongBad said in Installing ownCloud 9.0.1:
@travisdh1 said in Installing ownCloud 9.0.1:
@alex.olynyk It's most likely something wrong in the setup scripts. I don't know if it'll be glaringly obvious as the path error was or not yet.
I don't believe that the scripts are supposed to handle any of that.
That's correct. If you follow my instructions here: http://mangolassi.it/topic/8399/installing-owncloud-9-on-centos-7 it explains that you have to make the database manually and when to do so and when to put in the details.
On mine, my database is external to the ownCloud instance so a big different than doing it locally. Same basics, of course.
-
@scottalanmiller said in Installing ownCloud 9.0.1:
@StrongBad said in Installing ownCloud 9.0.1:
@travisdh1 said in Installing ownCloud 9.0.1:
@alex.olynyk It's most likely something wrong in the setup scripts. I don't know if it'll be glaringly obvious as the path error was or not yet.
I don't believe that the scripts are supposed to handle any of that.
That's correct. If you follow my instructions here: http://mangolassi.it/topic/8399/installing-owncloud-9-on-centos-7 it explains that you have to make the database manually and when to do so and when to put in the details.
On mine, my database is external to the ownCloud instance so a big different than doing it locally. Same basics, of course.
It's throwing that error even after creating a new database and user for said database. From some of the errors I've been seeing, it looks like the script may not be reading the variable for the database username correctly.