SynoCommunity / spksrc

Cross compilation framework to create native packages for the Synology's NAS
https://synocommunity.com
Other
3.04k stars 1.23k forks source link

tt-rss fails to start after update #4231

Closed przemek808 closed 3 years ago

przemek808 commented 4 years ago

For new Package Requests, see the guidelines

Setup

Package Name: tt-rss Package Version: 20200829-12

NAS Model: DS916+ NAS Architecture: x86_64 (INTEL Pentium N3710) DSM version: DSM 6.2.3-25426 Update 2

Expected behavior

should start and run :)

Actual behavior

Logged in DSM I click on start. The screen shows up which shows that the app is starting. Once this window disappears the button shows again "auführen" (german for launch)

Steps to reproduce

1. update your tt-rss to 20200829-12 via package manager

Package log

Check Package Center or /usr/local/{package}/var/

Insert the package log here
``` there is just a tt-rss.pid
#### Other logs
_E.g. `/var/log/messages` or `/var/log/synopkg.log`_

2020-10-20T12:51:06+02:00 JAS synoscgi_SYNO.Core.Package.Installation_1_install[19340]: resource_api.cpp:190 Acquire php70 for tt-rss when 0x0002 (done) 2020-10-20T12:51:06+02:00 JAS synoscgi_SYNO.Core.Package.Installation_1_install[19340]: resource_api.cpp:190 Acquire php56 for tt-rss when 0x0002 (done) 2020-10-20T12:51:06+02:00 JAS synoscgi_SYNO.Core.Package.Installation_1_install[19340]: resource_api.cpp:190 Acquire php70 for tt-rss when 0x0002 (done) 2020-10-20T12:51:06+02:00 JAS synoscgi_SYNO.Core.Package.Installation_1_install[19340]: resource_api.cpp:190 Acquire php56 for tt-rss when 0x0002 (done) 2020-10-20T18:04:46+02:00 JAS synoscgi_SYNO.Core.Package.Control_1_start[17269]: resource_api.cpp:289 Release php56 for tt-rss when 0x0008 (done)

2020/08/17 02:10:51 stop tt-rss: begin to stop version 20160102-10 2020/08/17 02:10:52 stop tt-rss 20160102-10 Begin start-stop-status stop 2020/08/17 02:10:53 stop tt-rss 20160102-10 End start-stop-status stop ret=[0] 2020/08/17 02:10:53 stop tt-rss 20160102-10 Begin unload apparmor 2020/08/17 02:10:53 stop tt-rss 20160102-10 End unload apparmor ret=[0] 2020/08/17 02:10:53 stop tt-rss: stop version 20160102-10 successfully, result 0

ymartin59 commented 4 years ago

@smaarn May you please help about it?

smaarn commented 4 years ago

@przemek808 I believe there could be an issue with the multiple php versions interactions (that would be my bad actually). I'll try reproducing on my end (it would only need me installing PHP 7 and relaunching it so it should be fairly simple).

In the meantime, to confirm, could you please check the following log files (depending on your installation) and tell me if you see anything "out of the ordinary" around those timelines:

smaarn commented 4 years ago

Hello @przemek808 just tested on my end and it didn't seem to cause any issue (I mean the fact of having multiple php installations).

Would it be possible for you to launch the following command remotely (as root user) and put its output here:

sh -x /var/packages/tt-rss/scripts/start-stop-status start
smaarn commented 4 years ago

Digging a little more since there was no error reported in the start procedure we could need checking the automatic php installation detection.

Could you please tell us the output of the following command: sudo -u http /var/packages/tt-rss/target/bin/virtual-php --help

It should prompt you with the help of the php binary.

set -x

source "/usr/local/tt-rss/bin/php-settings.sh"
${php} -c "${php_configuration_file}" $(/usr/local/tt-rss/bin/php-options) /var/services/web/tt-rss/update.php

(Meanwhile I'll try to enhance the package to produce more logs to help us troubleshoot it without using commands)

przemek808 commented 4 years ago

Hello @smaarn, thanks for taking time to look into this issue. Here are the logs you asked for.

/var/log/httpd/apache22-error-log

2020-10-09T08:41:20+02:00 JAS [Fri Oct 09 08:41:20 2020] [error] [client 103.145.13.232] File does not exist: /var/services/web/HNAP1, referer: https://84.174.221.179/
2020-10-09T09:09:43+02:00 JAS [Fri Oct 09 09:09:43 2020] [error] [client 51.158.78.179] File does not exist: /var/services/web/59bef869813b4cd422329e74b9b281719c37e8dcff199366a315ff2f233d5fc76bb7c222270395cd63bd9ec64ed056424a270b2d3fe9d85ce0dd748468ad1d2bcdbd3c242a35ee9c4a92ac2ab91eecd8f21aacf8f099d8950072180f03b6d302
2020-10-09T10:18:40+02:00 JAS [Fri Oct 09 10:18:40 2020] [error] [client 77.247.108.119] File does not exist: /var/services/web/admin
2020-10-09T10:18:40+02:00 JAS [Fri Oct 09 10:18:40 2020] [error] [client 77.247.108.119] File does not exist: /var/services/web/admin
2020-10-09T10:18:41+02:00 JAS SYSTEM:   Last message 'Oct 09 10:18:40 2020' repeated 1 times, suppressed by syslog-ng on JAS
2020-10-09T10:18:41+02:00 JAS [Fri Oct 09 10:18:41 2020] [error] [client 77.247.108.119] File does not exist: /var/services/web/recordings
2020-10-09T10:18:41+02:00 JAS [Fri Oct 09 10:18:41 2020] [error] [client 77.247.108.119] File does not exist: /var/services/web/admin
2020-10-09T13:31:05+02:00 JAS [Fri Oct 09 13:31:05 2020] [error] [client 178.154.200.39] File does not exist: /var/services/web/robots.txt
2020-10-09T13:31:06+02:00 JAS [Fri Oct 09 13:31:06 2020] [error] [client 213.180.203.86] File does not exist: /var/services/web/robots.txt
2020-10-09T13:36:31+02:00 JAS [Fri Oct 09 13:36:31 2020] [error] [client 62.138.3.40] File does not exist: /var/services/web/robots.txt
2020-10-09T13:45:59+02:00 JAS [Fri Oct 09 13:45:59 2020] [error] [client 190.34.195.238] File does not exist: /var/services/web/admin
2020-10-09T15:18:43+02:00 JAS [Fri Oct 09 15:18:43 2020] [error] [client 5.8.10.202] File does not exist: /var/services/web/test
2020-10-09T15:42:43+02:00 JAS [Fri Oct 09 15:42:43 2020] [error] [client 64.68.236.225] File does not exist: /var/services/web/shell
2020-10-09T15:43:33+02:00 JAS [Fri Oct 09 15:43:33 2020] [error] [client 192.241.236.103] File does not exist: /var/services/web/manager
2020-10-09T16:11:13+02:00 JAS [Fri Oct 09 16:11:13 2020] [error] [client 1.68.247.74] File does not exist: /var/services/web/phpmyadmin
2020-10-09T16:52:08+02:00 JAS [Fri Oct 09 16:52:08 2020] [error] [client 192.241.235.57] File does not exist: /var/services/web/manager
2020-10-09T17:26:05+02:00 JAS [Fri Oct 09 17:26:05 2020] [error] [client 193.174.89.19] File does not exist: /var/services/web/connector.sds
2020-10-09T17:26:05+02:00 JAS [Fri Oct 09 17:26:05 2020] [error] [client 193.174.89.19] File does not exist: /var/services/web/gui
2020-10-09T19:03:44+02:00 JAS [Fri Oct 09 19:03:44 2020] [error] [client 208.100.26.230] File does not exist: /var/services/web/nmaplowercheck1602263044
2020-10-09T19:03:44+02:00 JAS [Fri Oct 09 19:03:44 2020] [error] [client 208.100.26.230] File does not exist: /var/services/web/evox
2020-10-09T19:03:45+02:00 JAS [Fri Oct 09 19:03:45 2020] [error] [client 208.100.26.230] File does not exist: /var/services/web/sdk
2020-10-09T19:03:45+02:00 JAS [Fri Oct 09 19:03:45 2020] [error] [client 208.100.26.230] File does not exist: /var/services/web/HNAP1
2020-10-09T20:43:03+02:00 JAS [Fri Oct 09 20:43:03 2020] [error] [client 193.27.228.27] File does not exist: /var/services/web/solr
2020-10-09T21:22:34+02:00 JAS [Fri Oct 09 21:22:34 2020] [error] [client 193.27.228.27] File does not exist: /var/services/web/index.php
2020-10-09T22:26:54+02:00 JAS [Fri Oct 09 22:26:54 2020] [error] [client 163.172.168.251] File does not exist: /var/services/web/c08bc936d42981f4e57fe8809f4f8bac03d2ab4ed4066754074caf19e0f976416ea0bf0a4b30e944711ce4d342c838a7174661b39b5fb012b4aff0fd01f30ea4dfd476a3ce150c161dea7546891f8be69762e52058219921c5ff55217dd77b7b
2020-10-10T00:20:49+02:00 JAS [Sat Oct 10 00:20:49 2020] [error] [client 193.27.228.27] File does not exist: /var/services/web/api
2020-10-10T01:05:17+02:00 JAS [Sat Oct 10 01:05:17 2020] [error] [client 175.24.133.179] File does not exist: /var/services/web/TP
2020-10-10T01:05:17+02:00 JAS [Sat Oct 10 01:05:17 2020] [error] [client 175.24.133.179] File does not exist: /var/services/web/TP
2020-10-10T01:05:18+02:00 JAS SYSTEM:   Last message 'Oct 10 01:05:17 2020' repeated 1 times, suppressed by syslog-ng on JAS
2020-10-10T01:05:18+02:00 JAS [Sat Oct 10 01:05:18 2020] [error] [client 175.24.133.179] File does not exist: /var/services/web/thinkphp
2020-10-10T01:05:18+02:00 JAS [Sat Oct 10 01:05:18 2020] [error] [client 175.24.133.179] File does not exist: /var/services/web/html
2020-10-10T01:05:19+02:00 JAS [Sat Oct 10 01:05:19 2020] [error] [client 175.24.133.179] File does not exist: /var/services/web/public
2020-10-10T01:05:19+02:00 JAS [Sat Oct 10 01:05:19 2020] [error] [client 175.24.133.179] File does not exist: /var/services/web/TP
2020-10-10T01:05:20+02:00 JAS [Sat Oct 10 01:05:20 2020] [error] [client 175.24.133.179] File does not exist: /var/services/web/elrekt.php
2020-10-10T01:05:20+02:00 JAS [Sat Oct 10 01:05:20 2020] [error] [client 175.24.133.179] File does not exist: /var/services/web/index.php
2020-10-10T01:24:03+02:00 JAS [Sat Oct 10 01:24:03 2020] [error] [client 192.241.238.225] File does not exist: /var/services/web/login
2020-10-10T05:46:55+02:00 JAS [Sat Oct 10 05:46:55 2020] [error] [client 190.34.195.238] File does not exist: /var/services/web/admin
2020-10-10T09:13:26+02:00 JAS [Sat Oct 10 09:13:26 2020] [error] [client 185.142.236.40] File does not exist: /var/services/web/robots.txt
2020-10-10T09:13:28+02:00 JAS [Sat Oct 10 09:13:28 2020] [error] [client 185.142.236.40] File does not exist: /var/services/web/sitemap.xml
2020-10-10T09:18:45+02:00 JAS [Sat Oct 10 09:18:45 2020] [error] [client 212.47.244.68] File does not exist: /var/services/web/606079b2af7ca7d3b78e747597cd4f7b8c4becacbd24e9387b8fa4be1039fee1bb7c3e72b98675c0a861373f647b9e907feede115edcd700db97ffdc719ede84f024705683b18dd427372e50cbf12bc0e582fecd9a224a3c583c94ee5453c260
2020-10-10T10:36:09+02:00 JAS [Sat Oct 10 10:36:09 2020] [error] [client 193.27.228.27] File does not exist: /var/services/web/webtools
2020-10-10T10:46:26+02:00 JAS [Sat Oct 10 10:46:26 2020] [error] [client 193.27.228.27] File does not exist: /var/services/web/solr
2020-10-10T11:18:03+02:00 JAS [Sat Oct 10 11:18:03 2020] [error] [client 193.27.228.27] File does not exist: /var/services/web/index.php
2020-10-10T11:18:40+02:00 JAS [Sat Oct 10 11:18:40 2020] [error] [client 192.241.238.206] File does not exist: /var/services/web/hudson
2020-10-10T13:46:18+02:00 JAS [Sat Oct 10 13:46:18 2020] [error] [client 193.27.228.27] File does not exist: /var/services/web/api
2020-10-10T13:50:41+02:00 JAS [Sat Oct 10 13:50:41 2020] [error] [client 190.34.195.238] File does not exist: /var/services/web/admin
2020-10-10T14:57:08+02:00 JAS [Sat Oct 10 14:57:08 2020] [error] [client 77.247.108.119] File does not exist: /var/services/web/admin

/var/log/php56-fpm.log

2019-11-30T01:41:27+01:00 JAS php56-fpm[15824]: [WARNING] [pool www] server reached pm.max_children setting (20), consider raising it
2019-11-30T01:43:20+01:00 JAS php56-fpm[15824]: [WARNING] [pool www] server reached pm.max_children setting (20), consider raising it
2019-12-03T18:46:19+01:00 JAS php56-fpm[15824]: [WARNING] [pool www] server reached pm.max_children setting (20), consider raising it
2019-12-03T18:48:53+01:00 JAS php56-fpm[15824]: [WARNING] [pool www] server reached pm.max_children setting (20), consider raising it
2019-12-03T18:49:27+01:00 JAS php56-fpm[15824]: [WARNING] [pool www] server reached pm.max_children setting (20), consider raising it
2019-12-15T02:03:47+01:00 JAS php56-fpm[15824]: [WARNING] [pool www] server reached pm.max_children setting (20), consider raising it
2019-12-15T02:05:31+01:00 JAS php56-fpm[15824]: [WARNING] [pool www] server reached pm.max_children setting (20), consider raising it
2019-12-15T02:06:44+01:00 JAS php56-fpm[15824]: [WARNING] [pool www] server reached pm.max_children setting (20), consider raising it
2019-12-15T02:07:48+01:00 JAS php56-fpm[15824]: [WARNING] [pool www] server reached pm.max_children setting (20), consider raising it`

/var/log/php70-fpm.log

`2019-01-15T13:56:42+01:00 JAS php70-fpm[15413]: [WARNING] [pool www] child 3947 exited on signal 15 (SIGTERM) after 41.173471 seconds from start
2019-01-15T13:56:42+01:00 JAS php70-fpm[15413]: [WARNING] [pool www] child 3946 exited on signal 15 (SIGTERM) after 41.179305 seconds from start`

sh -x /var/packages/tt-rss/scripts/start-stop-status start `++ php=php73 [20/102]+++ /usr/local/tt-rss/bin/guess-php-configuration-file php73 ```` ++ php_configuration_file=/usr/local/etc/php73/php.ini + '[' '!' -z php73-fpm ']' ++ regenerate_htaccess php73-fpm ++ local php_fpm=php73-fpm ++ '[' '!' -f /var/services/web/tt-rss/.htaccess ']' ++ local temp_file ++ local section +++ mktemp --suffix=.htaccess tt-rss.XXXXX ++ temp_file=tt-rss.HArSz.htaccess ++ section=($(grep -n "${HT_ACCESS_SECTION_DELIMITER}" "${HT_ACCESS_FILE}" | cut -f 1 -d ':')) +++ grep -n '#Synology PHP' /var/services/web/tt-rss/.htaccess +++ cut -f 1 -d : ++ '[' 0 -ne 0 ']' ++ '[' 2 == 2 ']' ++ local header_end ++ local trailer_start +++ expr 1 - 1 ++ header_end=0 +++ expr 6 + 1 ++ trailer_start=7 ++ head -n 0 /var/services/web/tt-rss/.htaccess +++ compute_generated_htaccess_section php73-fpm +++ local php_fpm=php73-fpm +++ echo '#Synology PHP AddHandler default-handler .htm .html .shtml AddHandler php-fastcgi .php AddType text/html .php Action php-fastcgi /php73-fpm-handler.fcgi

Synology PHP'

++ echo '#Synology PHP AddHandler default-handler .htm .html .shtml AddHandler php-fastcgi .php AddType text/html .php Action php-fastcgi /php73-fpm-handler.fcgi

Synology PHP'

++ tail -n +7 /var/services/web/tt-rss/.htaccess ++ cat tt-rss.HArSz.htaccess ++ rm tt-rss.HArSz.htaccess ++ return 0

set -x

source "/usr/local/tt-rss/bin/php-settings.sh" ${php} -c "${php_configuration_file}" $(/usr/local/tt-rss/bin/php-options) /var/services/web/tt-rss/update.php

`+ php73 -c /usr/local/etc/php73/php.ini -d extension=curl.so -d extension=gd.so -d extension=intl.so -d extension=mysql.so -d extension=mysqli.so -d extension=pdo_mysql.so -d extension=posix.so /var/services/web/tt-rss/update.php
PHP Warning:  PHP Startup: Unable to load dynamic library 'mysql.so' (tried: /usr/local/lib/php73/modules/mysql.so (/usr/local/lib/php73/modules/mysql.so: cannot open shared object file: No such file or directory), /usr/local/lib/php73/modules/mysql.so.so (/usr/local/lib/php73/modules/mysql.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Tiny Tiny RSS was unable to start properly. This usually means a misconfiguration or an incomplete upgrade.
Please fix errors indicated by the following messages:

 * Image cache is not writable (chmod -R 777 cache/images)
 * Upload cache is not writable (chmod -R 777 cache/upload)
 * Data export cache is not writable (chmod -R 777 cache/export)
 * ICONS_DIR defined in config.php is not writable (chmod -R 777 feed-icons).

 * LOCK_DIRECTORY defined in config.php is not writable (chmod -R 777 lock).

You might want to check tt-rss wiki or the forums for more information.
Please search the forums before creating new topic for your question.`
smaarn commented 4 years ago

Hi again @przemek808,

From what I see in the logs there are several issues which you faced:

  1. The php 7.3 packaging is not homogeneous to prior version (-> the php configuration path is invalid).
  2. The mysql extension is missing from that version (it turns out that it's actually not required -> will remove it)
  3. Tiny Tiny RSS upgrade procedure messed up rights on some files

I'll try fixing this in the associated PR and let you know as soon as I've validated that it does (at least) work on my side. Regarding php 7.3 it seems that fpm configuration is not loaded in the same manner (dammit). I'm checking this.

One question: are you using apache 2.4 or 2.2 ?

(It seems that the "automatic" way of configuring php applications which is supposed to work for PHP 5.6 and 7.0 no longer works with 7.3 ... I managed to have the daemon operational but the webapp is another topic :/ )

smaarn commented 4 years ago

@przemek808 from what I see php 7.3 support will not be as easy as I thought.

We have basically the following issues:

I'm going to release a fix for the rights issues (which prevent your installation from actually working) but, then, for the long run support of PHP 7.3+ I'll need to document the extensions which are needed to be enabled for the web app to work.

smaarn commented 4 years ago

Hello @przemek808 do you think you'd have time to check the version which can be downloaded here: https://github.com/SynoCommunity/spksrc/pull/4247/checks ?

You basically need to open the artifacts and unzip it, it contains a bunch tt-rss spk depending on your platform you pick the one you need.

What it should fix: startup procedure should now work (meaning the daemon would start)

What it doesn't fix yet: you need to manually enable required extensions when using PHP 7.3 profile.

I'll try to fix the automatic configuration for php 7.3 profile (after all I should be able to update the profile programmatically) but I cannot guarantee that I'll have time to have a deeper look at it until next week-end.

Thanks !

przemek808 commented 4 years ago

@smaarn , thanks for the detailed answer. I am using Apache 2.2. I also installed the package but it did the behavior. What logs do you need to see if something changed?

smaarn commented 4 years ago

I guess that rerunning the latest command (the one which actually performs the update) could help. I'll try adding explicit logs for this as well. Meanwhile any logs which would be under the /usr/local/tt-rss/var/logs could help as well. Could you please check that the web part does work ? (what's actually "startable" is the daemon process which performs the updates)

przemek808 commented 4 years ago

hej @smaarn, here are the new logs, all other logs did not change:

admin@JAS:~$ set -x
admin@JAS:~$ source "/usr/local/tt-rss/bin/php-settings.sh"
+ source /usr/local/tt-rss/bin/php-settings.sh
++++ dirname /usr/local/tt-rss/bin/php-settings.sh
+++ cd /usr/local/tt-rss/bin
+++ pwd
++ SCRIPT_DIR=/usr/local/tt-rss/bin
++ source /usr/local/tt-rss/bin/settings.sh
+++ '[' -z '' ']'
+++ WEB_STATION_HOME_DIR=/var/packages/WebStation
+++ '[' -z '' ']'
+++ PACKAGE=tt-rss
+++ '[' -z '' ']'
+++ INSTALL_DIR=/usr/local/tt-rss
+++ '[' -z '' ']'
+++ LOGS_DIR=/usr/local/tt-rss/var/logs
+++ /usr/local/tt-rss/bin/guess-php-profile-name
++ profile_name=094821cc-6faa-4114-a06f-ac3b2c0e3ada
++ php_configuration_file=
+++ /usr/local/tt-rss/bin/guess-php-fpm-bin 094821cc-6faa-4114-a06f-ac3b2c0e3ada
++ php_fpm=php73-fpm
++ '[' -z php73-fpm ']'
+++ echo php73-fpm
+++ sed s/-fpm//g
++ php=php73
+++ /usr/local/tt-rss/bin/guess-php-configuration-file php73
++ php_configuration_file=/usr/local/etc/php73/cli/php.ini
admin@JAS:~$ ${php} -c "${php_configuration_file}" $(/usr/local/tt-rss/bin/php-options) /var/services/web/tt-rss/update.php

++ /usr/local/tt-rss/bin/php-options
+ php73 -c /usr/local/etc/php73/cli/php.ini -d extension=curl.so -d extension=gd.so -d extension=intl.so -d extension=mysqli.so -d extension=pdo_mysql.so -d extension=posix.so /var/services/web/tt-rss/update.php
Tiny Tiny RSS was unable to start properly. This usually means a misconfiguration or an incomplete upgrade.
Please fix errors indicated by the following messages:

 * Image cache is not writable (chmod -R 777 cache/images)
 * Upload cache is not writable (chmod -R 777 cache/upload)
 * Data export cache is not writable (chmod -R 777 cache/export)
 * ICONS_DIR defined in config.php is not writable (chmod -R 777 feed-icons).

 * LOCK_DIRECTORY defined in config.php is not writable (chmod -R 777 lock).

You might want to check tt-rss wiki or the forums for more information.
Please search the forums before creating new topic for your question.

/var/log/httpd/apache22-error-log

2020-11-02T11:55:14+01:00 JAS [Mon Nov 02 11:55:14 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/robots.txt
2020-11-02T11:55:17+01:00 JAS [Mon Nov 02 11:55:17 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/Adminafdab754
2020-11-02T11:55:18+01:00 JAS [Mon Nov 02 11:55:18 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/l.php
2020-11-02T11:55:21+01:00 JAS [Mon Nov 02 11:55:21 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/test.php
2020-11-02T11:55:22+01:00 JAS [Mon Nov 02 11:55:22 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/index.php
2020-11-02T11:55:22+01:00 JAS [Mon Nov 02 11:55:22 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/bbs.php
2020-11-02T11:55:25+01:00 JAS [Mon Nov 02 11:55:25 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/forum.php
2020-11-02T11:55:25+01:00 JAS [Mon Nov 02 11:55:25 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/forums.php
2020-11-02T11:55:26+01:00 JAS [Mon Nov 02 11:55:26 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/bbs
2020-11-02T11:55:29+01:00 JAS [Mon Nov 02 11:55:29 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/forums
2020-11-02T11:55:30+01:00 JAS [Mon Nov 02 11:55:30 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/ajax
2020-11-02T11:55:30+01:00 JAS [Mon Nov 02 11:55:30 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/bbs
2020-11-02T11:55:33+01:00 JAS [Mon Nov 02 11:55:33 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/forum
2020-11-02T11:55:34+01:00 JAS [Mon Nov 02 11:55:34 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/forums
2020-11-02T11:55:34+01:00 JAS [Mon Nov 02 11:55:34 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/cgi-bin
2020-11-02T11:55:37+01:00 JAS [Mon Nov 02 11:55:37 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/cgi-bin
2020-11-02T11:55:38+01:00 JAS [Mon Nov 02 11:55:38 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/cgi-bin
2020-11-02T11:55:38+01:00 JAS [Mon Nov 02 11:55:38 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/cgi-bin
2020-11-02T11:55:41+01:00 JAS SYSTEM:   Last message 'Nov 02 11:55:38 2020' repeated 1 times, suppressed by syslog-ng on JAS
2020-11-02T11:55:41+01:00 JAS [Mon Nov 02 11:55:41 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/cgi-bin
2020-11-02T11:55:41+01:00 JAS [Mon Nov 02 11:55:41 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/base
2020-11-02T11:55:42+01:00 JAS [Mon Nov 02 11:55:42 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/webdav
2020-11-02T11:55:45+01:00 JAS [Mon Nov 02 11:55:45 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/help.php
2020-11-02T11:55:45+01:00 JAS [Mon Nov 02 11:55:45 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/java.php
2020-11-02T11:55:46+01:00 JAS [Mon Nov 02 11:55:46 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/_query.php
2020-11-02T11:55:49+01:00 JAS [Mon Nov 02 11:55:49 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/db_cts.php
2020-11-02T11:55:50+01:00 JAS [Mon Nov 02 11:55:50 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/db_pma.php
2020-11-02T11:55:50+01:00 JAS [Mon Nov 02 11:55:50 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/logon.php
2020-11-02T11:55:54+01:00 JAS [Mon Nov 02 11:55:54 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/help-e.php
2020-11-02T11:55:57+01:00 JAS [Mon Nov 02 11:55:57 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/license.php
2020-11-02T11:55:58+01:00 JAS [Mon Nov 02 11:55:58 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/log.php
2020-11-02T11:55:58+01:00 JAS [Mon Nov 02 11:55:58 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/hell.php
2020-11-02T11:56:01+01:00 JAS [Mon Nov 02 11:56:01 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/pmd_online.php
2020-11-02T11:56:01+01:00 JAS [Mon Nov 02 11:56:01 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/x.php
2020-11-02T11:56:02+01:00 JAS [Mon Nov 02 11:56:02 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/shell.php
2020-11-02T11:56:05+01:00 JAS [Mon Nov 02 11:56:05 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/htdocs.php
2020-11-02T11:56:06+01:00 JAS [Mon Nov 02 11:56:06 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/b.php
2020-11-02T11:56:06+01:00 JAS [Mon Nov 02 11:56:06 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/sane.php
2020-11-02T11:56:09+01:00 JAS [Mon Nov 02 11:56:09 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/desktop.ini.php
2020-11-02T11:56:09+01:00 JAS [Mon Nov 02 11:56:09 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/z.php
2020-11-02T11:56:10+01:00 JAS [Mon Nov 02 11:56:10 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/lala.php
2020-11-02T11:56:13+01:00 JAS [Mon Nov 02 11:56:13 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/wpc.php
2020-11-02T11:56:13+01:00 JAS [Mon Nov 02 11:56:13 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/wpo.php
2020-11-02T11:56:14+01:00 JAS [Mon Nov 02 11:56:14 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/t6nv.php
2020-11-02T11:56:17+01:00 JAS [Mon Nov 02 11:56:17 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/text.php
2020-11-02T11:56:18+01:00 JAS [Mon Nov 02 11:56:18 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/wp-config.php
2020-11-02T11:56:18+01:00 JAS [Mon Nov 02 11:56:18 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/muhstik.php
2020-11-02T11:56:21+01:00 JAS [Mon Nov 02 11:56:21 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/muhstik2.php
2020-11-02T11:56:25+01:00 JAS [Mon Nov 02 11:56:25 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/muhstik-dpr.php
2020-11-02T11:56:26+01:00 JAS [Mon Nov 02 11:56:26 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/lol.php
2020-11-02T11:56:26+01:00 JAS [Mon Nov 02 11:56:26 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/uploader.php
2020-11-02T11:56:29+01:00 JAS [Mon Nov 02 11:56:29 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/cmd.php
2020-11-02T11:56:29+01:00 JAS [Mon Nov 02 11:56:29 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/cmv.php
2020-11-02T11:56:30+01:00 JAS [Mon Nov 02 11:56:30 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/cmdd.php
2020-11-02T11:56:33+01:00 JAS [Mon Nov 02 11:56:33 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/knal.php
2020-11-02T11:56:33+01:00 JAS [Mon Nov 02 11:56:33 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/cmd.php
2020-11-02T11:56:34+01:00 JAS [Mon Nov 02 11:56:34 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/shell.php
2020-11-02T11:56:37+01:00 JAS [Mon Nov 02 11:56:37 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/scripts
2020-11-02T11:56:41+01:00 JAS [Mon Nov 02 11:56:41 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/phpmyadmin
2020-11-02T11:56:45+01:00 JAS [Mon Nov 02 11:56:45 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/phpmyadmin
2020-11-02T11:56:46+01:00 JAS [Mon Nov 02 11:56:46 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/pma
2020-11-02T11:56:49+01:00 JAS [Mon Nov 02 11:56:49 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/PMA
2020-11-02T11:56:49+01:00 JAS [Mon Nov 02 11:56:49 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/myadmin
2020-11-02T11:56:50+01:00 JAS [Mon Nov 02 11:56:50 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/MyAdmin
2020-11-02T11:56:53+01:00 JAS [Mon Nov 02 11:56:53 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/PMA
2020-11-02T11:56:57+01:00 JAS [Mon Nov 02 11:56:57 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/MyAdmin
2020-11-02T11:56:58+01:00 JAS [Mon Nov 02 11:56:58 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/plugins
2020-11-02T11:56:58+01:00 JAS [Mon Nov 02 11:56:58 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/cacti
2020-11-02T11:57:01+01:00 JAS [Mon Nov 02 11:57:01 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/weathermap
2020-11-02T11:57:01+01:00 JAS [Mon Nov 02 11:57:01 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/index.php
2020-11-02T11:57:02+01:00 JAS [Mon Nov 02 11:57:02 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/elrekt.php
2020-11-02T11:57:05+01:00 JAS [Mon Nov 02 11:57:05 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/index.php
2020-11-02T11:57:10+01:00 JAS [Mon Nov 02 11:57:10 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/joomla
2020-11-02T11:57:10+01:00 JAS [Mon Nov 02 11:57:10 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/Joomla
2020-11-02T11:57:13+01:00 JAS [Mon Nov 02 11:57:13 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/d7.php
2020-11-02T11:57:14+01:00 JAS [Mon Nov 02 11:57:14 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/rxr.php
2020-11-02T11:57:14+01:00 JAS [Mon Nov 02 11:57:14 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/1x.php
2020-11-02T11:57:17+01:00 JAS [Mon Nov 02 11:57:17 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/home.php
2020-11-02T11:57:18+01:00 JAS [Mon Nov 02 11:57:18 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/undx.php
2020-11-02T11:57:18+01:00 JAS [Mon Nov 02 11:57:18 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/spider.php
2020-11-02T11:57:21+01:00 JAS [Mon Nov 02 11:57:21 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/payload.php
2020-11-02T11:57:21+01:00 JAS [Mon Nov 02 11:57:21 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/composers.php
2020-11-02T11:57:22+01:00 JAS [Mon Nov 02 11:57:22 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/izom.php
2020-11-02T11:57:25+01:00 JAS [Mon Nov 02 11:57:25 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/hue2.php
2020-11-02T11:57:26+01:00 JAS [Mon Nov 02 11:57:26 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/Drupal.php
2020-11-02T11:57:26+01:00 JAS [Mon Nov 02 11:57:26 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/lang.php
2020-11-02T11:57:29+01:00 JAS [Mon Nov 02 11:57:29 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/izom.php
2020-11-02T11:57:29+01:00 JAS [Mon Nov 02 11:57:29 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/payload.php
2020-11-02T11:57:30+01:00 JAS [Mon Nov 02 11:57:30 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/new_license.php
2020-11-02T11:57:33+01:00 JAS [Mon Nov 02 11:57:33 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/images
2020-11-02T11:57:34+01:00 JAS [Mon Nov 02 11:57:34 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/images
2020-11-02T11:57:34+01:00 JAS [Mon Nov 02 11:57:34 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/hd.php
2020-11-02T11:57:37+01:00 JAS [Mon Nov 02 11:57:37 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/images
2020-11-02T11:57:38+01:00 JAS [Mon Nov 02 11:57:38 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/images
2020-11-02T11:57:38+01:00 JAS [Mon Nov 02 11:57:38 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/images
2020-11-02T11:57:41+01:00 JAS SYSTEM:   Last message 'Nov 02 11:57:38 2020' repeated 1 times, suppressed by syslog-ng on JAS
2020-11-02T11:57:41+01:00 JAS [Mon Nov 02 11:57:41 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/images
2020-11-02T11:57:41+01:00 JAS [Mon Nov 02 11:57:41 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/images
2020-11-02T11:57:42+01:00 JAS SYSTEM:   Last message 'Nov 02 11:57:41 2020' repeated 1 times, suppressed by syslog-ng on JAS
2020-11-02T11:57:42+01:00 JAS [Mon Nov 02 11:57:42 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/up.php
2020-11-02T11:57:45+01:00 JAS [Mon Nov 02 11:57:45 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/huoshan.php
2020-11-02T11:57:46+01:00 JAS [Mon Nov 02 11:57:46 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/yu.php
2020-11-02T11:57:46+01:00 JAS [Mon Nov 02 11:57:46 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/floaw.php
2020-11-02T11:57:49+01:00 JAS [Mon Nov 02 11:57:49 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/ftmabc.php
2020-11-02T11:57:50+01:00 JAS [Mon Nov 02 11:57:50 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/doudou.php
2020-11-02T11:57:50+01:00 JAS [Mon Nov 02 11:57:50 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/mjx.php
2020-11-02T11:57:53+01:00 JAS [Mon Nov 02 11:57:53 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/xiaoxia.php
2020-11-02T11:57:54+01:00 JAS [Mon Nov 02 11:57:54 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/yuyang.php
2020-11-02T11:57:57+01:00 JAS [Mon Nov 02 11:57:57 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/coonig.php
2020-11-02T11:57:57+01:00 JAS [Mon Nov 02 11:57:57 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/ak.php
2020-11-02T11:57:58+01:00 JAS [Mon Nov 02 11:57:58 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/baidoubi.php
2020-11-02T11:58:01+01:00 JAS [Mon Nov 02 11:58:01 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/meijianxue.php
2020-11-02T11:58:02+01:00 JAS [Mon Nov 02 11:58:02 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/no1.php
2020-11-02T11:58:02+01:00 JAS [Mon Nov 02 11:58:02 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/python.php
2020-11-02T11:58:05+01:00 JAS [Mon Nov 02 11:58:05 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/woshimengmei.php
2020-11-02T11:58:05+01:00 JAS [Mon Nov 02 11:58:05 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/indea.php
2020-11-02T11:58:06+01:00 JAS [Mon Nov 02 11:58:06 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/taisui.php
2020-11-02T11:58:10+01:00 JAS [Mon Nov 02 11:58:10 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/kk.php
2020-11-02T11:58:14+01:00 JAS [Mon Nov 02 11:58:14 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/xsser.php
2020-11-02T11:58:17+01:00 JAS [Mon Nov 02 11:58:17 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/99.php
2020-11-02T11:58:17+01:00 JAS [Mon Nov 02 11:58:17 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/dp.php
2020-11-02T11:58:18+01:00 JAS [Mon Nov 02 11:58:18 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/hs.php
2020-11-02T11:58:21+01:00 JAS [Mon Nov 02 11:58:21 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/haiyan.php
2020-11-02T11:58:22+01:00 JAS [Mon Nov 02 11:58:22 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/phpdm.php
2020-11-02T11:58:25+01:00 JAS [Mon Nov 02 11:58:25 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/5678.php
2020-11-02T11:58:26+01:00 JAS [Mon Nov 02 11:58:26 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/root11.php
2020-11-02T11:58:26+01:00 JAS [Mon Nov 02 11:58:26 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/xiu.php
2020-11-02T11:58:29+01:00 JAS [Mon Nov 02 11:58:29 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/wp-content
2020-11-02T11:58:29+01:00 JAS [Mon Nov 02 11:58:29 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/wordpress
2020-11-02T11:58:30+01:00 JAS [Mon Nov 02 11:58:30 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/WordPress
2020-11-02T11:58:33+01:00 JAS [Mon Nov 02 11:58:33 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/WP
2020-11-02T11:58:34+01:00 JAS [Mon Nov 02 11:58:34 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/cms
2020-11-02T11:58:37+01:00 JAS [Mon Nov 02 11:58:37 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/Blog
2020-11-02T11:58:37+01:00 JAS [Mon Nov 02 11:58:37 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/dev
2020-11-02T11:58:38+01:00 JAS [Mon Nov 02 11:58:38 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/demo
2020-11-02T11:58:41+01:00 JAS [Mon Nov 02 11:58:41 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/old
2020-11-02T11:58:45+01:00 JAS [Mon Nov 02 11:58:45 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/templates.php
2020-11-02T11:58:49+01:00 JAS [Mon Nov 02 11:58:49 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/shell.php
2020-11-02T11:58:50+01:00 JAS [Mon Nov 02 11:58:50 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/wuwu11.php
2020-11-02T11:58:50+01:00 JAS [Mon Nov 02 11:58:50 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/xw.php
2020-11-02T11:58:53+01:00 JAS [Mon Nov 02 11:58:53 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/xw1.php
2020-11-02T11:58:53+01:00 JAS [Mon Nov 02 11:58:53 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/9678.php
2020-11-02T11:58:57+01:00 JAS [Mon Nov 02 11:58:57 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/xx.php
2020-11-02T11:58:58+01:00 JAS [Mon Nov 02 11:58:58 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/xx.php
2020-11-02T11:58:58+01:00 JAS [Mon Nov 02 11:58:58 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/s.php
2020-11-02T11:59:01+01:00 JAS [Mon Nov 02 11:59:01 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/w.php
2020-11-02T11:59:01+01:00 JAS [Mon Nov 02 11:59:01 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/sheep.php
2020-11-02T11:59:02+01:00 JAS [Mon Nov 02 11:59:02 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/qaq.php
2020-11-02T11:59:05+01:00 JAS [Mon Nov 02 11:59:05 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/qq.php
2020-11-02T11:59:09+01:00 JAS [Mon Nov 02 11:59:09 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/hhh.php
2020-11-02T11:59:09+01:00 JAS [Mon Nov 02 11:59:09 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/jjj.php
2020-11-02T11:59:10+01:00 JAS [Mon Nov 02 11:59:10 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/vvv.php
2020-11-02T11:59:14+01:00 JAS [Mon Nov 02 11:59:14 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/www.php
2020-11-02T11:59:17+01:00 JAS [Mon Nov 02 11:59:17 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/ffr.php
2020-11-02T11:59:18+01:00 JAS [Mon Nov 02 11:59:18 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/411.php
2020-11-02T11:59:18+01:00 JAS [Mon Nov 02 11:59:18 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/415.php
2020-11-02T11:59:21+01:00 JAS [Mon Nov 02 11:59:21 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/421.php
2020-11-02T11:59:22+01:00 JAS [Mon Nov 02 11:59:22 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/444.php
2020-11-02T11:59:22+01:00 JAS [Mon Nov 02 11:59:22 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/a411.php
2020-11-02T11:59:25+01:00 JAS [Mon Nov 02 11:59:25 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/whoami.php
2020-11-02T11:59:25+01:00 JAS [Mon Nov 02 11:59:25 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/whoami.php.php
2020-11-02T11:59:26+01:00 JAS [Mon Nov 02 11:59:26 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/9.php
2020-11-02T11:59:29+01:00 JAS [Mon Nov 02 11:59:29 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/98k.php
2020-11-02T11:59:30+01:00 JAS [Mon Nov 02 11:59:30 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/981.php
2020-11-02T11:59:33+01:00 JAS [Mon Nov 02 11:59:33 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/888.php
2020-11-02T11:59:34+01:00 JAS [Mon Nov 02 11:59:34 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/aa.php
2020-11-02T11:59:34+01:00 JAS [Mon Nov 02 11:59:34 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/bb.php
2020-11-02T11:59:37+01:00 JAS [Mon Nov 02 11:59:37 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/pp.php
2020-11-02T11:59:38+01:00 JAS [Mon Nov 02 11:59:38 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/tt.php
2020-11-02T11:59:38+01:00 JAS [Mon Nov 02 11:59:38 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/bbq.php
2020-11-02T11:59:41+01:00 JAS [Mon Nov 02 11:59:41 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/jj1.php
2020-11-02T11:59:41+01:00 JAS [Mon Nov 02 11:59:41 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/jbb.php
2020-11-02T11:59:42+01:00 JAS [Mon Nov 02 11:59:42 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/7o.php
2020-11-02T11:59:45+01:00 JAS [Mon Nov 02 11:59:45 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/qwq.php
2020-11-02T11:59:46+01:00 JAS [Mon Nov 02 11:59:46 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/nb.php
2020-11-02T11:59:46+01:00 JAS [Mon Nov 02 11:59:46 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/kpl.php
2020-11-02T11:59:49+01:00 JAS [Mon Nov 02 11:59:49 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/hgx.php
2020-11-02T11:59:54+01:00 JAS [Mon Nov 02 11:59:54 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/tty.php
2020-11-02T11:59:57+01:00 JAS [Mon Nov 02 11:59:57 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/ooi.php
2020-11-02T12:00:02+01:00 JAS [Mon Nov 02 12:00:02 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/app.php
2020-11-02T12:00:09+01:00 JAS [Mon Nov 02 12:00:09 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/ioi.php
2020-11-02T12:00:10+01:00 JAS [Mon Nov 02 12:00:10 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/uuu.php
2020-11-02T12:00:10+01:00 JAS [Mon Nov 02 12:00:10 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/yyy.php
2020-11-02T12:00:14+01:00 JAS [Mon Nov 02 12:00:14 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/ack.php
2020-11-02T12:00:17+01:00 JAS [Mon Nov 02 12:00:17 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/shh.php
2020-11-02T12:00:21+01:00 JAS [Mon Nov 02 12:00:21 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/nnn.php
2020-11-02T12:00:21+01:00 JAS [Mon Nov 02 12:00:21 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/rrr.php
2020-11-02T12:00:22+01:00 JAS [Mon Nov 02 12:00:22 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/ttt.php
2020-11-02T12:00:25+01:00 JAS [Mon Nov 02 12:00:25 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/seeyon
2020-11-02T12:00:26+01:00 JAS [Mon Nov 02 12:00:26 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/secure
2020-11-02T12:00:26+01:00 JAS [Mon Nov 02 12:00:26 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/weaver
2020-11-02T12:00:29+01:00 JAS [Mon Nov 02 12:00:29 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/solr
2020-11-02T12:00:29+01:00 JAS [Mon Nov 02 12:00:29 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/console
2020-11-02T12:00:33+01:00 JAS [Mon Nov 02 12:00:33 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/user
2020-11-02T12:00:45+01:00 JAS [Mon Nov 02 12:00:45 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/joomla
2020-11-02T12:00:46+01:00 JAS [Mon Nov 02 12:00:46 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/user.php, referer: 554fcae493e564ee0dc75bdf2ebf94caads|a:3:{s:2:"id";s:3:"'/*";s:3:"num";s:141:"*/ union select 1,0x272F2A,3,4,5,6,7,8,0x7b247b24524345275d3b6469652f2a2a2f286d6435284449524543544f52595f534550415241544f5229293b2f2f7d7d,0--";s:4:"name";s:3:"ads";}554fcae493e564ee0dc75bdf2ebf94ca
2020-11-02T12:00:46+01:00 JAS [Mon Nov 02 12:00:46 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/index.php
2020-11-02T12:00:49+01:00 JAS [Mon Nov 02 12:00:49 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/phpmyadmin
2020-11-02T12:16:06+01:00 JAS [Mon Nov 02 12:16:06 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/manager
2020-11-02T12:16:09+01:00 JAS [Mon Nov 02 12:16:09 2020] [error] [client 112.35.79.100] File does not exist: /var/services/web/axis2
2020-11-02T13:48:45+01:00 JAS [Mon Nov 02 13:48:45 2020] [error] [client 192.241.239.48] File does not exist: /var/services/web/portal
2020-11-02T16:24:44+01:00 JAS [Mon Nov 02 16:24:44 2020] [error] [client 190.34.195.238] File does not exist: /var/services/web/admin
2020-11-02T19:21:14+01:00 JAS [Mon Nov 02 19:21:14 2020] [error] [client 178.62.52.76] File does not exist: /var/services/web/muieblackcat
2020-11-02T19:21:14+01:00 JAS [Mon Nov 02 19:21:14 2020] [error] [client 178.62.52.76] File does not exist: /var/services/web/phpmyadmin
2020-11-02T19:21:14+01:00 JAS [Mon Nov 02 19:21:14 2020] [error] [client 178.62.52.76] File does not exist: /var/services/web/myadmin
2020-11-02T19:21:14+01:00 JAS [Mon Nov 02 19:21:14 2020] [error] [client 178.62.52.76] File does not exist: /var/services/web/MyAdmin
2020-11-02T19:21:15+01:00 JAS [Mon Nov 02 19:21:15 2020] [error] [client 178.62.52.76] File does not exist: /var/services/web/Admin
2020-11-02T19:21:15+01:00 JAS [Mon Nov 02 19:21:15 2020] [error] [client 178.62.52.76] File does not exist: /var/services/web/admin
2020-11-02T19:21:15+01:00 JAS [Mon Nov 02 19:21:15 2020] [error] [client 178.62.52.76] File does not exist: /var/services/web/MySql
2020-11-02T19:21:15+01:00 JAS [Mon Nov 02 19:21:15 2020] [error] [client 178.62.52.76] File does not exist: /var/services/web/Myadmin
2020-11-02T19:21:15+01:00 JAS [Mon Nov 02 19:21:15 2020] [error] [client 178.62.52.76] File does not exist: /var/services/web/myAdmin
2020-11-02T19:21:15+01:00 JAS [Mon Nov 02 19:21:15 2020] [error] [client 178.62.52.76] File does not exist: /var/services/web/phpmyAdmin
2020-11-02T19:39:14+01:00 JAS [Mon Nov 02 19:39:14 2020] [error] [client 152.136.116.72] File does not exist: /var/services/web/TP
2020-11-02T19:39:15+01:00 JAS [Mon Nov 02 19:39:15 2020] [error] [client 152.136.116.72] File does not exist: /var/services/web/TP
2020-11-02T19:39:15+01:00 JAS [Mon Nov 02 19:39:15 2020] [error] [client 152.136.116.72] File does not exist: /var/services/web/thinkphp
2020-11-02T19:39:15+01:00 JAS [Mon Nov 02 19:39:15 2020] [error] [client 152.136.116.72] File does not exist: /var/services/web/html
2020-11-02T19:39:16+01:00 JAS [Mon Nov 02 19:39:16 2020] [error] [client 152.136.116.72] File does not exist: /var/services/web/public
2020-11-02T19:39:16+01:00 JAS [Mon Nov 02 19:39:16 2020] [error] [client 152.136.116.72] File does not exist: /var/services/web/TP
2020-11-02T19:39:16+01:00 JAS [Mon Nov 02 19:39:16 2020] [error] [client 152.136.116.72] File does not exist: /var/services/web/elrekt.php
2020-11-02T19:39:17+01:00 JAS [Mon Nov 02 19:39:17 2020] [error] [client 152.136.116.72] File does not exist: /var/services/web/index.php
2020-11-02T19:40:23+01:00 JAS [Mon Nov 02 19:40:23 2020] [error] [client 193.27.229.26] File does not exist: /var/services/web/api
2020-11-02T19:40:23+01:00 JAS [Mon Nov 02 19:40:23 2020] [error] [client 193.27.229.26] File does not exist: /var/services/web/vendor
2020-11-02T19:40:23+01:00 JAS [Mon Nov 02 19:40:23 2020] [error] [client 193.27.229.26] File does not exist: /var/services/web/vendor
2020-11-02T19:40:24+01:00 JAS SYSTEM:   Last message 'Nov 02 19:40:23 2020' repeated 1 times, suppressed by syslog-ng on JAS
2020-11-02T19:40:24+01:00 JAS [Mon Nov 02 19:40:24 2020] [error] [client 193.27.229.26] File does not exist: /var/services/web/index.php
2020-11-02T19:40:24+01:00 JAS [Mon Nov 02 19:40:24 2020] [error] [client 193.27.229.26] File does not exist: /var/services/web/mifs, referer: https://84.183.218.175:443
2020-11-02T19:40:24+01:00 JAS [Mon Nov 02 19:40:24 2020] [error] [client 193.27.229.26] File does not exist: /var/services/web/console
2020-11-02T19:40:24+01:00 JAS [Mon Nov 02 19:40:24 2020] [error] [client 193.27.229.26] File does not exist: /var/services/web/wp-content
2020-11-02T21:29:49+01:00 JAS [Mon Nov 02 21:29:49 2020] [error] [client 62.210.10.77] File does not exist: /var/services/web/favicon.ico
2020-11-02T22:05:41+01:00 JAS [Mon Nov 02 22:05:41 2020] [error] [client 163.172.168.251] File does not exist: /var/services/web/364f12a9155b7fef707f691958e3d1a5d8e7333205712ad7a28965aec1e8f71196b38f0608963e60ae414da51c3a8948f5675d2bf4542619dc516b2cdf124a58c945257a4ccd55a6401056ab217f28ed17eba55c7bba6d746ecbd4060b00f1f0
2020-11-03T01:45:35+01:00 JAS [Tue Nov 03 01:45:35 2020] [error] [client 192.241.237.130] File does not exist: /var/services/web/hudson
2020-11-03T03:59:00+01:00 JAS [Tue Nov 03 03:59:00 2020] [error] [client 80.82.65.80] File does not exist: /var/services/web/config
2020-11-03T05:48:25+01:00 JAS [Tue Nov 03 05:48:25 2020] [error] [client 103.223.12.183] File does not exist: /var/services/web/shell
2020-11-03T06:56:14+01:00 JAS [Tue Nov 03 06:56:14 2020] [error] [client 192.241.239.140] File does not exist: /var/services/web/owa
2020-11-03T07:18:34+01:00 JAS [Tue Nov 03 07:18:34 2020] [error] [client 103.223.8.247] File does not exist: /var/services/web/shell
2020-11-03T07:46:02+01:00 JAS [Tue Nov 03 07:46:02 2020] [error] [client 148.72.133.152] File does not exist: /var/services/web/login_sid.lua
2020-11-03T07:58:08+01:00 JAS [Tue Nov 03 07:58:08 2020] [error] [client 115.63.65.196] File does not exist: /var/services/web/GponForm
2020-11-03T08:09:02+01:00 JAS [Tue Nov 03 08:09:02 2020] [error] [client 190.34.195.238] File does not exist: /var/services/web/admin
2020-11-03T09:12:03+01:00 JAS [Tue Nov 03 09:12:03 2020] [error] [client 180.149.125.173] File does not exist: /var/services/web/c
2020-11-03T10:00:49+01:00 JAS [Tue Nov 03 10:00:49 2020] [error] [client 163.172.168.251] File does not exist: /var/services/web/4943568f34d22aad1b088917f8466ebd8a4c0b24c4b8b23955ae599fcf4214db243c386ff8e2ef03991e273330d4bb98aca2c9a4982936cfb7d314ab14ae08fd9b4c637dc2e9d7dc863a66d16be3cffc110e81c856b862087806bc07c996eb3f
smaarn commented 4 years ago

@przemek808 I guess we can focus on the update script.

Unfortunately what's puzzling me here is that the upgrade script should have fixed the following errors:

 * Image cache is not writable (chmod -R 777 cache/images)
 * Upload cache is not writable (chmod -R 777 cache/upload)
 * Data export cache is not writable (chmod -R 777 cache/export)
 * ICONS_DIR defined in config.php is not writable (chmod -R 777 feed-icons).

 * LOCK_DIRECTORY defined in config.php is not writable (chmod -R 777 lock).

(It's what's preventing the daemon from working)

Would you be able to check the installation logs which should be found under /var/log/packages/tt-rss.log ?

Just to be sure would you be able to give the output of the following commands:

ls -l /var/services/web/tt-rss/cache
ls -l /var/services/web/tt-rss/cache/
ls -l /var/services/web/tt-rss/feed-icons
ls -l /var/services/web/tt-rss/lock

This should be telling us what's the current status for those folder rights. (in case it was messed up for some reason)

smaarn commented 4 years ago

Quick question though, did you try running the script as the http user ? By the way in the attached PR I updated it so that it does generate daemon logs... so that way we'll know the errors exactly reported by the daemon, if you wish to install it we may have exact errors.

przemek808 commented 4 years ago

ls -l /var/services/web/tt-rss/cache ls -l /var/services/web/tt-rss/cache/ ls -l /var/services/web/tt-rss/feed-icons ls -l /var/services/web/tt-rss/lock

Here is the output of these folders

admin@JAS:~$ ls -l /var/services/web/tt-rss/cache
total 0
drwxrwxr-x 1 http http 12 Aug 29 07:41 export
drwxrwxr-x 1 http http 12 Aug 29 07:41 feeds
drwxrwxr-x 1 http http 12 Aug 29 07:41 images
drwxrwxr-x 1 http http 12 Aug 29 07:41 upload
admin@JAS:~$ > ls -l /var/services/web/tt-rss/cache/
-sh: -l: command not found
admin@JAS:~$ ls -l /var/services/web/tt-rss/cache/
total 0
drwxrwxr-x 1 http http 12 Aug 29 07:41 export
drwxrwxr-x 1 http http 12 Aug 29 07:41 feeds
drwxrwxr-x 1 http http 12 Aug 29 07:41 images
drwxrwxr-x 1 http http 12 Aug 29 07:41 upload
admin@JAS:~$ ls -l /var/services/web/tt-rss/feed-icons
total 96
-rw-r--r-- 1 http http 3638 Sep 24  2014 35.ico
-rw-r--r-- 1 http http  894 Sep 24  2014 39.ico
-rw-r--r-- 1 http http 1662 Sep 24  2014 45.ico
-rw-r--r-- 1 http http 1150 Sep 24  2014 47.ico
-rw-r--r-- 1 http http 4282 Apr 11  2016 63.ico
-rw-r--r-- 1 http http 6518 Apr 25  2016 64.ico
-rw-r--r-- 1 http http 3113 Apr  8  2020 67.ico
-rw-r--r-- 1 http http  171 Apr 29  2019 68.ico
-rw-r--r-- 1 http http 1020 Jan 14  2019 69.ico
-rw-r--r-- 1 http http 4150 Jan 14  2019 70.ico
-rw-r--r-- 1 http http  171 May  3  2019 71.ico
-rw-r--r-- 1 http http 8938 Jun 23  2019 72.ico
-rw-r--r-- 1 http http  765 Jul 15  2019 73.ico
-rw-r--r-- 1 http http 1303 Jan  3  2020 74.ico
-rw-r--r-- 1 http http 1488 Jun 19 08:31 75.ico
-rw-r--r-- 1 http http 4119 Jul 20 12:38 76.ico
-rw-r--r-- 1 http http 4171 Sep 24  2014 8.ico
-rw-rw-r-- 1 http http    0 Aug 29 07:41 index.html
admin@JAS:~$  ls -l /var/services/web/tt-rss/lock
total 0

I did run the script with my admin user, will try it now with http_user I am willing to install the daemon, please advise me how to do it.

smaarn commented 4 years ago

Can you try using the artifacts which are here: https://github.com/SynoCommunity/spksrc/suites/1458173419/artifacts/24926684 ? (It's basically attached to the latest build of the PR which introduces all those logs)

I changed the rights logics to grand full rights to http user & group on all those directories.

michailf commented 3 years ago

Has anything come out of this effort?

I am also unable to start tt-rss after the upgrade.

I actually went as far as removing the old version and reinstalling but it will not start.

I do have multiple versions of PHP. 5.6, 7.0, 7.2. The default in the Web Station is currently set to 5.6

michailf commented 3 years ago
source "/usr/local/tt-rss/bin/php-settings.sh"
+ source /usr/local/tt-rss/bin/php-settings.sh
++++ dirname /usr/local/tt-rss/bin/php-settings.sh
+++ cd /usr/local/tt-rss/bin
+++ pwd
++ SCRIPT_DIR=/usr/local/tt-rss/bin
++ source /usr/local/tt-rss/bin/settings.sh
+++ '[' -z '' ']'
+++ WEB_STATION_HOME_DIR=/var/packages/WebStation
+++ '[' -z '' ']'
+++ PACKAGE=tt-rss
+++ '[' -z '' ']'
+++ INSTALL_DIR=/usr/local/tt-rss
+++ /usr/local/tt-rss/bin/guess-php-profile-name
++ profile_name=231e91df-7b98-4b21-b646-957cf608051e
++ php_configuration_file=
+++ /usr/local/tt-rss/bin/guess-php-fpm-bin 231e91df-7b98-4b21-b646-957cf608051e
++ php_fpm=php56-fpm
++ '[' -z php56-fpm ']'
+++ echo php56-fpm
+++ sed s/-fpm//g
++ php=php56
+++ /usr/local/tt-rss/bin/guess-php-configuration-file php56
++ php_configuration_file=/var/packages/WebStation/etc/php56/php.ini
 ${php} -c "${php_configuration_file}" $(/usr/local/tt-rss/bin/php-options) /var/services/web/tt-rss/update.php
++ /usr/local/tt-rss/bin/php-options
+ php56 -c /var/packages/WebStation/etc/php56/php.ini -d extension=curl.so -d extension=gd.so -d extension=intl.so -d extension=mysql.so -d extension=mysqli.so -d extension=pdo_mysql.so -d extension=posix.so /var/services/web/tt-rss/update.php
PHP Warning:  PHP Startup: No such handler: DBA_DEFAULT in Unknown on line 0
<pre>Exception while creating PDO object:SQLSTATE[HY000] [1045] Access denied for user 'ttrss'@'localhost' (using password: YES)</pre>
michailf commented 3 years ago

I got past the SQL error by performing manual database setup steps at https://wiki.archlinux.org/index.php/TT-RSS

Specifically:

$ mysql -p -u root
mysql> CREATE USER 'ttrss'@'localhost' IDENTIFIED BY 'somepassword';
mysql> CREATE DATABASE ttrss;
mysql> GRANT ALL PRIVILEGES ON ttrss.* TO "ttrss"@"localhost" IDENTIFIED BY 'somepassword';

and then

$ mysql --user ttrss --password=<somepassword> ttrss <  /volume1/web/tt-rss/schema/ttrss_schema_mysql.sql

Now the error is the same as reported in this issue.

$ ${php} -c "${php_configuration_file}" $(/usr/local/tt-rss/bin/php-options) /var/services/web/tt-rss/update.php
++ /usr/local/tt-rss/bin/php-options
+ php70 -c /var/packages/WebStation/etc/php70/php.ini -d extension=curl.so -d extension=gd.so -d extension=intl.so -d extension=mysql.so -d extension=mysqli.so -d extension=pdo_mysql.so -d extension=posix.so /var/services/web/tt-rss/update.php
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php70/modules/mysql.so' - /usr/local/lib/php70/modules/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php70/modules/mysql.so' - /usr/local/lib/php70/modules/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
Tiny Tiny RSS was unable to start properly. This usually means a misconfiguration or an incomplete upgrade.
Please fix errors indicated by the following messages:

 * Image cache is not writable (chmod -R 777 cache/images)
 * Upload cache is not writable (chmod -R 777 cache/upload)
 * Data export cache is not writable (chmod -R 777 cache/export)
 * ICONS_DIR defined in config.php is not writable (chmod -R 777 feed-icons).

 * LOCK_DIRECTORY defined in config.php is not writable (chmod -R 777 lock).
michailf commented 3 years ago

I uninstalled tt-rss and installed the package from https://github.com/SynoCommunity/spksrc/suites/1458173419/artifacts/24926684

It does not start.

$ sudo -u http sh
+ sudo -u http sh
sh-4.3$ set -x
sh-4.3$ source "/usr/local/tt-rss/bin/php-settings.sh"
+ source /usr/local/tt-rss/bin/php-settings.sh
++++ dirname /usr/local/tt-rss/bin/php-settings.sh
+++ cd /usr/local/tt-rss/bin
+++ pwd
++ SCRIPT_DIR=/usr/local/tt-rss/bin
++ source /usr/local/tt-rss/bin/settings.sh
+++ '[' -z '' ']'
+++ WEB_STATION_HOME_DIR=/var/packages/WebStation
+++ '[' -z '' ']'
+++ PACKAGE=tt-rss
+++ '[' -z '' ']'
+++ INSTALL_DIR=/usr/local/tt-rss
+++ '[' -z '' ']'
+++ LOGS_DIR=/usr/local/tt-rss/var/logs
+++ /usr/local/tt-rss/bin/guess-php-profile-name
++ profile_name=abaecff5-dfe7-4646-b7bb-fb5416963f70
++ php_configuration_file=
+++ /usr/local/tt-rss/bin/guess-php-fpm-bin abaecff5-dfe7-4646-b7bb-fb5416963f70
++ php_fpm=php70-fpm
++ '[' -z php70-fpm ']'
+++ echo php70-fpm
+++ sed s/-fpm//g
++ php=php70
+++ /usr/local/tt-rss/bin/guess-php-configuration-file php70
++ php_configuration_file=/var/packages/WebStation/etc/php70/php.ini
sh-4.3$ ${php} -c "${php_configuration_file}" $(/usr/local/tt-rss/bin/php-options) /var/services/web/tt-rss/update.php
++ /usr/local/tt-rss/bin/php-options
+ php70 -c /var/packages/WebStation/etc/php70/php.ini -d extension=curl.so -d extension=gd.so -d extension=intl.so -d extension=mysqli.so -d extension=pdo_mysql.so -d extension=posix.so /var/services/web/tt-rss/update.php
<pre>Exception while creating PDO object:SQLSTATE[HY000] [1045] Access denied for user 'ttrss'@'localhost' (using password: YES)</pre>

Getting the same SQL error. It seems that the database is not getting configured automatically.

michailf commented 3 years ago

Rerunning manual database setup commands resolves the problem and allows tt-rss to start.

smaarn commented 3 years ago

Hello @michailf

All apologize for not coming back to you sooner.

From what I understood you've basically run explicitely the SQL schema installation phase which is supposed to be run upon install. Though it may be a little bit bug which I suspect was what happened. Would you, by any chance, still have the corresponding installation logs ? (should be available under /var/log/packages/tt-rss.log) That would help me check your installation issue.

Thanks a lot and, again, all apologize for not coming back to you sooner.

michailf commented 3 years ago

Note that I have had to run an in-place upgrade of tt-rss because I switched to PHP 7.2. Hopefully the log from the original install has been preserved.

/var/log/packages/tt-rss.log

smaarn commented 3 years ago

Hello,

If the issue is still present, could you please check the outcome of using binaries available here: https://github.com/smaarn/spksrc/releases/tag/tt-rss-20201114 ? (It's basically the contents of PR #4274 and contains - among others - a few packaging changes with a new version of tiny tiny rss)

It should provide with more detailed logs under /var/packages/tt-rss/target/var/logs/ directory and it should run the upgrade script automatically.