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.
-
@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.
-
@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.
-
@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
-
@JaredBusch said in Install Nextcloud 11.03 on Fedora 25 Minimal:
ls -l /var/www/html/nextcloud
-
@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.
-
@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.
doh
does it work?
Dagnabit. -
@wrx7m That should be
ls -la /var/www/html/nextcloud
Need thata
option to show hidden files. -
@travisdh1 said in Install Nextcloud 11.03 on Fedora 25 Minimal:
ls -la /var/www/html/nextcloud
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?
-
@travisdh1 said in Install Nextcloud 11.03 on Fedora 25 Minimal:
@wrx7m That should be
ls -la /var/www/html/nextcloud
Need thata
option to show hidden files.yeah that...
-
Is it the same command to change ownership on a hidden file?
-
@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
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.
-
-
@wrx7m Just tried. No issues.
[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 ~]#
-
@JaredBusch Figured it out. Your commands had a typo and the file name is missing a "c". htacess
-
@wrx7m said in Install Nextcloud 11.03 on Fedora 25 Minimal:
@JaredBusch Figured it out. Your commands had a typo and the file name is missing a "c". htacess
/sigh... Fixed.
-
@JaredBusch When you are looking at all this text, it can make your eyes bleed after awhile I can't believe how many times I looked at it and started over. Well, at least I have learned several things I wouldn't have without that typo
-
Thanks @JaredBusch the step-by-step guide worked, I had no problems from start to finish.
I'd like to go back & clean up the disk I used for the data portion of Nextcloud. -
Have anyone noticed tar package is not installed when using Fedora 25 minimal?
-
Is there a reason you add the html directory to the nextcloud installation? All their docs show /var/www/nextcloud.