ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Installing ownCloud 9.0.1

    Scheduled Pinned Locked Moved IT Discussion
    50 Posts 9 Posters 10.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • alex.olynykA
      alex.olynyk
      last edited by

      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

      travisdh1T 1 Reply Last reply Reply Quote 0
      • travisdh1T
        travisdh1 @alex.olynyk
        last edited by

        @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.

        1 Reply Last reply Reply Quote 0
        • alex.olynykA
          alex.olynyk
          last edited by

          Thank goodness its not just me

          1 Reply Last reply Reply Quote 0
          • dafyreD
            dafyre
            last edited by

            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?

            1 Reply Last reply Reply Quote 0
            • alex.olynykA
              alex.olynyk
              last edited by

              the repos on owncloud.org are only for 9.0.1

              1 Reply Last reply Reply Quote 1
              • alex.olynykA
                alex.olynyk
                last edited by

                whats weird is there used to be a config.php file in /var/www/html/owncloud/config
                but its not there now

                travisdh1T 1 Reply Last reply Reply Quote 0
                • travisdh1T
                  travisdh1 @alex.olynyk
                  last edited by

                  @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 now

                  Also, check the paths in /etc/httpd/conf.d/owncloud.conf

                  1 Reply Last reply Reply Quote 1
                  • alex.olynykA
                    alex.olynyk
                    last edited by

                    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>

                    dafyreD 1 Reply Last reply Reply Quote 0
                    • dafyreD
                      dafyre @alex.olynyk
                      last edited by

                      @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?

                      travisdh1T 1 Reply Last reply Reply Quote 0
                      • travisdh1T
                        travisdh1 @dafyre
                        last edited by

                        @dafyre Should be /var/www/html/owncloud.

                        alex.olynykA 1 Reply Last reply Reply Quote 1
                        • StrongBadS
                          StrongBad
                          last edited by

                          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.

                          1 Reply Last reply Reply Quote 0
                          • alex.olynykA
                            alex.olynyk @travisdh1
                            last edited by

                            @travisdh1 That worked! Thank you! But now I get 0_1462288419716_Capture.PNG
                            The output of GETENFORCE is PERMISSIVE

                            travisdh1T 2 Replies Last reply Reply Quote 0
                            • travisdh1T
                              travisdh1 @alex.olynyk
                              last edited by

                              @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.

                              1 Reply Last reply Reply Quote 0
                              • alex.olynykA
                                alex.olynyk
                                last edited by

                                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

                                StrongBadS 1 Reply Last reply Reply Quote 0
                                • travisdh1T
                                  travisdh1 @alex.olynyk
                                  last edited by

                                  @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.

                                  StrongBadS 1 Reply Last reply Reply Quote 0
                                  • StrongBadS
                                    StrongBad @alex.olynyk
                                    last edited by

                                    @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.

                                    1 Reply Last reply Reply Quote 0
                                    • StrongBadS
                                      StrongBad @travisdh1
                                      last edited by

                                      @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.

                                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller @StrongBad
                                        last edited by

                                        @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.

                                        travisdh1T 1 Reply Last reply Reply Quote 0
                                        • travisdh1T
                                          travisdh1 @scottalanmiller
                                          last edited by

                                          @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.

                                          travisdh1T 1 Reply Last reply Reply Quote 0
                                          • travisdh1T
                                            travisdh1 @travisdh1
                                            last edited by travisdh1

                                            @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.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post