Install NextCloud 11.0.2 on CentOS 7 with PHP 7.1 from Remi
-
but the official manual install guide (ubuntu example) specifically states to use the webroot still.
https://docs.nextcloud.com/server/11/admin_manual/installation/source_installation.html#example-installation-on-ubuntu-16-04-lts-server -
Opened an issue on github and posted on the NC forums. in the mean time, give me a few and I will get a valid file setup.
-
This is the original nextcloud.conf file.
3 days ago he added some proxy info to it. that caused the service unavailable error. 1 day ago he changed the damned directory. that caused the permissions error.wget -O /etc/httpd/conf.d/nextcloud.conf https://raw.githubusercontent.com/nextcloud/server-packages/18f3837752589739b53bc62705c45a54faddbb4a/centos/nextcloud.conf
-
@msff-amman-Itofficer instructions updated and pictures made with the initial web gui setup also.
-
on a side note, these instructions work without ever disabling SELinux. Not even during install.
-
Updated instructions work for me.
-
@dafyre said in Install NextCloud 11.0.2 on CentOS 7 with PHP 7.1 from Remi:
Works for me.
instructions were updated, so it should.
-
@JaredBusch said in Install NextCloud 11.0.2 on CentOS 7 with PHP 7.1 from Remi:
@dafyre said in Install NextCloud 11.0.2 on CentOS 7 with PHP 7.1 from Remi:
Works for me.
instructions were updated, so it should.
Shoudl have clarified, lol. I was using the updated instructions.
-
I tweaked the SSL config section as well and tested again.
-
Hehe no surprise there.
-
Hi,
I can confirm it is working, and it is alive ...
Thanks for the fix, and sorry for the delay.
however If i can nitpick, I am unable to enable memory cache and file locking.
Look at the screenshots and I dont know really where to put those lines:
'memcache.locking' => '\OC\Memcache\Redis',
'memcache.local' => '\OC\Memcache\Redis',
'redis' => array(
'host' => 'localhost',
'port' => 6379,
),I tried putting them in 3 places, yet everytime it failed after saving and restarting the server, the webserver no longer boots up.
I know those are more of an optional stuff, but if you have quick fix or suggestion, I will be much in your debt.
-
@msff-amman-Itofficer it goes anywhere.
[root@nctest ~]# cat /var/www/html/nextcloud/config/config.php <?php $CONFIG = array ( 'instanceid' => 'occ4c7flycgy', 'passwordsalt' => 'IUShFaONjlpGP+xy6WHG3SkZmXw1u/', 'secret' => 'SLC9EUO468SLissy5w4NnqYbKHWZyZ7Tj4zAjco/WCp2IoBr', 'trusted_domains' => array ( 0 => 'nctest.bundystl.com', ), 'datadirectory' => '/var/www/html/nextcloud/data', 'overwrite.cli.url' => 'http://nctest.bundystl.com', 'htaccess.RewriteBase' => '/', 'dbtype' => 'mysql', 'version' => '11.0.2.7', 'dbname' => 'nextcloud', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'dbuser' => 'ncuser', 'dbpassword' => 'ncuserpassword', 'logtimezone' => 'UTC', 'installed' => true, 'memcache.locking' => '\OC\Memcache\Redis', 'memcache.local' => '\OC\Memcache\Redis', 'redis' => array( 'host' => 'localhost', 'port' => 6379, ), );
-
I simply didn't copy the
),
with the rest of the commands.
cause I already saw it in the file, but after a second look of your config, I realized it was in the file as
); -
@msff-amman-Itofficer
Sorry, all working 100%
Thank you very much
I should sleep now, its way too late thus making those small mistakes
-
Im wondering if anyone can help i have followed this great guide but now find that i cannot login to the admin of my nextcloud and im getting repeated errors of Uncaught ReferenceError: OCA is not defined
I am running Nexcloud 12.0.3
can anyone advise please?
-
I have no idea. It would need more detail, or time to attempt to replicate.
-
@theozsnowman said in Install NextCloud 11.0.2 on CentOS 7 with PHP 7.1 from Remi:
Im wondering if anyone can help i have followed this great guide but now find that i cannot login to the admin of my nextcloud and im getting repeated errors of Uncaught ReferenceError: OCA is not defined
I am running Nexcloud 12.0.3
can anyone advise please?
I have not seen that error yet. This is on a fresh install?
-
I just completed this guide on Vultr using Nextcloud 12.0.4 and CentOS 7. No issues here. Thanks as these guides are getting me more familiar with Linux vs the appliance install.
-
I installed this VM in the NJ datacenter because I had a free 50GB promotional block storage available from a while back waiting to give this a go. I attached the block storage to the VM prior to install, however at the installation screens where you select disks, I wasn't sure how to go about it so I only selected the 25GB disk that came with the $5 instance.
Now that I have everything setup, running df-h is only showing the 25GB storage so I apparently should have chosen both disks. Is there a way to attach the block storage to this nextcloud instance now that it's up and running without having to redo the whole thing? Ideally, I would like to have the 25GB + 50GB block storage for a total of 75GB if possible.
-
You can, using LVM to span them. Not an ideal way to use your storage, but it will work. Same as doing it on Windows, really.