Installing Nextcloud on Ubuntu 16.04 LTS with Redis, APCu, SSL & Apache


(NNextcloudde) #42

Hello,
ok I should have understood.
One question: the apache2 log I find it in / var / log / apache2, right? Because what is there is very long … I would not go wrong! While that of Nextcloud I could not find it …
Forgive me and be patient with me! :blush:


(Jason Bayton) #43

Sure,

/var/log/apache2/error.log
/path/to/your/nextcloud/folder/data/nextcloud.log


(NNextcloudde) #44

Thank you!
Once again I apologize: I was not able to paste all the log here … I’ll send you a link …
I did well? See something strange?
apache2 log
Nextcloud log


(Jason Bayton) #45

The Apache log is called access. I need error please.


(NNextcloudde) #46

Sorry… :blush::blush::blush:
Error log


(Jason Bayton) #47

OK thanks, do you have the one that doesn’t end in a number?


(NNextcloudde) #48

Of course, here it is:

Error log


(Jason Bayton) #49

Ok so I see a couple of errors but nothing that immediately jumps at me. Can you restart Apache, replicate the issue a few times and then re-submit the error.log please?


(NNextcloudde) #50

Good morning Jason!
Thank you so much for this first glance.
Of course I will, I hope to succeed today.
Thanks again and have a nice day!


(NNextcloudde) #51

Good morning Jason :slight_smile:
So I tried again and here is the new error log:
error log new
One thing: before I could access my Nextcloud from the web while not being able to make any changes, today, after configuring redis, I could not even see the initial screen of Nextcloud, while not giving me any error …


(Jason Bayton) #52

Sorry for the delay, I didn’t see a notification you’d responded!
I checked your error, and it all seems to point back to Redis erroring. Are you able to see if it’s running?

sudo service redis status

Also validate you followed that part of my guide correctly please?

Not being able to change things (files & folders?) sounds like a permissions issue. Who owns your Nextcloud install directory?

sudo ls -l /var/www/html/...

And your data directory?

sudo ls -l /path/to/data/


(NNextcloudde) #53

Hi Jason,
no problem and thanks again for your patience! :slight_smile:
So yes, I followed your guide faithfully.

Irisultati of the commands you told me to do, I do not know how to show them: the fourm does not make me send posts with links … :frowning:


(Jason Bayton) #54

Sorry about that, I’ve adjusted your account to theoretically allow links.

You need command line access to your server, then you can run those commands.

sudo ls -l /var/www/html
sudo ls -l /var/www/html/nextcloud

sudo ls -l /var/www/html/nextcloud/data/

That’ll allow me to check the permissions on your install.