Install Nextcloud 13.0.0 on Fedora 27
-
@jaredbusch said in Install Nextcloud 13.0.0 on Fedora 27:
@francesco-provino said in Install Nextcloud 13.0.0 on Fedora 27:
Why don’t just use snap?
And add a layer of shit to break? no thanks.
eesh.
-
If you update to this download, it keeps it up to date.
https://download.nextcloud.com/server/releases/latest-13.tar.bz2
-
I know that you like doing super minimal installs without package assumptions. In my environment (Fedora 28 LXC image) there is no FirewallD package.
So this is needed to make your directions work.
dnf -y install firewalld systemctl enable firewalld systemctl start firewalld
-
@scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:
I know that you like doing super minimal installs without package assumptions. In my environment (Fedora 28 LXC image) there is no FirewallD package.
So this is needed to make your directions work.
dnf -y install firewalld systemctl enable firewalld systemctl start firewalld
Well, went through that with CentOS a while back not having the firewall active in a minimal install.
I just cannot fathom any system not using it, got any reason.
So why does an LXC container not have a firewall?
-
@jaredbusch said in Install Nextcloud 13.0.0 on Fedora 27:
Well, went through that with CentOS a while back not having the firewall active in a minimal install.
I just cannot fathom any system not using it, got any reason.
So why does an LXC container not have a firewall?
I think that they assume you'll use a firewall higher up the stack, but for portability you don't often want to do that. No clue why it's missing from the LXC image, but I've used it a bit and it's never there, I always have to add it.
-
I know this is Late but Following this Guide I have ran into a problem:
/etc/httpd/conf.d/nextcloud : no such File or directory
Error When running the command to install apache config file. . .
Picture Proof: https://i.imgur.com/hpj8dE8.png
-
What happens if you run...
dnf install httpd
-
@scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:
What happens if you run...
dnf install httpd
That did it
-
@wrcombs said in Install Nextcloud 13.0.0 on Fedora 27:
@scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:
What happens if you run...
dnf install httpd
That did it
If you missed that, it means you missed the install command that installs everything. Check Jared's instructions, the first command is an update, the second installs all of the dependencies. That this was missing, means you missed the majority of the Nextcloud installation. I'd go back and check what you did.
-
@wrcombs I know this is for learning so look up everything in his guide in the man pages to learn what everything is and all of the modifiers. Example:
man ls
man httpd
man mkdir
man chmod
etc. -
Locking while we fork.
-
Will unlock in a couple of minutes once people have had time to notice the new thread.
-
I am attempting to follow this to install nextcloud 15 on fedora 29. I get to the step where I change the db to mariadb, but it doesnt seem to want to let me. earlier in the process, I changed ncuser and ncuserpassword, but I cant get it to take them. Any suggestions?
-
@Donahue without having gone through this process myself, but based on the guide you changed the database credentials.
Not the login credentials.
Attempt the default username and password.
-
@DustinB3403 said in Install Nextcloud 13.0.0 on Fedora 27:
@Donahue without having gone through this process myself, but based on the guide you changed the database credentials.
Not the login credentials.
Attempt the default username and password.
I have used both the ncuserpassword and the somesecurepassword, but all combinations did not work.
-
Test with the command line utility to ensure that MariaDB is set up properly before you try to test it with the actual app.
The CLI tool is called simply mysql
mysql nextcloud -uncadmin -p
-
@JaredBusch said in Install Nextcloud 13.0.0 on Fedora 27:
Create the Nextcloud database and then secure the mariadb install.
Change ncuser, ncuserpassword, and somesecurepassword to something private.
#Create a database for nextcloud and a user to access it.
mysql -e "CREATE DATABASE nextcloud;"
mysql -e "CREATE USER 'ncuser'@'localhost' IDENTIFIED BY 'ncuserpassword';"
mysql -e "GRANT ALL ON nextcloud.* TO 'ncuser'@'localhost';"
mysql -e "FLUSH PRIVILEGES;"#Secure mariadb. These commands do what mysql_secure_installation does interactively
mysql -e "UPDATE mysql.user SET Password=PASSWORD('somesecurepassword') WHERE User='root';"
mysql -e "DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1');"
mysql -e "DELETE FROM mysql.user WHERE User='';"
mysql -e "DROP DATABASE test;"
mysql -e "FLUSH PRIVILEGES;"Doesn't this step set the mysql password, as somesecurepassword?
@scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:
Test with the command line utility to ensure that MariaDB is set up properly before you try to test it with the actual app.
The CLI tool is called simply mysql
mysql nextcloud -uncadmin -p
if so, then it fails at this step
-
@Donahue said in Install Nextcloud 13.0.0 on Fedora 27:
ncuserpassword
No, it sets it as...
ncuserpassword
-
@Donahue said in Install Nextcloud 13.0.0 on Fedora 27:
somesecurepassword
Is what it sets for the root user, which you are not using any longer.
-
@scottalanmiller said in Install Nextcloud 13.0.0 on Fedora 27:
@Donahue said in Install Nextcloud 13.0.0 on Fedora 27:
ncuserpassword
No, it sets it as...
ncuserpassword
still fails. I try both nsuserpassword and somesecurepassword, and both fail