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.
    • 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
                                      • alex.olynykA
                                        alex.olynyk
                                        last edited by

                                        I get something similar
                                        0_1462298453242_Capture.PNG

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

                                          @alex.olynyk said in Installing ownCloud 9.0.1:

                                          I get something similar
                                          0_1462298453242_Capture.PNG

                                          From your ssh / terminal session, open up mariadb like this:

                                          mysql -u ownclouduser -p

                                          Enter your password when prompted and show us what you get?

                                          This is assuming that your MariaDB and your OwnCloud host are on the same system.

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

                                            0_1462301551373_Capture.PNG

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