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

    Install Nextcloud 11.03 on Fedora 25 Minimal

    IT Discussion
    nextcloud 11 nextcloud fedora 25 real instructions how to guide
    9
    70
    13.2k
    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.
    • JaredBuschJ
      JaredBusch @black3dynamite
      last edited by

      @black3dynamite said in Install Nextcloud 11.03 on Fedora 25 Minimal:

      @jaredbusch said in Install Nextcloud 11.03 on Fedora 25 Minimal:

      @wirestyle22 said in Install Nextcloud 11.03 on Fedora 25 Minimal:

      Vultr Fedora 26 Image

      Installed Packages
      

      555 Packages..

      They're using Fedora Server Edition instead of minimal?

      Looks that way.

      1 Reply Last reply Reply Quote 0
      • wirestyle22W
        wirestyle22 @black3dynamite
        last edited by

        @black3dynamite said in Install Nextcloud 11.03 on Fedora 25 Minimal:

        @jaredbusch said in Install Nextcloud 11.03 on Fedora 25 Minimal:

        @wirestyle22 said in Install Nextcloud 11.03 on Fedora 25 Minimal:

        Vultr Fedora 26 Image

        Installed Packages
        

        555 Packages..

        They're using Fedora Server Edition instead of minimal?

        Correct

        1 Reply Last reply Reply Quote 0
        • wirestyle22W
          wirestyle22 @travisdh1
          last edited by

          @travisdh1 said in Install Nextcloud 11.03 on Fedora 25 Minimal:

          @wrx7m said in Install Nextcloud 11.03 on Fedora 25 Minimal:

          @jaredbusch Thanks for the steps. Do you know if you are able to dynamically expand the block storage?

          Use LVM with it, doesn't matter weather it's dynamically enabled by Vultr or not, it just is.

          I actually didn't know LVM would dynamically allocate it in this situation. Interesting.

          travisdh1T 2 Replies Last reply Reply Quote 2
          • travisdh1T
            travisdh1 @wirestyle22
            last edited by

            @wirestyle22 said in Install Nextcloud 11.03 on Fedora 25 Minimal:

            @travisdh1 said in Install Nextcloud 11.03 on Fedora 25 Minimal:

            @wrx7m said in Install Nextcloud 11.03 on Fedora 25 Minimal:

            @jaredbusch Thanks for the steps. Do you know if you are able to dynamically expand the block storage?

            Use LVM with it, doesn't matter weather it's dynamically enabled by Vultr or not, it just is.

            I actually didn't know LVM would dynamically allocate it in this situation. Interesting.

            That's really the whole point of LVM. All your block devices are dynamic!

            1 Reply Last reply Reply Quote 2
            • travisdh1T
              travisdh1 @wirestyle22
              last edited by

              @wirestyle22 said in Install Nextcloud 11.03 on Fedora 25 Minimal:

              @travisdh1 said in Install Nextcloud 11.03 on Fedora 25 Minimal:

              @wrx7m said in Install Nextcloud 11.03 on Fedora 25 Minimal:

              @jaredbusch Thanks for the steps. Do you know if you are able to dynamically expand the block storage?

              Use LVM with it, doesn't matter weather it's dynamically enabled by Vultr or not, it just is.

              I actually didn't know LVM would dynamically allocate it in this situation. Interesting.

              Just stop and think about it for a minute and I think you'd get it.

              Need to add space, plug in a block device and expand the LV. Need to remove a block device, that's just fine as well (just be sure the VG has enough space to hold all the data after that block device is removed.)

              DashrenderD 1 Reply Last reply Reply Quote 0
              • DashrenderD
                Dashrender @travisdh1
                last edited by

                @travisdh1 said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                @wirestyle22 said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                @travisdh1 said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                @wrx7m said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                @jaredbusch Thanks for the steps. Do you know if you are able to dynamically expand the block storage?

                Use LVM with it, doesn't matter weather it's dynamically enabled by Vultr or not, it just is.

                I actually didn't know LVM would dynamically allocate it in this situation. Interesting.

                Just stop and think about it for a minute and I think you'd get it.

                Need to add space, plug in a block device and expand the LV. Need to remove a block device, that's just fine as well (just be sure the VG has enough space to hold all the data after that block device is removed.)

                learning question here - when you remove a block device from a VG, does LVM move the data as part of the process of removing the block device?

                travisdh1T 1 Reply Last reply Reply Quote 0
                • travisdh1T
                  travisdh1 @Dashrender
                  last edited by

                  @dashrender said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                  @travisdh1 said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                  @wirestyle22 said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                  @travisdh1 said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                  @wrx7m said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                  @jaredbusch Thanks for the steps. Do you know if you are able to dynamically expand the block storage?

                  Use LVM with it, doesn't matter weather it's dynamically enabled by Vultr or not, it just is.

                  I actually didn't know LVM would dynamically allocate it in this situation. Interesting.

                  Just stop and think about it for a minute and I think you'd get it.

                  Need to add space, plug in a block device and expand the LV. Need to remove a block device, that's just fine as well (just be sure the VG has enough space to hold all the data after that block device is removed.)

                  learning question here - when you remove a block device from a VG, does LVM move the data as part of the process of removing the block device?

                  Yes, so long as there is enough storage space left in the VG, it will move it off the device being removed. Disclaimer: I haven't actually tested this in years.

                  wirestyle22W 1 Reply Last reply Reply Quote 1
                  • wirestyle22W
                    wirestyle22 @travisdh1
                    last edited by

                    @travisdh1 said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                    @dashrender said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                    @travisdh1 said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                    @wirestyle22 said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                    @travisdh1 said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                    @wrx7m said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                    @jaredbusch Thanks for the steps. Do you know if you are able to dynamically expand the block storage?

                    Use LVM with it, doesn't matter weather it's dynamically enabled by Vultr or not, it just is.

                    I actually didn't know LVM would dynamically allocate it in this situation. Interesting.

                    Just stop and think about it for a minute and I think you'd get it.

                    Need to add space, plug in a block device and expand the LV. Need to remove a block device, that's just fine as well (just be sure the VG has enough space to hold all the data after that block device is removed.)

                    learning question here - when you remove a block device from a VG, does LVM move the data as part of the process of removing the block device?

                    Yes, so long as there is enough storage space left in the VG, it will move it off the device being removed. Disclaimer: I haven't actually tested this in years.

                    Interesting. Thanks

                    1 Reply Last reply Reply Quote 0
                    • zachary715Z
                      zachary715
                      last edited by zachary715

                      I'm trying this now on Fedora 26 Minimal and Nextcloud 12.0.4. Everthing goes smoothly until I get to install the SSL cert. This is the first message I see regarding certbot during installation.

                         Installing       : certbot-0.19.0-1.fc26.noarch           73/73
                         Running scriptlet: certbot-0.19.0-1.fc26.noarch           73/73
                      ValueError: File context for /etc/(letsencrypt|certbot)/(live|archive)(/.*)? already defined
                      restorecon: lstat(/etc/letsencrypt) failed: No such file or directory
                      Running as unit: run-r45b016845f8b4d91ba5cd0819576f126.service
                      

                      I didn't initially notice this so I moved on.

                      [root@nextcloud nextcloud]# certbot --apache certonly --email [email protected] --domain cloud.domain.com --agree-tos --non-interactive
                      Saving debug log to /var/log/letsencrypt/letsencrypt.log
                      Could not choose appropriate plugin: The requested apache plugin does not appear to be installed
                      The requested apache plugin does not appear to be installed
                      

                      So then I'm thinking the apache plugin didn't install. Ran dnf install python-certbot-apache again and it came back as installed. This is when I noticed the first message during the initial installation attempt.

                      I then checked the logs below

                       [root@nextcloud nextcloud]# cat /var/log/letsencrypt/letsencrypt.log
                      2017-12-21 15:13:03,500:DEBUG:certbot.main:certbot version: 0.19.0
                      2017-12-21 15:13:03,501:DEBUG:certbot.main:Arguments: ['--apache', '--email', '[email protected]', '--domain', 'cloud.domain.com', '--agree-tos', '--non-interactive']
                      2017-12-21 15:13:03,501:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
                      2017-12-21 15:13:03,514:DEBUG:certbot.log:Root logging level set at 20
                      2017-12-21 15:13:03,514:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
                      2017-12-21 15:13:03,516:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache
                      2017-12-21 15:13:03,516:DEBUG:certbot.plugins.selection:No candidate plugin
                      2017-12-21 15:13:03,516:DEBUG:certbot.plugins.selection:No candidate plugin
                      2017-12-21 15:13:03,516:DEBUG:certbot.plugins.selection:Selected authenticator None and installer None
                      2017-12-21 15:13:03,516:INFO:certbot.main:Could not choose appropriate plugin: The requested apache plugin does not appear to be installed
                      2017-12-21 15:13:03,517:DEBUG:certbot.log:Exiting abnormally:
                      Traceback (most recent call last):
                        File "/usr/bin/certbot", line 11, in <module>
                          load_entry_point('certbot==0.19.0', 'console_scripts', 'certbot')()
                        File "/usr/lib/python3.6/site-packages/certbot/main.py", line 861, in main
                          return config.func(config, plugins)
                        File "/usr/lib/python3.6/site-packages/certbot/main.py", line 765, in certonly
                          installer, auth = plug_sel.choose_configurator_plugins(config, plugins, "certonly")
                        File "/usr/lib/python3.6/site-packages/certbot/plugins/selection.py", line 201, in choose_configurator_plugins
                      diagnose_configurator_problem("authenticator", req_auth, plugins)
                        File "/usr/lib/python3.6/site-packages/certbot/plugins/selection.py", line 297, in diagnose_configurator_problem
                      raise errors.PluginSelectionError(msg)
                      certbot.errors.PluginSelectionError: The requested apache plugin does not appear to be installed
                      

                      When I ran through this procedure for CentOS7 few days back I had no issues. Has the apache plugin required changed? What am I missing?

                      EDIT: I also ensured certbot installed successfully with dnf install certbot and it came back as installed.

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

                        @zachary715 FYI... Fedora 27 is the current version.

                        zachary715Z 1 Reply Last reply Reply Quote 0
                        • zachary715Z
                          zachary715 @scottalanmiller
                          last edited by

                          @scottalanmiller said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                          @zachary715 FYI... Fedora 27 is the current version.

                          Yes I understand. Fedora 26 I already had on hand and this would give me a chance to get Nextcloud up and running and then do the upgrade to Fedora 27 to see that process as we discussed the other day.

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

                            @zachary715 said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                            So then I'm thinking the apache plugin didn't install. Ran dnf install python-certbot-apache again and it came back as installed. This is when I noticed the first message during the initial installation attempt.

                            You have to use the python3 module for this.

                            python3-certbot-apache

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

                              I never use the --apache flag because I do not want certbot touching my config files for me. But I also understand what I am doing with certs and do not liek to rely on the magic.

                              wirestyle22W 1 Reply Last reply Reply Quote 1
                              • wirestyle22W
                                wirestyle22 @JaredBusch
                                last edited by

                                @jaredbusch out of curiousity how did you go about learning everything you know in linux? A mix of books/documentation/homelab? Any recommendations book-wise if that's something you've done?

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

                                  Upgrading my system from 11 to 12.

                                  Had to setenforce 0 in order for the updater to work as most files do not have httpd_rw context.

                                  0_1514335178094_3f42ca6b-3c42-4a47-b888-f56a66245e68-image.png

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

                                    @wirestyle22 said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                                    @jaredbusch out of curiousity how did you go about learning everything you know in linux? A mix of books/documentation/homelab? Any recommendations book-wise if that's something you've done?

                                    WTF, I jsut know everything. FFS, get with the program.

                                    Seriously, I do not book learn well. I learn by tinkering. So I learned by breaking shit. Repeatedly.

                                    It costs a large amount of time to learn things this way. But it is what I do. Book learning generally is no different for most. It all takes time.

                                    wirestyle22W 1 Reply Last reply Reply Quote 2
                                    • wirestyle22W
                                      wirestyle22 @JaredBusch
                                      last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • 1
                                      • 2
                                      • 3
                                      • 4
                                      • 4 / 4
                                      • First post
                                        Last post