Installing ownCloud 9.0.1
-
@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.
-
@travisdh1 said in Installing ownCloud 9.0.1:
@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.
So I've gotten to the point where you create the admin username/password, set the data folder location, and enter your database information. The database is ready, the user I created for it has full permissions for that database. The error is:
Error while trying to create admin user: Failed to connect to the database: An exception occured in driver: SQLSTATE[42000][1044] Access denied for user 'oc_admin'@'localhost' to database 'owncloud'
Well duh, 'oc_admin' is NOT what is entered in the Database user box.
-
I get something similar