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

    NextCloud Automated Installation

    IT Discussion
    linux fedora installer nextcloud script bash selinux storage cloud storage
    12
    76
    11.3k
    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.
    • J
      JackCPickup
      last edited by

      Has there been some thread on a lesser site with people complaining NC is too hard to set up?

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

        @jackcpickup said in NextCloud Automated Installation:

        Has there been some thread on a lesser site with people complaining NC is too hard to set up?

        In all fairness, NC is actually quite difficult compared to something like, say, WordPress. NC's own docs are often outdated or unclear and expect many pieces to be done by you without clear guidance. NC isn't super hard, but getting it right the first time can be. Especially as NC does a very poor job of testing and clarifying which operating systems it is currently working best against.

        So these guides really are needed, making a clear, solid starting point to getting NC running in a reliable way is very important.

        black3dynamiteB 1 Reply Last reply Reply Quote 2
        • FATeknollogeeF
          FATeknollogee @FATeknollogee
          last edited by

          @fateknollogee said in NextCloud Automated Installation:

          Running this as we speak...looking good, will report back.

          Works great!
          Thanks to @scottalanmiller and @JaredBusch

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

            @scottalanmiller said in NextCloud Automated Installation:

            @jackcpickup said in NextCloud Automated Installation:

            Has there been some thread on a lesser site with people complaining NC is too hard to set up?

            In all fairness, NC is actually quite difficult compared to something like, say, WordPress. NC's own docs are often outdated or unclear and expect many pieces to be done by you without clear guidance. NC isn't super hard, but getting it right the first time can be. Especially as NC does a very poor job of testing and clarifying which operating systems it is currently working best against.

            So these guides really are needed, making a clear, solid starting point to getting NC running in a reliable way is very important.

            Would it make more sense for them to invest in Flatpak and/or Snap instead then we wouldn't have to deal with their unclear or outdated guides? But then again, their snap version is outdated.

            What's the latest version is 12.0.4 even though 12.0.5 is the latest version of 12? And 13 is now released.

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

              @black3dynamite said in NextCloud Automated Installation:

              @scottalanmiller said in NextCloud Automated Installation:

              @jackcpickup said in NextCloud Automated Installation:

              Has there been some thread on a lesser site with people complaining NC is too hard to set up?

              In all fairness, NC is actually quite difficult compared to something like, say, WordPress. NC's own docs are often outdated or unclear and expect many pieces to be done by you without clear guidance. NC isn't super hard, but getting it right the first time can be. Especially as NC does a very poor job of testing and clarifying which operating systems it is currently working best against.

              So these guides really are needed, making a clear, solid starting point to getting NC running in a reliable way is very important.

              Would it make more sense for them to invest in Flatpak and/or Snap instead then we wouldn't have to deal with their unclear or outdated guides? But then again, their snap version is outdated.

              It might, although I think that those formats are very limited as they package everything and in the real world, people need a lot of options for something like Nextcloud. Snap is better for installing your desktop apps that are just optionless and simple. For an enterprise server, I don't think that it makes sense.

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

                @black3dynamite said in NextCloud Automated Installation:

                What's the latest version is 12.0.4 even though 12.0.5 is the latest version of 12? And 13 is now released.

                Correct.

                They also primarily test against the wildly out of date Ubuntu 16.04.

                1 Reply Last reply Reply Quote 0
                • FATeknollogeeF
                  FATeknollogee
                  last edited by

                  @scottalanmiller Do you plan to include adding LE as part of this install?
                  Or do we just follow @JaredBusch guide & add LE.

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

                    @fateknollogee said in NextCloud Automated Installation:

                    @scottalanmiller Do you plan to include adding LE as part of this install?
                    Or do we just follow @JaredBusch guide & add LE.

                    I'm torn, because it requires a lot more info and setup to do that that often someone would not want. If they were using a reverse proxy, for instance, it would not go here.

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      Alex Sage @scottalanmiller
                      last edited by

                      @scottalanmiller said in NextCloud Automated Installation:

                      @fateknollogee said in NextCloud Automated Installation:

                      @scottalanmiller Do you plan to include adding LE as part of this install?
                      Or do we just follow @JaredBusch guide & add LE.

                      I'm torn, because it requires a lot more info and setup to do that that often someone would not want. If they were using a reverse proxy, for instance, it would not go here.

                      So make a reserve proxy script 😉

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • FATeknollogeeF
                        FATeknollogee
                        last edited by

                        @scottalanmiller Isn't LE something that all NC Vultr installs would want to have?

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

                          @fateknollogee said in NextCloud Automated Installation:

                          @scottalanmiller Isn't LE something that all NC Vultr installs would want to have?

                          No, most would be behind a proxy. Mine is, for example.

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

                            @aaronstuder said in NextCloud Automated Installation:

                            @scottalanmiller said in NextCloud Automated Installation:

                            @fateknollogee said in NextCloud Automated Installation:

                            @scottalanmiller Do you plan to include adding LE as part of this install?
                            Or do we just follow @JaredBusch guide & add LE.

                            I'm torn, because it requires a lot more info and setup to do that that often someone would not want. If they were using a reverse proxy, for instance, it would not go here.

                            So make a reserve proxy script 😉

                            That might make sense, lol.

                            1 Reply Last reply Reply Quote 0
                            • D
                              dave_c
                              last edited by

                              CentOS 7:
                              I used https://github.com/onbrella/app-installers/tree/master/nextcloud to perform a test installation last month. The script seemed to be secure enough.
                              I had to change the nextcloud-12-generic-storage-nginx.sh script to use SELinux and something else that I don't remember but it worked very well ; LetsEncrypt included.
                              The only thing I wasn't able to do is to remove /nextcloud from the URL; I will revisit the script later with NC 13

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

                                @dave_c said in NextCloud Automated Installation:

                                The only thing I wasn't able to do is to remove /nextcloud from the URL; I will revisit the script later with NC 13

                                That is a multi-step process. I have documented it in my NC 11 guide here: https://mangolassi.it/post/279323

                                D 1 Reply Last reply Reply Quote 0
                                • D
                                  dave_c @JaredBusch
                                  last edited by dave_c

                                  @jaredbusch
                                  If I remember, your steps are for Apache; I was using nginx
                                  **Edit: The scripts I posted suport Apache/nginx/minio

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

                                    @dave_c said in NextCloud Automated Installation:

                                    @jaredbusch
                                    If I remember, your steps are for Apache; I was using nginx
                                    **Edit: The scripts I posted suport Apache/nginx/minio

                                    I have never tried it with Nginx, so yeah.

                                    But the removal of the /nextcloud bit is simply a change in the default webroot in Apache. So update that in Nginx. does that not resovle it?

                                    D 1 Reply Last reply Reply Quote 1
                                    • D
                                      dave_c @JaredBusch
                                      last edited by

                                      @jaredbusch
                                      No. It didn't work. I believe that I have to update the rules for PHP-FPM in nginx conf
                                      Anyway, I will try again this week as I need to set up a NC server for production. I may use Apache; I haven't decided

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

                                        @dave_c said in NextCloud Automated Installation:

                                        @jaredbusch
                                        If I remember, your steps are for Apache; I was using nginx
                                        **Edit: The scripts I posted suport Apache/nginx/minio

                                        It be something like this:

                                        #Before changing root location
                                        server {
                                            location / {
                                                root /var/www/html/;
                                            }
                                        
                                        #After changing root location
                                        server {
                                            location / {
                                                root /var/www/html/nextcloud/;
                                            }
                                        
                                        JaredBuschJ 1 Reply Last reply Reply Quote 0
                                        • JaredBuschJ
                                          JaredBusch @dave_c
                                          last edited by

                                          @dave_c said in NextCloud Automated Installation:

                                          @jaredbusch
                                          No. It didn't work. I believe that I have to update the rules for PHP-FPM in nginx conf
                                          Anyway, I will try again this week as I need to set up a NC server for production. I may use Apache; I haven't decided

                                          Odd. Sadly, not something I hgave time to test out right now. This week is going to be busy with travel and new clients meetings.

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

                                            @black3dynamite said in NextCloud Automated Installation:

                                            @dave_c said in NextCloud Automated Installation:

                                            @jaredbusch
                                            If I remember, your steps are for Apache; I was using nginx
                                            **Edit: The scripts I posted suport Apache/nginx/minio

                                            It be something like this:

                                            #Before changing root location
                                            server {
                                                location / {
                                                    root /var/www/html/;
                                                }
                                            
                                            #After changing root location
                                            server {
                                                location / {
                                                    root /var/www/html/nextcloud/;
                                                }
                                            

                                            And then update the NC config.php.

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