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
    29.6k
    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.
    • 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:

      TIL, use simple passwords.

      Simple CHARACTERS in passwords. Special characters aren't complex to a computer, only seem that way to humans.

      they do add to the list of possible characters to try when brute forcing though.

      Only sort of. Only in the situation where you assume that all non-special character options will be attempted first. Otherwise, it doesn't actually do that.

      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:

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

        @Donahue said in Install Nextcloud 13.0.0 on Fedora 27:

        TIL, use simple passwords.

        Simple CHARACTERS in passwords. Special characters aren't complex to a computer, only seem that way to humans.

        they do add to the list of possible characters to try when brute forcing though.

        Sure. . . but when your possible list of 24 digit passwords (including upper and lowercase) makes for an extremely long password with some insane number of combinations.

        So it's plenty secure.

        It doesn't take any more effort for me to generate a more secure password with symbols added, so why skimp?

        Because it so often results in an inability to login in. Either because the password isn't recorded properly, or because it can't be recorded elsewhere properly, or the worst case, that it results in a very weak password that you do not realize.

        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:

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

          TIL, use simple passwords.

          Simple CHARACTERS in passwords. Special characters aren't complex to a computer, only seem that way to humans.

          they do add to the list of possible characters to try when brute forcing though.

          Only sort of. Only in the situation where you assume that all non-special character options will be attempted first. Otherwise, it doesn't actually do that.

          what nonsense are you saying now? password entropy is a thing. The more possible characters, the harder it is statistically to brute force.

          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:

            @Donahue said in Install Nextcloud 13.0.0 on Fedora 27:

            TIL, use simple passwords.

            Simple CHARACTERS in passwords. Special characters aren't complex to a computer, only seem that way to humans.

            they do add to the list of possible characters to try when brute forcing though.

            Sure. . . but when your possible list of 24 digit passwords (including upper and lowercase) makes for an extremely long password with some insane number of combinations.

            So it's plenty secure.

            It doesn't take any more effort for me to generate a more secure password with symbols added, so why skimp?

            Because special characters often break when being passed through tunnels. IE the # symbol is often an "comment" indicator and might ruin the rest of your password.

            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:

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

              @Donahue said in Install Nextcloud 13.0.0 on Fedora 27:

              TIL, use simple passwords.

              Simple CHARACTERS in passwords. Special characters aren't complex to a computer, only seem that way to humans.

              they do add to the list of possible characters to try when brute forcing though.

              Sure. . . but when your possible list of 24 digit passwords (including upper and lowercase) makes for an extremely long password with some insane number of combinations.

              So it's plenty secure.

              It doesn't take any more effort for me to generate a more secure password with symbols added, so why skimp?

              Because it so often results in an inability to login in. Either because the password isn't recorded properly, or because it can't be recorded elsewhere properly, or the worst case, that it results in a very weak password that you do not realize.

              that is the real problem

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

                @JaredBusch said in Install Nextcloud 13.0.0 on Fedora 27:

                Go back to your SSH session and update the NextCloud config.php file to tell it to use redis for the memory cache and file locking.
                #add a line to nextcloud config.php to enable memory cache
                nano /var/www/html/nextcloud/config/config.php
                'memcache.locking' => '\OC\Memcache\Redis',
                'memcache.local' => '\OC\Memcache\Redis',
                'redis' => array(
                'host' => 'localhost',
                'port' => 6379,
                ),

                It was good up until this point. Now it gives me an error

                e8d7ad92-3d75-47f1-b86c-72d0a6725723-image.png

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

                  I think I must have buggered up the config.php somehow. What should this look like?

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

                    What should which piece look like?

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

                      @scottalanmiller what should the config.php contain

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

                        mine looks like it has too much stuff in it.

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

                          'memcache.locking' => '\OC\Memcache\Redis','memcache.locking' => '\OC\Memcache\Redis','memcache.locking' =>
                          '\OC\Memcache\Redis',<?php $CONFIG = array ( 'memcache.local' => '\OC\Memcache\Redis', 'memcache.local' =>
                          '\OC\Memcache\Redis', 'redis' => array(
                          'memcache.local' => '\OC\Memcache\Redis',
                              'redis' => array(
                              'host' => 'localhost',
                              'port' => 6379,
                          ),    'redis' => array(
                              'host' => 'localhost',
                              'port' => 6379,
                          ),    'host' => 'localhost',
                              'port' =>6379,
                          ),  'instanceid' => 'oc6fqyizalj6',
                            'passwordsalt' => 'aHdWc/uw5GBAEkcCjSXrGsUEw52U83',
                            'secret' => 'n8kBWYVghXuKUQZHk+ZPgDTEWUqsYAaSUWtAAjFD8EOumpdX',
                            'trusted_domains' =>
                            array (
                              0 => 'nextcloud.gem.local',
                            ),
                            'datadirectory' => '/var/www/html/nextcloud/data',
                            'dbtype' => 'mysql',
                            'version' => '15.0.0.10',
                            'overwrite.cli.url' => 'https://nextcloud.gem.local/nextcloud',
                            'dbname' => 'nextcloud',
                            'dbhost' => 'localhost',
                            'dbport' => '',
                            'dbtableprefix' => 'oc_',
                            'mysql.utf8mb4' => true,
                            'dbuser' => 'ncadmin',
                            'dbpassword' => '***',
                            'installed' => true,
                          );
                          
                          
                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller
                            last edited by

                            Yup, way too much stuff in it 🙂

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

                              @Donahue Yours is ALL messed up. Here is an example of yours assembled into something that should work...

                              <?php 
                              $CONFIG = array (
                                'passwordsalt' => 'aHdWc/uw5GBAEkcCjSXrGsUEw52U83',
                                'secret' => 'n8kBWYVghXuKUQZHk+ZPgDTEWUqsYAaSUWtAAjFD8EOumpdX',
                                'trusted_domains' =>
                                array (
                                  0 => 'nextcloud.gem.local',
                                ),
                                'datadirectory' => '/var/www/html/nextcloud/data',
                                'dbtype' => 'mysql',
                                'version' => '15.0.0.10',
                                'overwrite.cli.url' => 'https://nextcloud.gem.local/nextcloud',
                                'dbname' => 'nextcloud',
                                'dbhost' => 'localhost',
                                'dbport' => '',
                                'dbtableprefix' => 'oc_',
                                'mysql.utf8mb4' => true,
                                'dbuser' => 'ncadmin',
                                'dbpassword' => '***',
                                'installed' => true,
                                'memcache.local' => '\OC\Memcache\Redis',
                                'memcache.locking' => '\OC\Memcache\Redis',
                                redis' => array(
                                  'host' => 'localhost',
                                  'port' => 6379,
                                ), 
                              );
                              
                              DonahueD 1 Reply Last reply Reply Quote 0
                              • DonahueD
                                Donahue @scottalanmiller
                                last edited by Donahue

                                @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

                                @Donahue Yours is ALL messed up. Here is an example of yours assembled into something that should work...

                                <?php 
                                $CONFIG = array (
                                  'passwordsalt' => 'aHdWc/uw5GBAEkcCjSXrGsUEw52U83',
                                  'secret' => 'n8kBWYVghXuKUQZHk+ZPgDTEWUqsYAaSUWtAAjFD8EOumpdX',
                                  'trusted_domains' =>
                                  array (
                                    0 => 'nextcloud.gem.local',
                                  ),
                                  'datadirectory' => '/var/www/html/nextcloud/data',
                                  'dbtype' => 'mysql',
                                  'version' => '15.0.0.10',
                                  'overwrite.cli.url' => 'https://nextcloud.gem.local/nextcloud',
                                  'dbname' => 'nextcloud',
                                  'dbhost' => 'localhost',
                                  'dbport' => '',
                                  'dbtableprefix' => 'oc_',
                                  'mysql.utf8mb4' => true,
                                  'dbuser' => 'ncadmin',
                                  'dbpassword' => '***',
                                  'installed' => true,
                                  'memcache.local' => '\OC\Memcache\Redis',
                                  'memcache.locking' => '\OC\Memcache\Redis',
                                  redis' => array(
                                    'host' => 'localhost',
                                    'port' => 6379,
                                  ), 
                                );
                                

                                still doesnt work, is there a missing comma or something somewhere?

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

                                  @Donahue got it. It was missing a single quote in front of redis, and also the instance ID

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

                                    @Donahue said in Install Nextcloud 13.0.0 on Fedora 27:

                                    @Donahue got it. It was missing a single quote in front of redis, and also the instance ID

                                    I edited it all by hand, so pretty easy to miss something.

                                    1 Reply Last reply Reply Quote 0
                                    • EddieJenningsE
                                      EddieJennings
                                      last edited by

                                      Guide works with Fedora 29. As always @JaredBusch guide works. 🙂

                                      1 Reply Last reply Reply Quote 2
                                      • W
                                        WindowsGuy
                                        last edited by

                                        The Apache vhost file location is no longer available. Do you have another location where I can find it or steps to configure it manually?

                                        JaredBuschJ 2 Replies Last reply Reply Quote 0
                                        • JaredBuschJ
                                          JaredBusch @WindowsGuy
                                          last edited by

                                          @WindowsGuy said in Install Nextcloud 13.0.0 on Fedora 27:

                                          The Apache vhost file location is no longer available. Do you have another location where I can find it or steps to configure it manually?

                                          Should be on my github. maybe it got moved when I cleaned things up. let me look.

                                          1 Reply Last reply Reply Quote 0
                                          • JaredBuschJ
                                            JaredBusch @WindowsGuy
                                            last edited by

                                            @WindowsGuy said in Install Nextcloud 13.0.0 on Fedora 27:

                                            The Apache vhost file location is no longer available. Do you have another location where I can find it or steps to configure it manually?

                                            here:

                                            wget https://raw.githubusercontent.com/sorvani/scripts/master/Nextcloud/nextcloud.conf
                                            
                                            1 Reply Last reply Reply Quote 2
                                            • 1
                                            • 2
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 9 / 10
                                            • First post
                                              Last post