Install Nextcloud 11.03 on Fedora 25 Minimal
-
@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.
-
@wrx7m said in Install Nextcloud 11.03 on Fedora 25 Minimal:
Is there a reason you add the html directory to the nextcloud installation? All their docs show /var/www/nextcloud.
That's not where anything should be deployed. That's not the CentOS or the Fedora directory for that. It's not "wrong" to switch directories, but it is working against the OS which has a spot set up for it and expected already.
-
@scottalanmiller said in Install Nextcloud 11.03 on Fedora 25 Minimal:
@wrx7m said in Install Nextcloud 11.03 on Fedora 25 Minimal:
Is there a reason you add the html directory to the nextcloud installation? All their docs show /var/www/nextcloud.
That's not where anything should be deployed. That's not the CentOS or the Fedora directory for that. It's not "wrong" to switch directories, but it is working against the OS which has a spot set up for it and expected already.
Sorry... Which one is not correct?
-
@wrx7m said in Install Nextcloud 11.03 on Fedora 25 Minimal:
@scottalanmiller said in Install Nextcloud 11.03 on Fedora 25 Minimal:
@wrx7m said in Install Nextcloud 11.03 on Fedora 25 Minimal:
Is there a reason you add the html directory to the nextcloud installation? All their docs show /var/www/nextcloud.
That's not where anything should be deployed. That's not the CentOS or the Fedora directory for that. It's not "wrong" to switch directories, but it is working against the OS which has a spot set up for it and expected already.
Sorry... Which one is not correct?
/var/www/html is the appropriate top level directory for web applications on the RH family of OSes. Jared's choice of location is what we would generally accept as correct. An application maker should not choose an alternative location to the standards for the OS in question.
-
@scottalanmiller - Thanks. That is exactly the answer I was looking for. I wonder why Nextcloud chose to do it at the root of www.
Edit - Unless maybe it was developed for non-RH family flavors?
-
@wrx7m said in Install Nextcloud 11.03 on Fedora 25 Minimal:
@scottalanmiller - Thanks. That is exactly the answer I was looking for. I wonder why Nextcloud chose to do it at the root of www.
Edit - Unless maybe it was developed for non-RH family flavors?
Yes, or they wanted a generic option. It's fine to have a generic "in case you don't have anything else" location.
-
Working through this with JB this morning.
Found some tweaks needed.
No longer run
#get a script to set secure folder permissions wget -O ~/secure_folders_rhel.sh https://raw.githubusercontent.com/sorvani/scripts/master/Nextcloud/secure_folders_rhel.sh #make the script executable chmod +x ~/secure_folders_rhel.sh #run the script ~/secure_folders_rhel.sh
Running that script will break the updater according to JB.
And instead, run this
chown apache:apache -R /var/www/html/nextcloud
-
@dashrender first post already updated while you were typing that most likely.
-
Anyone wondering - Vultr does not have the Netinstall ISO in their library. The Fedora 25 they do have, does not have an minimal install option.
Instead you see this. I, like JB choose to add the Guest Agent.
-
@dashrender said in Install Nextcloud 11.03 on Fedora 25 Minimal:
Anyone wondering - Vultr does not have the Netinstall ISO in their library. The Fedora 25 they do have, does not have an minimal install option.
Any reason you are using the ISOs instead of their standard Fedora 25 or 26 images?