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

    Install Nextcloud 13.0.0 on Fedora 27

    IT Discussion
    how to nextcloud nextcloud 13 real instructions guide fedora 27
    21
    188
    31.1k
    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.
    • DonahueD
      Donahue
      last edited by

      I am attempting to follow this to install nextcloud 15 on fedora 29. I get to the step where I change the db to mariadb, but it doesnt seem to want to let me. earlier in the process, I changed ncuser and ncuserpassword, but I cant get it to take them. Any suggestions?

      9eb4f654-67a5-4bf3-b6a9-a4fc52f8df25-image.png

      DustinB3403D 1 Reply Last reply Reply Quote 0
      • DustinB3403D
        DustinB3403 @Donahue
        last edited by

        @Donahue without having gone through this process myself, but based on the guide you changed the database credentials.

        Not the login credentials.

        Attempt the default username and password.

        DonahueD 1 Reply Last reply Reply Quote 0
        • DonahueD
          Donahue @DustinB3403
          last edited by

          @DustinB3403 said in Install Nextcloud 13.0.0 on Fedora 27:

          @Donahue without having gone through this process myself, but based on the guide you changed the database credentials.

          Not the login credentials.

          Attempt the default username and password.

          I have used both the ncuserpassword and the somesecurepassword, but all combinations did not work.

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

            Test with the command line utility to ensure that MariaDB is set up properly before you try to test it with the actual app.

            The CLI tool is called simply mysql

            mysql nextcloud -uncadmin -p
            
            1 Reply Last reply Reply Quote 0
            • DonahueD
              Donahue @JaredBusch
              last edited by

              @JaredBusch said in Install Nextcloud 13.0.0 on Fedora 27:

              Create the Nextcloud database and then secure the mariadb install.
              Change ncuser, ncuserpassword, and somesecurepassword to something private.
              #Create a database for nextcloud and a user to access it.
              mysql -e "CREATE DATABASE nextcloud;"
              mysql -e "CREATE USER 'ncuser'@'localhost' IDENTIFIED BY 'ncuserpassword';"
              mysql -e "GRANT ALL ON nextcloud.* TO 'ncuser'@'localhost';"
              mysql -e "FLUSH PRIVILEGES;"

              #Secure mariadb. These commands do what mysql_secure_installation does interactively
              mysql -e "UPDATE mysql.user SET Password=PASSWORD('somesecurepassword') WHERE User='root';"
              mysql -e "DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1');"
              mysql -e "DELETE FROM mysql.user WHERE User='';"
              mysql -e "DROP DATABASE test;"
              mysql -e "FLUSH PRIVILEGES;"

              Doesn't this step set the mysql password, as somesecurepassword?

              @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

              Test with the command line utility to ensure that MariaDB is set up properly before you try to test it with the actual app.

              The CLI tool is called simply mysql

              mysql nextcloud -uncadmin -p
              

              if so, then it fails at this step

              scottalanmillerS 2 Replies Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @Donahue
                last edited by

                @Donahue said in Install Nextcloud 13.0.0 on Fedora 27:

                ncuserpassword

                No, it sets it as...

                ncuserpassword

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

                  @Donahue said in Install Nextcloud 13.0.0 on Fedora 27:

                  somesecurepassword

                  Is what it sets for the root user, which you are not using any longer.

                  1 Reply Last reply Reply Quote 0
                  • DonahueD
                    Donahue @scottalanmiller
                    last edited by

                    @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

                    @Donahue said in Install Nextcloud 13.0.0 on Fedora 27:

                    ncuserpassword

                    No, it sets it as...

                    ncuserpassword

                    still fails. I try both nsuserpassword and somesecurepassword, and both fail

                    DustinB3403D scottalanmillerS 2 Replies Last reply Reply Quote 0
                    • DustinB3403D
                      DustinB3403 @Donahue
                      last edited by

                      @Donahue are you attempting to login as ncuser or ncuser@localhost with ncuserpassword as the password?

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

                        @Donahue said in Install Nextcloud 13.0.0 on Fedora 27:

                        @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

                        @Donahue said in Install Nextcloud 13.0.0 on Fedora 27:

                        ncuserpassword

                        No, it sets it as...

                        ncuserpassword

                        still fails. I try both nsuserpassword and somesecurepassword, and both fail

                        Then that is the issue, basic username / password issues with the database. No issue with NextCloud yet, as NC has to use a working username / password to use the database. So make a new database user first, and test it, then when it works, then move on to configuring NC.

                        1 Reply Last reply Reply Quote 0
                        • DonahueD
                          Donahue @DustinB3403
                          last edited by

                          @DustinB3403 said in Install Nextcloud 13.0.0 on Fedora 27:

                          @Donahue are you attempting to login as ncuser or ncuser@localhost with ncuserpassword as the password?

                          ncuser

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

                            Jared's example is with ncuser. But you are trying to use ncadmin. Did you change Jared's script, or is that a typo?

                            DonahueD 1 Reply Last reply Reply Quote 0
                            • DonahueD
                              Donahue @scottalanmiller
                              last edited by

                              @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

                              Jared's example is with ncuser. But you are trying to use ncadmin. Did you change Jared's script, or is that a typo?

                              I changed the script

                              scottalanmillerS DustinB3403D 2 Replies Last reply Reply Quote 0
                              • DustinB3403D
                                DustinB3403 @Donahue
                                last edited by

                                @Donahue said in Install Nextcloud 13.0.0 on Fedora 27:

                                @DustinB3403 said in Install Nextcloud 13.0.0 on Fedora 27:

                                @Donahue are you attempting to login as ncuser or ncuser@localhost with ncuserpassword as the password?

                                ncuser

                                Try the long-name.

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

                                  @Donahue said in Install Nextcloud 13.0.0 on Fedora 27:

                                  @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

                                  Jared's example is with ncuser. But you are trying to use ncadmin. Did you change Jared's script, or is that a typo?

                                  I changed the script

                                  Then you need to consistently use the change. -uncuser not -uncadmin since ncuser doesn't exist in your system.

                                  1 Reply Last reply Reply Quote 0
                                  • DustinB3403D
                                    DustinB3403 @Donahue
                                    last edited by

                                    @Donahue said in Install Nextcloud 13.0.0 on Fedora 27:

                                    @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

                                    Jared's example is with ncuser. But you are trying to use ncadmin. Did you change Jared's script, or is that a typo?

                                    I changed the script

                                    try the long-name as ncadmin@localhost

                                    DonahueD 1 Reply Last reply Reply Quote 0
                                    • DonahueD
                                      Donahue
                                      last edited by

                                      no go. ncuser does not exist, I am just using here as a reference to that place in the script where I changed it (following the tutorial)

                                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                                      • DonahueD
                                        Donahue @DustinB3403
                                        last edited by

                                        @DustinB3403 said in Install Nextcloud 13.0.0 on Fedora 27:

                                        @Donahue said in Install Nextcloud 13.0.0 on Fedora 27:

                                        @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

                                        Jared's example is with ncuser. But you are trying to use ncadmin. Did you change Jared's script, or is that a typo?

                                        I changed the script

                                        try the long-name as ncadmin@localhost

                                        that doesnt work as far as I can tell.

                                        DustinB3403D 1 Reply Last reply Reply Quote 0
                                        • DustinB3403D
                                          DustinB3403 @Donahue
                                          last edited by

                                          @Donahue said in Install Nextcloud 13.0.0 on Fedora 27:

                                          @DustinB3403 said in Install Nextcloud 13.0.0 on Fedora 27:

                                          @Donahue said in Install Nextcloud 13.0.0 on Fedora 27:

                                          @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

                                          Jared's example is with ncuser. But you are trying to use ncadmin. Did you change Jared's script, or is that a typo?

                                          I changed the script

                                          try the long-name as ncadmin@localhost

                                          that doesnt work as far as I can tell.

                                          Directly from the CLI to login to the database? If it doesn't work then your database permissions may be messed up.

                                          DonahueD 1 Reply Last reply Reply Quote 0
                                          • DonahueD
                                            Donahue @DustinB3403
                                            last edited by

                                            @DustinB3403 said in Install Nextcloud 13.0.0 on Fedora 27:

                                            @Donahue said in Install Nextcloud 13.0.0 on Fedora 27:

                                            @DustinB3403 said in Install Nextcloud 13.0.0 on Fedora 27:

                                            @Donahue said in Install Nextcloud 13.0.0 on Fedora 27:

                                            @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

                                            Jared's example is with ncuser. But you are trying to use ncadmin. Did you change Jared's script, or is that a typo?

                                            I changed the script

                                            try the long-name as ncadmin@localhost

                                            that doesnt work as far as I can tell.

                                            Directly from the CLI to login to the database? If it doesn't work then your database permissions may be messed up.

                                            correct. How do I reset it?

                                            DustinB3403D 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 9
                                            • 10
                                            • 3 / 10
                                            • First post
                                              Last post