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.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.
    • JaredBuschJ
      JaredBusch
      last edited by JaredBusch

      Follow post 2 of the Nextcloud 11 on CentOS 7 to pretty up the URL of your Fedora 25 install.

      But first you will have to take ownership of the .htaccess file back to the apache user.

      chown apache:apache /var/www/html/nextcloud/.htaccess
      

      When you are done with this step set it back to root manually or execute the secure_folders_rhel.sh again

      chown root:apache /var/www/html/nextcloud/.htaccess
      
      wrx7mW 1 Reply Last reply Reply Quote 1
      • JaredBuschJ
        JaredBusch
        last edited by JaredBusch

        Follow post 3 of the Nextcloud 11 on CentOS 7 to enable SSL on your Fedora 25 install.

        1 Reply Last reply Reply Quote 0
        • wrx7mW
          wrx7m @JaredBusch
          last edited by

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

          chown apache:apache /var/www/html/nextcloud/.htacess

          When I run that, I get chown: cannot access '/var/www/html/nextcloud/.htaccess': No such file or directory

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

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

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

            chown apache:apache /var/www/html/nextcloud/.htacess

            When I run that, I get chown: cannot access '/var/www/html/nextcloud/.htaccess': No such file or directory

            If you follow my guide, I am not sure how you didn't. I did this all twice to make sure of my instructions.

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

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

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

              chown apache:apache /var/www/html/nextcloud/.htacess

              When I run that, I get chown: cannot access '/var/www/html/nextcloud/.htaccess': No such file or directory

              Hidden files don't copy with a cp -r. Did you by chance extract the nextcloud tar.gz file and then copy the files?

              wrx7mW JaredBuschJ 2 Replies Last reply Reply Quote 0
              • wrx7mW
                wrx7m @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 said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                chown apache:apache /var/www/html/nextcloud/.htacess

                When I run that, I get chown: cannot access '/var/www/html/nextcloud/.htaccess': No such file or directory

                Hidden files don't copy with a cp -r. Did you by chance extract the nextcloud tar.gz file and then copy the files?

                I copied the commands line by line from the post and pasted them into putty and hit enter after each line.

                JaredBuschJ travisdh1T 3 Replies Last reply Reply Quote 0
                • JaredBuschJ
                  JaredBusch @wrx7m
                  last edited by

                  @wrx7m 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 said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                  chown apache:apache /var/www/html/nextcloud/.htacess

                  When I run that, I get chown: cannot access '/var/www/html/nextcloud/.htaccess': No such file or directory

                  Hidden files don't copy with a cp -r. Did you by chance extract the nextcloud tar.gz file and then copy the files?

                  I copied the commands line by line from the post and pasted them into putty and hit enter after each line.

                  It is in the download.
                  0_1493930968458_upload-100c3d94-089e-4695-b039-107c05cffb75

                  1 Reply Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch @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 said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                    chown apache:apache /var/www/html/nextcloud/.htacess

                    When I run that, I get chown: cannot access '/var/www/html/nextcloud/.htaccess': No such file or directory

                    Hidden files don't copy with a cp -r. Did you by chance extract the nextcloud tar.gz file and then copy the files?

                    single backtick for inline, not 3.
                    0_1493931022333_upload-d905b893-45af-4100-9ba5-ce9624773524

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

                      @wrx7m 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 said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                      chown apache:apache /var/www/html/nextcloud/.htacess

                      When I run that, I get chown: cannot access '/var/www/html/nextcloud/.htaccess': No such file or directory

                      Hidden files don't copy with a cp -r. Did you by chance extract the nextcloud tar.gz file and then copy the files?

                      I copied the commands line by line from the post and pasted them into putty and hit enter after each line.

                      so ls -l /var/www/html/nextcloud

                      wrx7mW 1 Reply Last reply Reply Quote 0
                      • wrx7mW
                        wrx7m @JaredBusch
                        last edited by

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

                        ls -l /var/www/html/nextcloud

                        0_1493931150599_Capture.PNG

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

                          @wrx7m 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 said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                          chown apache:apache /var/www/html/nextcloud/.htacess

                          When I run that, I get chown: cannot access '/var/www/html/nextcloud/.htaccess': No such file or directory

                          Hidden files don't copy with a cp -r. Did you by chance extract the nextcloud tar.gz file and then copy the files?

                          I copied the commands line by line from the post and pasted them into putty and hit enter after each line.

                          Odd, that should extract to that directory.

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

                            @JaredBusch 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 said in Install Nextcloud 11.03 on Fedora 25 Minimal:

                            chown apache:apache /var/www/html/nextcloud/.htacess

                            When I run that, I get chown: cannot access '/var/www/html/nextcloud/.htaccess': No such file or directory

                            Hidden files don't copy with a cp -r. Did you by chance extract the nextcloud tar.gz file and then copy the files?

                            single backtick for inline, not 3.
                            0_1493931022333_upload-d905b893-45af-4100-9ba5-ce9624773524

                            doh does it work? Dagnabit.

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

                              @wrx7m That should be ls -la /var/www/html/nextcloud Need that a option to show hidden files.

                              wrx7mW JaredBuschJ 2 Replies Last reply Reply Quote 0
                              • wrx7mW
                                wrx7m @travisdh1
                                last edited by wrx7m

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

                                ls -la /var/www/html/nextcloud

                                0_1493931348461_Capture.PNG

                                So it is there. When I go to the other post to change the urls, and ran - cd /var/www/html/nextcloud && sudo -u apache php occ maintenance:update:htaccess - I got Error updating .htaccess file, not enough permissions?

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

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

                                  @wrx7m That should be ls -la /var/www/html/nextcloud Need that a option to show hidden files.

                                  yeah that...

                                  1 Reply Last reply Reply Quote 1
                                  • wrx7mW
                                    wrx7m
                                    last edited by

                                    Is it the same command to change ownership on a hidden file?

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

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

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

                                      ls -la /var/www/html/nextcloud

                                      0_1493931348461_Capture.PNG

                                      So it is there. When I go to the other post to change the urls, and ran - cd /var/www/html/nextcloud && sudo -u apache php occ maintenance:update:htaccess - I got Error updating .htaccess file, not enough permissions?

                                      That command requires the permissions to be apache:apache

                                      If you ran my script to set secure permissions your folder would look like this.

                                      So you should be to the point to chown it back.

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

                                        0_1493931901780_upload-70f5935e-ca8c-4f3d-ac66-0305d64b38e2

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

                                          @wrx7m Just tried. No issues.
                                          0_1493932062404_upload-4ed758e8-151e-4c35-81fd-c51875100916

                                          [root@jrd-nc ~]# chown apache:apache /var/www/html/nextcloud/.htaccess 
                                          [root@jrd-nc ~]# ls -la /var/www/html/nextcloud/.htaccess 
                                          -rw-r--r--. 1 apache apache 3793 Apr 28 21:54 /var/www/html/nextcloud/.htaccess
                                          [root@jrd-nc ~]# chown root:apache /var/www/html/nextcloud/.htaccess 
                                          [root@jrd-nc ~]# ls -la /var/www/html/nextcloud/.htaccess 
                                          -rw-r--r--. 1 root apache 3793 Apr 28 21:54 /var/www/html/nextcloud/.htaccess
                                          [root@jrd-nc ~]# 
                                          
                                          wrx7mW 1 Reply Last reply Reply Quote 2
                                          • wrx7mW
                                            wrx7m @JaredBusch
                                            last edited by

                                            @JaredBusch Figured it out. Your commands had a typo and the file name is missing a "c". htacess
                                            0_1493932623889_Capture.PNG

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