Comments on: How to Install and Configure Nextcloud on CentOS 7 / RHEL 7 https://www.linuxtechi.com/install-configure-nextcloud-on-centos-7-rhel-7/ Fri, 13 Mar 2020 09:44:07 +0000 hourly 1 By: Hillol Nayak https://www.linuxtechi.com/install-configure-nextcloud-on-centos-7-rhel-7/#comment-19233 Fri, 13 Mar 2020 09:44:07 +0000 http://www.linuxtechi.com/?p=4408#comment-19233 Hello…..

Whenever I am specify the user name as admin and password that I want to set, Select the Database type as MariaDB and mentioned the database name, database user and its credentials. Once done with settings then click on finish Setup. Then getting below problem :

“Error can’t create or write into the date directory /var/www/html/nextcloud/data”

]]>
By: hasan https://www.linuxtechi.com/install-configure-nextcloud-on-centos-7-rhel-7/#comment-10782 Mon, 03 Jun 2019 18:37:39 +0000 http://www.linuxtechi.com/?p=4408#comment-10782 Hey brother Good day, Greetings;
I need upload file size at least 10GB! i edited the file “upload_max_filesize = 10G” from /etc/php.ini but updated 8M at admin panel & user cant upload over 8M files. would you please help me, how can i increase max_ upload_file size? at lease 10GB

]]>
By: Oppa https://www.linuxtechi.com/install-configure-nextcloud-on-centos-7-rhel-7/#comment-843 Tue, 23 May 2017 08:07:06 +0000 http://www.linuxtechi.com/?p=4408#comment-843 If you want to use UTF8 4-byte characters such as Emojis on your server, the database needs to be created with character set utf8mb4 and collate utf8mb4_general_ci, e.g.:

CREATE DATABASE nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;

copied from it’s official page (system requirements).

]]>
By: Ben https://www.linuxtechi.com/install-configure-nextcloud-on-centos-7-rhel-7/#comment-512 Sat, 25 Feb 2017 22:55:43 +0000 http://www.linuxtechi.com/?p=4408#comment-512 Great tutorial! Much appreciated.
Will definitely be looking to enable SELinux without any interference though.

]]>
By: Pradeep Kumar https://www.linuxtechi.com/install-configure-nextcloud-on-centos-7-rhel-7/#comment-511 Sun, 02 Oct 2016 02:14:04 +0000 http://www.linuxtechi.com/?p=4408#comment-511 In reply to Yoel Gutierrez.

Hello Yoel ,

Problem seems to be DNS server, Please check the DNS server ip of your machine at your home. Work around is that you can update the hosts file of your system set the below entries :

‘ip -Address-of-nextcloud’ cloud.mydomain.com

]]>
By: Yoel Gutierrez https://www.linuxtechi.com/install-configure-nextcloud-on-centos-7-rhel-7/#comment-510 Wed, 28 Sep 2016 06:11:36 +0000 http://www.linuxtechi.com/?p=4408#comment-510 Hello I have a weird problem, I set up everything and is working good. I install the NextCloud in a VM locally in my home. Setup HTTPS redirection and it is working perfectly when I am outside my home and everything seems to be working perfectly. But, the thing is if I access my cloud thru my domain, (cloud.mydomain.com) out of my local network, work perfectly. the problem is when I get home I cant do it that way. if I open the browser and type ‘https://cloud.mydomain.com’ it never get to the nextcloud. but If I type my local ip address in the address bar of the NextCloud Server it opens perfectly. witch it like anoying everytime I get home remove the domain name and login with my local ip address.

Please HELP I am frustrated

]]>
By: Mario https://www.linuxtechi.com/install-configure-nextcloud-on-centos-7-rhel-7/#comment-509 Tue, 30 Aug 2016 21:27:52 +0000 http://www.linuxtechi.com/?p=4408#comment-509 Hello. Just for your information when use version 10 of nextcloud (i dont know if those errors in version 9 exist).

When you do:
Create a database user (nxtuser) and grant all the privileges to the user on the database ‘nextcloud_db‘

Then you will get in log file this:
Database creation failed: An exception occurred while executing ‘GRANT ALL PRIVILEGES ON `nextcloud_db` . * TO ‘nxtuser”: SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user ‘nxtuser’@’localhost’ to database ‘nextcloud_db’

You dont have to create a DB User. Just for the first time you start the installation wizzard, use the DB root user and password.
Then all is fine 🙂

It will generate a database user and random password. You can find it then in nexcloud installation folder /var/www/html/nextcloud/config/config.php (or where you installed it)

i.e. you choose the admin user in the wizzard with username “admin” then the database user “oc_admin” been create with the random password.

No errors then in log so far.

People who want to use php5.5 can use Red Hat Software Collections (SCL) repository.
‘https://docs.nextcloud.com/server/10/admin_manual/installation/php_55_installation.html’

]]>
By: Ben https://www.linuxtechi.com/install-configure-nextcloud-on-centos-7-rhel-7/#comment-508 Mon, 15 Aug 2016 14:17:00 +0000 http://www.linuxtechi.com/?p=4408#comment-508 In reply to Vinit.

Try the following via command line:

php -v

If nothing pulls through sounds like PHP isn’t installed or installed correctly. Try the following:

yum install php php-mysql sqlite php-dom php-mbstring php-gd php-pdo php-json php-xml php-zip php-gd curl php-curl php-mcrypt php-pear -y

if that doesn’t work try the following:

yum install epel-release -y

yum install php php-mysql sqlite php-dom php-mbstring php-gd php-pdo php-json php-xml php-zip php-gd curl php-curl php-mcrypt php-pear -y

]]>
By: Vinit https://www.linuxtechi.com/install-configure-nextcloud-on-centos-7-rhel-7/#comment-507 Fri, 05 Aug 2016 12:12:08 +0000 http://www.linuxtechi.com/?p=4408#comment-507 I have configure the same steps but when i access webpage from other pc it shows me some php scripts instead of that blue page of login…please guide

]]>
By: Pradeep Kumar https://www.linuxtechi.com/install-configure-nextcloud-on-centos-7-rhel-7/#comment-506 Sun, 31 Jul 2016 02:01:26 +0000 http://www.linuxtechi.com/?p=4408#comment-506 In reply to jl.

Hello Jl ,

Thanks for the Comments, In Case SELINUX is enabled on your Linux box, One should run the beneath commands as root .

[root@nextcloud ~]# semanage fcontext -a -t httpd_sys_rw_content_t ‘/var/www/html/nextcloud/data’
[root@nextcloud ~]# restorecon ‘/var/www/html/nextcloud/data’
[root@nextcloud ~]# semanage fcontext -a -t httpd_sys_rw_content_t ‘/var/www/html/nextcloud/config’
[root@nextcloud ~]# restorecon ‘/var/www/html/nextcloud/config’
[root@nextcloud ~]# semanage fcontext -a -t httpd_sys_rw_content_t ‘/var/www/html/nextcloud/apps’
[root@nextcloud ~]# restorecon ‘/var/www/html/nextcloud/apps’

]]>