Please help me install nextcloud 12 in jail

Status
Not open for further replies.

dureal99d

Contributor
Joined
Aug 3, 2017
Messages
156
I just cant figure it out, ive tried for hours upon hours and im just stuck, so ima install in my linux box and see if i get better results. it truly sucks that a guided tutorial cannot be easier to follow. I admit i am not a programmer and a lot of the terminology is going over my head. I install the copy and paste stuff but i followed this to the T.
 

onryo

Cadet
Joined
May 7, 2015
Messages
8
You are getting that because you have a unixsocket half setup from the first attempt at the other tutorial. You need to make a clean jail.
 

dureal99d

Contributor
Joined
Aug 3, 2017
Messages
156
You are getting that because you have a unixsocket half setup from the first attempt at the other tutorial. You need to make a clean jail.
ok Im trying your version of the setup, but im stuck at entering this data

Alias /nextcloud /usr/local/www/nextcloud
AcceptPathInfo On
<Directory /usr/local/www/nextcloud>
AllowOverride All
Require all granted
</Directory>

in this location here

/usr/local/etc/apache24/httpd.conf

my question is can i enter this information anywhere in the file or does it have to be in a certain place

for example the onlything i see in this file that looks similar is this one
#
# "/usr/local/www/apache24/cgi-bin" should be changed to whatever your ScriptAl$
# CGI directory exists, if you have that configured.
#
<Directory "/usr/local/www/apache24/cgi-bin">
AllowOverride None
Options None
Require all granted
</Directory>

but you said to add, not to modify.

im stadning by for your answer and of course i do thank you for all of your help
 

dureal99d

Contributor
Joined
Aug 3, 2017
Messages
156
ok Im trying your version of the setup, but im stuck at entering this data

Alias /nextcloud /usr/local/www/nextcloud
AcceptPathInfo On
<Directory /usr/local/www/nextcloud>
AllowOverride All
Require all granted
</Directory>

in this location here

/usr/local/etc/apache24/httpd.conf

my question is can i enter this information anywhere in the file or does it have to be in a certain place

for example the onlything i see in this file that looks similar is this one
#
# "/usr/local/www/apache24/cgi-bin" should be changed to whatever your ScriptAl$
# CGI directory exists, if you have that configured.
#
<Directory "/usr/local/www/apache24/cgi-bin">
AllowOverride None
Options None
Require all granted
</Directory>

but you said to add, not to modify.

im stadning by for your answer and of course i do thank you for all of your help

Yes success!!!!!i just added it to the beginning of my httpd.conf and afterwords i had to correct some syntact errors due to that add throwing the wording arrangement out of whack.

but once i did and restarted apache, bam, like a glove
 

dureal99d

Contributor
Joined
Aug 3, 2017
Messages
156
now im getting this error any ideas?

The PHP OPcache is not properly configured. For better performance we recommend to use following settings in the php.ini:
opcache.enable=1
opcache.enable_cli=1
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1

ive changed this values in the php.ini but i still get the error
 
Last edited:

onryo

Cadet
Joined
May 7, 2015
Messages
8
now im getting this error any ideas?

The PHP OPcache is not properly configured. For better performance we recommend to use following settings in the php.ini:
opcache.enable=1
opcache.enable_cli=1
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1

ive changed this values in the php.ini but i still get the error

Gratz. Nice thing with using only stuff from the repos (like you just did) is that it is very easy to keep things updated. Just pkg upgrade.

I know exactly what that is. At the very bottom of your /usr/local/etc/php.ini file add this.

opcache.enable=1
opcache.enable_cli=1
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1

Also make sure that php56-opcache is installed.

Enjoy NextCloud 12 !
 

dureal99d

Contributor
Joined
Aug 3, 2017
Messages
156
Gratz. Nice thing with using only stuff from the repos (like you just did) is that it is very easy to keep things updated. Just pkg upgrade.

I know exactly what that is. At the very bottom of your /usr/local/etc/php.ini file add this.

opcache.enable=1
opcache.enable_cli=1
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1

Also make sure that php56-opcache is installed.

Enjoy NextCloud 12 !
outstanding!!!!!!! I shall do so once I get home
 

dureal99d

Contributor
Joined
Aug 3, 2017
Messages
156
Ok so i added the lines as instructed the php file and I installed php56 - opcache the good news is the message disappeared, the bad news is it has now been replaced with this.

  • You are accessing this site via HTTP. We strongly suggest you configure your server to require using HTTPS instead as described in our security tips.
  • No memory cache has been configured. To enhance your performance please configure a memcache if available
 
Last edited:

dureal99d

Contributor
Joined
Aug 3, 2017
Messages
156
things updated. Just pkg upgrade.
I just did an update to 12.03.
I originally could not due to a write permission error but i then realized im ok at linux itself and thier had to be a solution.
I ran the following command in my nextcloud jail;

chown -R www:www /usr/local/www/nextcloud

and like a glove. it updated with no issue to 12.03.

however the messages still maintain, any idea'?

  • You are accessing this site via HTTP. We strongly suggest you configure your server to require using HTTPS instead as described in our security tips.
  • No memory cache has been configured. To enhance your performance please configure a memcache if available
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
  • You are accessing this site via HTTP. We strongly suggest you configure your server to require using HTTPS instead as described in our security tips.
  • No memory cache has been configured. To enhance your performance please configure a memcache if available
Insignificant if you are accessing via your LAN and you don't have a lot of users.
 

onryo

Cadet
Joined
May 7, 2015
Messages
8
Perhaps, but id still like the fix.

Lets Encrypt is a free and good cert. I use it with everything including NextClould 12. Its not hard to setup. I am surprised that I have not seen any tutorials on how to set it up with NC 12 using nginx. Certbot is part of FreeBSD 11 so the cert will never expire. Its late but tomorrow or the day after Ill post a howto here. Just a few lines of code really. If you set it up right you can get a A+ security rating.

35kk2ex.png
 
Last edited:

dureal99d

Contributor
Joined
Aug 3, 2017
Messages
156
Lets Encrypt is a free and good cert. I use it with everything including NextClould 12. Its not hard to setup. I am surprised that I have not seen any tutorials on how to set it up with NC 12 using nginx. Certbot is part of FreeBSD 11 so the cert will never expire. Its late but tomorrow or the day after Ill post a howto here. Just a few lines of code really. If you set it up right you can get a A+ security rating.

35kk2ex.png
Awesome!!!!!!!
 

dureal99d

Contributor
Joined
Aug 3, 2017
Messages
156
Lets Encrypt is a free and good cert. I use it with everything including NextClould 12. Its not hard to setup. I am surprised that I have not seen any tutorials on how to set it up with NC 12 using nginx. Certbot is part of FreeBSD 11 so the cert will never expire. Its late but tomorrow or the day after Ill post a howto here. Just a few lines of code really. If you set it up right you can get a A+ security rating.

35kk2ex.png
Hello; wondering if you are still going to post a tutorial on how to secure the site? Thanks in advance!!!
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Hello; wondering if you are still going to post a tutorial on how to secure the site? Thanks in advance!!!
There are MANY tutorials out on the web explaining what you need to do to properly set up SSL on your website. Google is your friend.
 

dureal99d

Contributor
Joined
Aug 3, 2017
Messages
156
I do understand that, however, there are non that are descriptive as he puts it. Most of the people that put out these tutorials are very tunnel sighted and dont explain thing sin a way that those that dont know or newbies need to understand what they are talking about and as a result the newbies get left in the dust. i haven't found 1 tutorial that explains thing from beginning to end, they explain things as if you already know because they know. i have done tutorials before and i consider how i would view things if i didn't know as onryo did and that is why i was able to get this working. oh and by the way ive been googling for hours upon hours trying to find one sense able tutorial about this software as relates to ssl and not 1 has been found
 

dureal99d

Contributor
Joined
Aug 3, 2017
Messages
156
There are MANY tutorials out on the web explaining what you need to do to properly set up SSL on your website. Google is your friend.
With all due respect care to assist at anytime with some actual information that helps. im not asking you to do it for me but rather assist and telling me google it does nothing my friend.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Status
Not open for further replies.
Top