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

    Install Nextcloud 13.0.0 on Fedora 27

    Scheduled Pinned Locked Moved IT Discussion
    how tonextcloudnextcloud 13real instructionsguidefedora 27
    188 Posts 21 Posters 31.3k 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.
    • NashBrydgesN
      NashBrydges
      last edited by

      The one additional step I also did was to have what Nextcloud calls "pretty URLs"

      Add these lines to the config.php file (https if you've secured your instance with certs, http if you haven't)

      'overwrite.cli.url' => 'https://www.mydomain.com',
        'htaccess.RewriteBase' => '/',
        'overwriteprotocol' => 'https',
      

      Then from terminal, run this command.

      sudo -u apache php /var/www/nextcloud/occ maintenance:update:htaccess
      

      My URL then changed from https://www.mydomain.com/nextcloud to https://www/mydomain.com and it removed the "index.php" from shared links.

      B 1 Reply Last reply Reply Quote 0
      • B
        bnrstnr @NashBrydges
        last edited by

        @nashbrydges Did you have to set Require all granted in your httpd.conf too?

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

          @bnrstnr said in Install Nextcloud 13.0.0 on Fedora 27:

          @nashbrydges Did you have to set Require all granted in your httpd.conf too?

          You should not touch httpd.conf
          That is the reason that nextcloud.conf exists.

          B 1 Reply Last reply Reply Quote 0
          • NashBrydgesN
            NashBrydges @bnrstnr
            last edited by

            @bnrstnr said in Install Nextcloud 13.0.0 on Fedora 27:

            @nashbrydges Did you have to set Require all granted in your httpd.conf too?

            I didn't, no. All changes are done in nextcloud.conf and it does not need Require all granted.

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

              I guess I should make a dedicated post for this..
              Here are the instructions to pretty the URL.

              https://mangolassi.it/topic/12878/install-nextcloud-11-0-2-on-centos-7-with-php-7-1-from-remi/2

              1 Reply Last reply Reply Quote 1
              • B
                bnrstnr @JaredBusch
                last edited by

                @jaredbusch Ah, I was confusing this with SAM's install script. I was about to say that the script didn't create a nextcloud.conf in my conf.d folder. I ran his script last night on a new server and it was only going to serve this one nextcloud install so I just modified the httpd.conf

                JaredBuschJ scottalanmillerS 2 Replies Last reply Reply Quote 1
                • NashBrydgesN
                  NashBrydges
                  last edited by

                  The only change that I do that isn't really covered anywhere in any documentation I've seen is to change the favicon. I replace the Nexcloud one with mine just to complete the theming.

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

                    @bnrstnr said in Install Nextcloud 13.0.0 on Fedora 27:

                    @jaredbusch Ah, I was confusing this with SAM's install script. I was about to say that the script didn't create a nextcloud.conf in my conf.d folder. I ran his script last night on a new server and it was only going to serve this one nextcloud install so I just modified the httpd.conf

                    @scottalanmiller is a slacker.

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

                      @bnrstnr said in Install Nextcloud 13.0.0 on Fedora 27:

                      @jaredbusch Ah, I was confusing this with SAM's install script. I was about to say that the script didn't create a nextcloud.conf in my conf.d folder. I ran his script last night on a new server and it was only going to serve this one nextcloud install so I just modified the httpd.conf

                      I do one application per VM, so no need for individual configuration files ๐Ÿ˜‰

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

                        @scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:

                        @bnrstnr said in Install Nextcloud 13.0.0 on Fedora 27:

                        @jaredbusch Ah, I was confusing this with SAM's install script. I was about to say that the script didn't create a nextcloud.conf in my conf.d folder. I ran his script last night on a new server and it was only going to serve this one nextcloud install so I just modified the httpd.conf

                        I do one application per VM, so no need for individual configuration files ๐Ÿ˜‰

                        Not true. Using a vhost config keeps things simple compared to editing the default config file.

                        Granted neither need to happen here unless you are doing the pretty URL bit.

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          manxam @JaredBusch
                          last edited by

                          @jaredbusch & @scottalanmiller : the vhost thing is likely the correct way to do this as "letsencrypt --apache" fails unless there is a vhost configured for port 80.
                          The default httpd.conf included with Fedora does not have this configured.

                          So you both know, Fedora 28 installs NC 13.0.3 in exactly the same manner but fails during installation due to missing php-json. Once installed, it installs without issue.

                          A scottalanmillerS 2 Replies Last reply Reply Quote 1
                          • A
                            Alex Sage @manxam
                            last edited by

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @manxam
                              last edited by

                              @manxam said in Install Nextcloud 13.0.0 on Fedora 27:

                              @jaredbusch & @scottalanmiller : the vhost thing is likely the correct way to do this as "letsencrypt --apache" fails unless there is a vhost configured for port 80.
                              The default httpd.conf included with Fedora does not have this configured.

                              So you both know, Fedora 28 installs NC 13.0.3 in exactly the same manner but fails during installation due to missing php-json. Once installed, it installs without issue.

                              Thanks. I'm on Fed 28 with 13.0.4 now, but it was an update, not a fresh install.

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

                                Updated to install php-json as it seems to be a new requirement in recent Fedora 28 builds running 13.x

                                Thanks to @zachary715 for testing a clean build.
                                https://mangolassi.it/topic/17409/errors-updating-nextcloud/27

                                1 Reply Last reply Reply Quote 3
                                • A
                                  ajh
                                  last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • black3dynamiteB
                                    black3dynamite
                                    last edited by

                                    @JaredBusch cronie is not installed by default when using a clean install of Fedora 28 Minimal.

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

                                      @black3dynamite said in Install Nextcloud 13.0.0 on Fedora 27:

                                      @JaredBusch cronie is not installed by default when using a clean install of Fedora 28 Minimal.

                                      Is that needed now or something?

                                      black3dynamiteB 1 Reply Last reply Reply Quote 0
                                      • black3dynamiteB
                                        black3dynamite @JaredBusch
                                        last edited by

                                        @jaredbusch said in Install Nextcloud 13.0.0 on Fedora 27:

                                        @black3dynamite said in Install Nextcloud 13.0.0 on Fedora 27:

                                        @JaredBusch cronie is not installed by default when using a clean install of Fedora 28 Minimal.

                                        Is that needed now or something?

                                        It's only needed if we want to use crond service to call the cron.php file every 15 minutes.

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

                                          @black3dynamite said in Install Nextcloud 13.0.0 on Fedora 27:

                                          @jaredbusch said in Install Nextcloud 13.0.0 on Fedora 27:

                                          @black3dynamite said in Install Nextcloud 13.0.0 on Fedora 27:

                                          @JaredBusch cronie is not installed by default when using a clean install of Fedora 28 Minimal.

                                          Is that needed now or something?

                                          It's only needed if we want to use crond service to call the cron.php file every 15 minutes.

                                          Ah, for post setup. Yeah. That would be important for some. Myself in fact as I always set my systems to use the cron method.

                                          1 Reply Last reply Reply Quote 1
                                          • F
                                            Francesco Provino
                                            last edited by

                                            Why donโ€™t just use snap?

                                            https://github.com/nextcloud/nextcloud-snap

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