I have installed:
Centos 7
Nextcloud 15.0.0.0
php 7.0
mysql 5.7
apache 2.4.6
When you first install NextŃloud, the browser shows an error:
Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.
Here are my installation steps, on a clean, freshly installed Centos7, please tell me what am I doing wrong?
yum update -y
Step 1: Creating MySQL Database
sudo yum localinstall https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm
sudo yum install mysql-community-server
Starting MySQL
sudo systemctl enable mysqld
sudo systemctl start mysqld
sudo systemctl status mysqld
sudo grep âtemporary passwordâ /var/log/mysqld.log
sudo mysql_secure_installation
Enter
XXXXXXX
No
Yes
Yes
Yes
Yes
mysql -u root -p
Select @@GLOBAL.transaction_isolation, @@session.transaction_isolation;
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
SET GLOBAL TRANSACTION ISOLATION LEVEL READ COMMITTED;
Select @@GLOBAL.transaction_isolation, @@session.transaction_isolation;
CREATE DATABASE nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
CREATE USER ânextclouduserâ@âlocalhostâ IDENTIFIED BY âXXXXXXXâ;
GRANT ALL PRIVILEGES ON nextcloud.* TO ânextclouduserâ@âlocalhostâ;
FLUSH PRIVILEGES;
CREATE USER âadminâ@â%â IDENTIFIED BY âXXXXXXXâ;
GRANT ALL PRIVILEGES ON . TO âadminâ@â%â;
FLUSH PRIVILEGES;
SHOW DATABASES;
SELECT DISTINCT User FROM mysql.user;
SELECT user,authentication_string,plugin,host FROM mysql.user;
SELECT version();
EXIT;
Step 2: Installing PHP and Apache
yum repolist all
yum --enablerepo="base" -y install yum-utils
yum-config-manager --enable base centosplus contrib extras updates
sudo yum install epel-release
sudo yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
sudo yum-config-manager --enable remi-php70
sudo yum install httpd php php-gd php-json php-mysql php-curl php-mbstring php-intl php-mcrypt php-imagick php-xml php-zip -y
Step 3: Configuring firewall
sudo firewall-cmd --permanent --zone=public --add-service=http
sudo firewall-cmd --reload
sudo firewall-cmd --state
firewall-cmd --get-default-zone
firewall-cmd --get-active-zones
sudo firewall-cmd --list-all
Step 4: Downloading Nextcloud
yum install wget -y
yum install unzip -y
wget -P /tmp https://download.nextcloud.com/server/releases/nextcloud-15.0.0.zip
sudo unzip /tmp/nextcloud-15.0.0.zip -d /var/www
sudo chown -R apache: /var/www/nextcloud
ls /var/www/
ls /var/www/nextcloud
Step 5: Configure Apache
yum install nano -y
sudo nano /etc/httpd/conf.d/nextcloud.conf
Alias /nextcloud â/var/www/nextcloud/â
<VirtualHost *:80>
DocumentRoot /var/www/nextcloud/
ServerName own3.domen.com
<Directory /var/www/nextcloud/>
Options +FollowSymlinks
AllowOverride All
Dav off
SetEnv HOME /var/www/nextcloud
SetEnv HTTP_HOME /var/www/nextcloud
sudo systemctl restart httpd
sudo systemctl status httpd
nano /etc/httpd/conf/httpd.conf
Change - DocumentRoot â/var/www/nextcloudâ to DocumentRoot â/var/www/nextcloudâ
Change - <Directory â/var/www/htmlâ> to <Directory â/var/www/nextcloudâ>
sudo systemctl enable httpd
sudo systemctl restart httpd
sudo systemctl status httpd
service httpd configtest
yum install bind-utils -y
nslookup own3.domen.com
sudo netstat -plunt | grep httpd
Step 5.1: Configure Apache
yum install policycoreutils-python -y
semanage fcontext -a -t httpd_sys_rw_content_t â/var/www/nextcloud/data(/.)?â
semanage fcontext -a -t httpd_sys_rw_content_t '/var/www/nextcloud/config(/.)?â
semanage fcontext -a -t httpd_sys_rw_content_t â/var/www/nextcloud/apps(/.)?â
semanage fcontext -a -t httpd_sys_rw_content_t â/var/www/nextcloud/.htaccessâ
semanage fcontext -a -t httpd_sys_rw_content_t â/var/www/nextcloud/.user.iniâ
semanage fcontext -a -t httpd_sys_rw_content_t '/var/www/nextcloud/3rdparty/aws/aws-sdk-php/src/data/logs(/.)?â
restorecon -R â/var/www/nextcloud/â
setsebool -P httpd_can_network_connect on
sudo systemctl restart httpd
sudo systemctl status httpd
nano /etc/php.ini
Change memory_limit = 512
yum install php-process -y
cd /var/www/nextcloud
sudo -u apache php occ maintenance:install --database âmysqlâ --database-name ânextcloudâ --database-user ânextclouduserâ --database-pass âXXXXXXXâ --admin-user âadminâ --admin-pass âXXXXXXXXâ
No errors occurred during installation.
File log - /var/log/httpd/own4-error_log
ХвОдка
[Sun Jan 20 16:42:03.053404 2019] [:error] [pid 24980] [client 192.168.1.15:59033] PHP Warning: fileperms(): stat failed for /var/www/nextcloud/data/nextcloud.log in /var/www/nextcloud/lib/private/Log/File.php on line 140, referer: http://192.168.69.24/nextcloud/
[Sun Jan 20 16:42:03.053471 2019] [:error] [pid 24980] [client 192.168.1.15:59033] {âreqIdâ:âXER6qnBikFuObP3u9VReUAAAAAQâ,âlevelâ:3,âtimeâ:â2019-01-20T13:42:03+00:00â,âremoteAddrâ:â192.168.1.15â,âuserâ:"â",âappâ:âPHPâ,âmethodâ:âGETâ,âurlâ:"\/nextcloud\/index.php\/csrftoken",âmessageâ:âfileperms(): stat failed for \/var\/www\/nextcloud\/data\/nextcloud.log at \/var\/www\/nextcloud\/lib\/private\/Log\/File.php#140â,âuserAgentâ:âMozilla\/4.0 (compatible; MSIE 7.0; Windows NT 6.3; WOW64; Trident\/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729)â,âversionâ:â15.0.0.10â}, referer: http://192.168.69.24/nextcloud/
{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/TemplateLayout.php",âlineâ:154,âfunctionâ:âfindJavascriptFilesâ,âclassâ:âOC\\TemplateLayoutâ,âtypeâ:"::",âargsâ:[[âvendor\/coreâ,âjs\/merged-template-prependâ,âsearch\/js\/searchâ,âcore\/l10n\/ruâ,âjs\/backgroundjobsâ,âsearch\/l10n\/ruâ,âsearch\/js\/searchproviderâ,âjs\/jquery-ui-fixesâ,âjs\/files\/fileinfoâ,âjs\/files\/clientâ,âjs\/contactsmenuâ,âjs\/contactsmenu_templatesâ]]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/legacy\/template.php",âlineâ:211,âfunctionâ:"__construct",âclassâ:âOC\\TemplateLayoutâ,âtypeâ:"->",âargsâ:[âguestâ,""]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/Template\/Base.php",âlineâ:132,âfunctionâ:âfetchPageâ,âclassâ:âOC_Templateâ,âtypeâ:"->",âargsâ:[]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/legacy\/template.php",âlineâ:301,âfunctionâ:âprintPageâ,âclassâ:âOC\\Template\\Baseâ,âtypeâ:"->",âargsâ:[]},{âfileâ:"\/var\/www\/nextcloud\/lib\/base.php",âlineâ:690,âfunctionâ:âprintGuestPageâ,âclassâ:âOC_Templateâ,âtypeâ:"::",âargsâ:["",âerrorâ,{âerrorsâ:[{âerrorâ:âYour data directory is not writableâ,âhintâ:"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043e\u0431\u044b\u0447\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0432 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u043f\u0440\u0430\u0432\u043e \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c \u0432 \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433. \u0421\u043c\u043e\u0442\u0440\u0438\u0442\u0435 https:\/\/docs.nextcloud.com\/server\/14\/go.php?to=admin-dir_permissions."}]}]},{âfileâ:"\/var\/www\/nextcloud\/lib\/base.php",âlineâ:1068,âfunctionâ:âinitâ,âclassâ:âOCâ,âtypeâ:"::",âargsâ:[]},{âfileâ:"\/var\/www\/nextcloud\/index.php",âlineâ:40,âargsâ:["\/var\/www\/nextcloud\/lib\/base.php"],âfunctionâ:ârequire_onceâ}],âFileâ:"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/Node.php",âLineâ:97,âCustomMessageâ:"â"},âuserAgentâ:âMozilla\/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/71.0.3578.98 Safari\/537.36â,âversionâ:â15.0.0.10â}, referer: http://own4.swgroup.ru/
[Sun Jan 20 16:42:46.306573 2019] [:error] [pid 24978] [client 192.168.1.15:59086] PHP Warning: fileperms(): stat failed for /var/www/nextcloud/data/nextcloud.log in /var/www/nextcloud/lib/private/Log/File.php on line 140, referer: http://own4.swgroup.ru/
[Sun Jan 20 16:42:46.306603 2019] [:error] [pid 24978] [client 192.168.1.15:59086] {âreqIdâ:âXER61v@NV7BMSjcxPXZHkwAAAAIâ,âlevelâ:3,âtimeâ:â2019-01-20T13:42:46+00:00â,âremoteAddrâ:â192.168.1.15â,âuserâ:"â",âappâ:âPHPâ,âmethodâ:âGETâ,âurlâ:"\/index.php",âmessageâ:âfileperms(): stat failed for \/var\/www\/nextcloud\/data\/nextcloud.log at \/var\/www\/nextcloud\/lib\/private\/Log\/File.php#140â,âuserAgentâ:âMozilla\/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/71.0.3578.98 Safari\/537.36â,âversionâ:â15.0.0.10â}, referer: http://own4.swgroup.ru/
[Sun Jan 20 16:42:46.306634 2019] [:error] [pid 24978] [client 192.168.1.15:59086] {âreqIdâ:âXER61v@NV7BMSjcxPXZHkwAAAAIâ,âlevelâ:3,âtimeâ:â2019-01-20T13:42:46+00:00â,âremoteAddrâ:â192.168.1.15â,âuserâ:"â",âappâ:âcoreâ,âmethodâ:âGETâ,âurlâ:"\/index.php",âmessageâ:{âExceptionâ:âOCP\\Files\\NotFoundExceptionâ,âMessageâ:"",âCodeâ:0,âTraceâ:[{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/Node.php",âlineâ:216,âfunctionâ:âgetFileInfoâ,âclassâ:âOC\\Files\\Node\\Nodeâ,âtypeâ:"->",âargsâ:[]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/Node.php",âlineâ:117,âfunctionâ:âgetPermissionsâ,âclassâ:âOC\\Files\\Node\\Nodeâ,âtypeâ:"->",âargsâ:[]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/Folder.php",âlineâ:155,âfunctionâ:âcheckPermissionsâ,âclassâ:âOC\\Files\\Node\\Nodeâ,âtypeâ:"->",âargsâ:[4]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/Files\/AppData\/AppData.php",âlineâ:114,âfunctionâ:ânewFolderâ,âclassâ:âOC\\Files\\Node\\Folderâ,âtypeâ:"->",âargsâ:[âcoreâ]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/Template\/JSCombiner.php",âlineâ:97,âfunctionâ:ânewFolderâ,âclassâ:âOC\\Files\\AppData\\AppDataâ,âtypeâ:"->",âargsâ:[âcoreâ]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/Template\/JSResourceLocator.php",âlineâ:114,âfunctionâ:âprocessâ,âclassâ:âOC\\Template\\JSCombinerâ,âtypeâ:"->",âargsâ:["\/var\/www\/nextcloud",âcore\/js\/merged-template-prepend.jsonâ,âcoreâ]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/Template\/JSResourceLocator.php",âlineâ:70,âfunctionâ:âcacheAndAppendCombineJsonIfExistâ,âclassâ:âOC\\Template\\JSResourceLocatorâ,âtypeâ:"->",âargsâ:["\/var\/www\/nextcloud",âcore\/js\/merged-template-prepend.jsonâ]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/Template\/ResourceLocator.php",âlineâ:78,âfunctionâ:âdoFindâ,âclassâ:âOC\\Template\\JSResourceLocatorâ,âtypeâ:"->",âargsâ:[âjs\/merged-template-prependâ]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/TemplateLayout.php",âlineâ:315,âfunctionâ:âfindâ,âclassâ:âOC\\Template\\ResourceLocatorâ,âtypeâ:"->",âargsâ:[[âvendor\/coreâ,âjs\/merged-template-prependâ,âsearch\/js\/searchâ,âcore\/l10n\/ruâ,âjs\/backgroundjobsâ,âsearch\/l10n\/ruâ,âsearch\/js\/searchproviderâ,âjs\/jquery-ui-fixesâ,âjs\/files\/fileinfoâ,âjs\/files\/clientâ,âjs\/contactsmenuâ,âjs\/contactsmenu_templatesâ]]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/TemplateLayout.php",âlineâ:154,âfunctionâ:âfindJavascriptFilesâ,âclassâ:âOC\\TemplateLayoutâ,âtypeâ:"::",âargsâ:[[âvendor\/coreâ,âjs\/merged-template-prependâ,âsearch\/js\/searchâ,âcore\/l10n\/ruâ,âjs\/backgroundjobsâ,âsearch\/l10n\/ruâ,âsearch\/js\/searchproviderâ,âjs\/jquery-ui-fixesâ,âjs\/files\/fileinfoâ,âjs\/files\/clientâ,âjs\/contactsmenuâ,âjs\/contactsmenu_templatesâ]]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/legacy\/template.php",âlineâ:211,âfunctionâ:"__construct",âclassâ:âOC\\TemplateLayoutâ,âtypeâ:"->",âargsâ:[âguestâ,""]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/Template\/Base.php",âlineâ:132,âfunctionâ:âfetchPageâ,âclassâ:âOC_Templateâ,âtypeâ:"->",âargsâ:[]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/legacy\/template.php",âlineâ:301,âfunctionâ:âprintPageâ,âclassâ:âOC\\Template\\Baseâ,âtypeâ:"->",âargsâ:[]},{âfileâ:"\/var\/www\/nextcloud\/lib\/base.php",âlineâ:690,âfunctionâ:âprintGuestPageâ,âclassâ:âOC_Templateâ,âtypeâ:"::",âargsâ:["",âerrorâ,{âerrorsâ:[{âerrorâ:âYour data directory is not writableâ,âhintâ:"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043e\u0431\u044b\u0447\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0432 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u043f\u0440\u0430\u0432\u043e \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c \u0432 \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433. \u0421\u043c\u043e\u0442\u0440\u0438\u0442\u0435 https:\/\/docs.nextcloud.com\/server\/14\/go.php?to=admin-dir_permissions."}]}]},{âfileâ:"\/var\/www\/nextcloud\/lib\/base.php",âlineâ:1068,âfunctionâ:âinitâ,âclassâ:âOCâ,âtypeâ:"::",âargsâ:[]},{âfileâ:"\/var\/www\/nextcloud\/index.php",âlineâ:40,âargsâ:["\/var\/www\/nextcloud\/lib\/base.php"],âfunctionâ:ârequire_onceâ}],âFileâ:"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/Node.php",âLineâ:97,âCustomMessageâ:"â"},âuserAgentâ:âMozilla\/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/71.0.3578.98 Safari\/537.36â,âversionâ:â15.0.0.10â}, referer: http://own4.swgroup.ru/
[Sun Jan 20 16:42:46.307144 2019] [:error] [pid 24978] [client 192.168.1.15:59086] PHP Warning: fileperms(): stat failed for /var/www/nextcloud/data/nextcloud.log in /var/www/nextcloud/lib/private/Log/File.php on line 140, referer: http://own4.swgroup.ru/
[Sun Jan 20 16:42:46.307172 2019] [:error] [pid 24978] [client 192.168.1.15:59086] {âreqIdâ:âXER61v@NV7BMSjcxPXZHkwAAAAIâ,âlevelâ:3,âtimeâ:â2019-01-20T13:42:46+00:00â,âremoteAddrâ:â192.168.1.15â,âuserâ:"â",âappâ:âPHPâ,âmethodâ:âGETâ,âurlâ:"\/index.php",âmessageâ:âfileperms(): stat failed for \/var\/www\/nextcloud\/data\/nextcloud.log at \/var\/www\/nextcloud\/lib\/private\/Log\/File.php#140â,âuserAgentâ:âMozilla\/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/71.0.3578.98 Safari\/537.36â,âversionâ:â15.0.0.10â}, referer: http://own4.swgroup.ru/
[Sun Jan 20 16:42:46.307202 2019] [:error] [pid 24978] [client 192.168.1.15:59086] {âreqIdâ:âXER61v@NV7BMSjcxPXZHkwAAAAIâ,âlevelâ:3,âtimeâ:â2019-01-20T13:42:46+00:00â,âremoteAddrâ:â192.168.1.15â,âuserâ:"â",âappâ:âcoreâ,âmethodâ:âGETâ,âurlâ:"\/index.php",âmessageâ:{âExceptionâ:âOCP\\Files\\NotFoundExceptionâ,âMessageâ:"",âCodeâ:0,âTraceâ:[{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/Node.php",âlineâ:216,âfunctionâ:âgetFileInfoâ,âclassâ:âOC\\Files\\Node\\Nodeâ,âtypeâ:"->",âargsâ:[]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/Node.php",âlineâ:117,âfunctionâ:âgetPermissionsâ,âclassâ:âOC\\Files\\Node\\Nodeâ,âtypeâ:"->",âargsâ:[]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/Folder.php",âlineâ:155,âfunctionâ:âcheckPermissionsâ,âclassâ:âOC\\Files\\Node\\Nodeâ,âtypeâ:"->",âargsâ:[4]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/Files\/AppData\/AppData.php",âlineâ:114,âfunctionâ:ânewFolderâ,âclassâ:âOC\\Files\\Node\\Folderâ,âtypeâ:"->",âargsâ:[âcoreâ]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/Template\/JSCombiner.php",âlineâ:97,âfunctionâ:ânewFolderâ,âclassâ:âOC\\Files\\AppData\\AppDataâ,âtypeâ:"->",âargsâ:[âcoreâ]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/Template\/JSResourceLocator.php",âlineâ:114,âfunctionâ:âprocessâ,âclassâ:âOC\\Template\\JSCombinerâ,âtypeâ:"->",âargsâ:["\/var\/www\/nextcloud",âcore\/js\/merged-template-prepend.jsonâ,âcoreâ]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/Template\/JSResourceLocator.php",âlineâ:70,âfunctionâ:âcacheAndAppendCombineJsonIfExistâ,âclassâ:âOC\\Template\\JSResourceLocatorâ,âtypeâ:"->",âargsâ:["\/var\/www\/nextcloud",âcore\/js\/merged-template-prepend.jsonâ]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/Template\/ResourceLocator.php",âlineâ:78,âfunctionâ:âdoFindâ,âclassâ:âOC\\Template\\JSResourceLocatorâ,âtypeâ:"->",âargsâ:[âjs\/merged-template-prependâ]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/TemplateLayout.php",âlineâ:315,âfunctionâ:âfindâ,âclassâ:âOC\\Template\\ResourceLocatorâ,âtypeâ:"->",âargsâ:[[âvendor\/coreâ,âjs\/merged-template-prependâ,âsearch\/js\/searchâ,âcore\/l10n\/ruâ,âjs\/backgroundjobsâ,âsearch\/l10n\/ruâ,âsearch\/js\/searchproviderâ,âjs\/jquery-ui-fixesâ,âjs\/files\/fileinfoâ,âjs\/files\/clientâ,âjs\/contactsmenuâ,âjs\/contactsmenu_templatesâ,âcore\/js\/merged-share-backendâ]]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/TemplateLayout.php",âlineâ:154,âfunctionâ:âfindJavascriptFilesâ,âclassâ:âOC\\TemplateLayoutâ,âtypeâ:"::",âargsâ:[[âvendor\/coreâ,âjs\/merged-template-prependâ,âsearch\/js\/searchâ,âcore\/l10n\/ruâ,âjs\/backgroundjobsâ,âsearch\/l10n\/ruâ,âsearch\/js\/searchproviderâ,âjs\/jquery-ui-fixesâ,âjs\/files\/fileinfoâ,âjs\/files\/clientâ,âjs\/contactsmenuâ,âjs\/contactsmenu_templatesâ,âcore\/js\/merged-share-backendâ]]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/legacy\/template.php",âlineâ:211,âfunctionâ:"__construct",âclassâ:âOC\\TemplateLayoutâ,âtypeâ:"->",âargsâ:[âerrorâ,""]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/Template\/Base.php",âlineâ:132,âfunctionâ:âfetchPageâ,âclassâ:âOC_Templateâ,âtypeâ:"->",âargsâ:[]},{âfileâ:"\/var\/www\/nextcloud\/lib\/private\/legacy\/template.php",âlineâ:360,âfunctionâ:âprintPageâ,âclassâ:âOC\\Template\\Baseâ,âtypeâ:"->",âargsâ:[]},{âfileâ:"\/var\/www\/nextcloud\/index.php",âlineâ:69,âfunctionâ:âprintExceptionErrorPageâ,âclassâ:âOC_Templateâ,âtypeâ:"::",âargsâ:[{âclassâ:âOCP\\Files\\NotFoundExceptionâ},500]}],âFileâ:"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/Node.php",âLineâ:97,âCustomMessageâ:"â"},âuserAgentâ:âMozilla\/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/71.0.3578.98 Safari\/537.36â,âversionâ:â15.0.0.10â}, referer: http://own4.swgroup.ru/
[Sun Jan 20 16:42:46.307589 2019] [:error] [pid 24978] [client 192.168.1.15:59086] PHP Warning: fileperms(): stat failed for /var/www/nextcloud/data/nextcloud.log in /var/www/nextcloud/lib/private/Log/File.php on line 140, referer: http://own4.swgroup.ru/
[Sun Jan 20 16:42:46.307610 2019] [:error] [pid 24978] [client 192.168.1.15:59086] {âreqIdâ:âXER61v@NV7BMSjcxPXZHkwAAAAIâ,âlevelâ:3,âtimeâ:â2019-01-20T13:42:46+00:00â,âremoteAddrâ:â192.168.1.15â,âuserâ:"â",âappâ:âPHPâ,âmethodâ:âGETâ,âurlâ:"\/index.php",âmessageâ:âfileperms(): stat failed for \/var\/www\/nextcloud\/data\/nextcloud.log at \/var\/www\/nextcloud\/lib\/private\/Log\/File.php#140â,âuserAgentâ:âMozilla\/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/71.0.3578.98 Safari\/537.36â,âversionâ:â15.0.0.10â}, referer: http://own4.swgroup.ru/
[Sun Jan 20 16:42:46.307639 2019] [:error] [pid 24978] [client 192.168.1.15:59086] {âreqIdâ:âXER61v@NV7BMSjcxPXZHkwAAAAIâ,âlevelâ:3,âtimeâ:â2019-01-20T13:42:46+00:00â,âremoteAddrâ:â192.168.1.15â,âuserâ:"â",âappâ:âPHPâ,âmethodâ:âGETâ,âurlâ:"\/index.php",âmessageâ:âchmod(): No such file or directory at \/var\/www\/nextcloud\/lib\/private\/Log\/File.php#141â,âuserAgentâ:âMozilla\/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/71.0.3578.98 Safari\/537.36â,âversionâ:â15.0.0.10â}, referer: http://own4.swgroup.ru/
file log - /var/log/httpd/own4-access_log
ХвОдка
192.168.1.15 - - [20/Jan/2019:16:42:02 +0300] âGET /nextcloud/index.php/csrftoken HTTP/1.1â 500 289
192.168.1.15 - - [20/Jan/2019:16:42:41 +0300] âGET /index.php HTTP/1.1â 500 289
192.168.1.15 - - [20/Jan/2019:16:42:46 +0300] âGET /index.php HTTP/1.1â 500 289