YunoHost-Apps / searx_ynh

Searx package for YunoHost
https://searx.github.io/searx/
GNU General Public License v3.0
20 stars 17 forks source link

Internal Server Error #73

Closed tiotrom closed 3 years ago

tiotrom commented 3 years ago

Here is the log https://paste.yunohost.org/qibeguyade It stopped working after I edited some stuff in settings.yml. Same settings are on another yunohost instance and all works fine.

tiotrom commented 3 years ago

It started to work out of the blue and then I move to a new server and restored it from backups. And it gets stuck at this while restoring:

[pid: 635|app: 0|req: 490/846] 143.244.39.113 () {44 vars in 593 bytes} [Sat Feb 20 02:54:43 2021] GET /autocompleter?q=code => generated 109 bytes in 467 msecs (HTTP/2.0 200) 8 headers in 277 bytes (1 switches on core 0)

[pid: 635|app: 0|req: 489/845] 143.244.39.113 () {54 vars in 1004 bytes} [Sat Feb 20 02:46:11 2021] GET /static/themes/oscar/img/logo_searx_a.png => generated 0 bytes in 6 msecs (HTTP/2.0 304) 10 headers in 371 bytes (0 switches on core 0)

[pid: 636|app: 0|req: 79/844] 143.244.39.113 () {54 vars in 1003 bytes} [Sat Feb 20 02:46:10 2021] GET /static/plugins/js/search_on_category_select.js => generated 0 bytes in 9 msecs (HTTP/2.0 304) 10 headers in 369 bytes (0 switches on core 0)

[pid: 634|app: 0|req: 91/843] 143.244.39.113 () {54 vars in 976 bytes} [Sat Feb 20 02:46:10 2021] GET /static/js/require-2.1.15.min.js => generated 0 bytes in 6 msecs (HTTP/2.0 304) 10 headers in 371 bytes (0 switches on core 0)

[pid: 636|app: 0|req: 78/842] 143.244.39.113 () {54 vars in 983 bytes} [Sat Feb 20 02:46:10 2021] GET /static/themes/oscar/js/searx.min.js => generated 0 bytes in 4 msecs (HTTP/2.0 304) 10 headers in 371 bytes (0 switches on core 0)

[pid: 636|app: 0|req: 77/841] 143.244.39.113 () {54 vars in 980 bytes} [Sat Feb 20 02:46:10 2021] GET /static/js/typeahead.bundle.min.js => generated 0 bytes in 5 msecs (HTTP/2.0 304) 10 headers in 372 bytes (1 switches on core 0)

[pid: 634|app: 0|req: 90/840] 143.244.39.113 () {54 vars in 965 bytes} [Sat Feb 20 02:46:10 2021] GET /static/js/bootstrap.min.js => generated 0 bytes in 4 msecs (HTTP/2.0 304) 10 headers in 371 bytes (1 switches on core 0)

[pid: 633|app: 0|req: 186/839] 143.244.39.113 () {54 vars in 974 bytes} [Sat Feb 20 02:46:10 2021] GET /static/js/jquery-1.11.1.min.js => generated 0 bytes in 5 msecs (HTTP/2.0 304) 10 headers in 372 bytes (1 switches on core 0)

[pid: 635|app: 0|req: 488/838] 143.244.39.113 () {50 vars in 836 bytes} [Sat Feb 20 02:46:10 2021] GET /translations.js => generated 44 bytes in 5 msecs (HTTP/2.0 200) 8 headers in 274 bytes (1 switches on core 0)

[pid: 633|app: 0|req: 185/837] 143.244.39.113 () {52 vars in 912 bytes} [Sat Feb 20 02:46:10 2021] GET / => generated 10691 bytes in 17 msecs (HTTP/2.0 200) 8 headers in 272 bytes (2 switches on core 0)

[pid: 635|app: 0|req: 487/836] 143.244.39.113 () {54 vars in 1004 bytes} [Sat Feb 20 02:45:54 2021] GET /static/themes/oscar/img/logo_searx_a.png => generated 0 bytes in 5 msecs (HTTP/2.0 304) 10 headers in 371 bytes (0 switches on core 0)

[pid: 633|app: 0|req: 184/835] 143.244.39.113 () {54 vars in 1003 bytes} [Sat Feb 20 02:45:54 2021] GET /static/plugins/js/search_on_category_select.js => generated 0 bytes in 4 msecs (HTTP/2.0 304) 10 headers in 369 bytes (0 switches on core 0)

[pid: 636|app: 0|req: 76/834] 143.244.39.113 () {54 vars in 983 bytes} [Sat Feb 20 02:45:54 2021] GET /static/themes/oscar/js/searx.min.js => generated 0 bytes in 4 msecs (HTTP/2.0 304) 10 headers in 371 bytes (1 switches on core 0)

[pid: 635|app: 0|req: 486/833] 143.244.39.113 () {54 vars in 976 bytes} [Sat Feb 20 02:45:54 2021] GET /static/js/require-2.1.15.min.js => generated 0 bytes in 2 msecs (HTTP/2.0 304) 10 headers in 371 bytes (1 switches on core 0)

[pid: 634|app: 0|req: 89/832] 143.244.39.113 () {54 vars in 980 bytes} [Sat Feb 20 02:45:54 2021] GET /static/js/typeahead.bundle.min.js => generated 0 bytes in 4 msecs (HTTP/2.0 304) 10 headers in 371 bytes (1 switches on core 0)

[pid: 635|app: 0|req: 485/831] 143.244.39.113 () {54 vars in 974 bytes} [Sat Feb 20 02:45:54 2021] GET /static/js/jquery-1.11.1.min.js => generated 0 bytes in 11 msecs (HTTP/2.0 304) 10 headers in 372 bytes (0 switches on core 0)

[pid: 633|app: 0|req: 183/830] 143.244.39.113 () {54 vars in 965 bytes} [Sat Feb 20 02:45:54 2021] GET /static/js/bootstrap.min.js => generated 0 bytes in 7 msecs (HTTP/2.0 304) 10 headers in 371 bytes (0 switches on core 0)

[pid: 635|app: 0|req: 484/829] 143.244.39.113 () {50 vars in 836 bytes} [Sat Feb 20 02:45:54 2021] GET /translations.js => generated 44 bytes in 3 msecs (HTTP/2.0 200) 8 headers in 274 bytes (1 switches on core 0)

[pid: 636|app: 0|req: 75/828] 143.244.39.113 () {52 vars in 912 bytes} [Sat Feb 20 02:45:54 2021] GET / => generated 10691 bytes in 19 msecs (HTTP/2.0 200) 8 headers in 272 bytes (1 switches on core 0)

[Error] [pid: 636|app: 0|req: 74/827] 143.244.39.113 () {54 vars in 1004 bytes} [Sat Feb 20 02:45:52 2021] GET /static/themes/oscar/img/logo_searx_a.png => generated 0 bytes in 3 msecs (HTTP/2.0 304) 10 headers in 371 bytes (0 switches on core 0)

Feb 20 20:23:15 systemd[1]: Failed to start searx uWSGI app.

Feb 20 20:23:15 systemd[1]: uwsgi-app@searx.service: Failed with result 'exit-code'.

Feb 20 20:23:15 systemd[1]: uwsgi-app@searx.service: Main process exited, code=exited, status=1/FAILURE

Feb 20 20:23:15 uwsgi[8430]: open("/var/log/uwsgi/searx/searx.log"): Permission denied [core/logging.c line 288]

Feb 20 20:23:15 uwsgi[8430]: [uWSGI] getting INI configuration from /etc/uwsgi/apps-available/searx.ini

Feb 20 20:23:15 systemd[1]: Starting searx uWSGI app...

Feb 20 20:01:08 systemd[1]: Failed to start searx uWSGI app.

Feb 20 20:01:08 systemd[1]: uwsgi-app@searx.service: Failed with result 'exit-code'.

Feb 20 20:01:08 systemd[1]: uwsgi-app@searx.service: Start request repeated too quickly.

Feb 20 20:01:08 systemd[1]: Stopped searx uWSGI app.

Feb 20 20:01:08 systemd[1]: uwsgi-app@searx.service: Scheduled restart job, restart counter is at 5.

Feb 20 20:01:08 systemd[1]: uwsgi-app@searx.service: Service RestartSec=100ms expired, scheduling restart.

Feb 20 20:01:08 systemd[1]: Failed to start searx uWSGI app.

Feb 20 20:01:08 systemd[1]: uwsgi-app@searx.service: Failed with result 'exit-code'.

Feb 20 20:01:08 systemd[1]: uwsgi-app@searx.service: Main process exited, code=exited, status=1/FAILURE

Feb 20 20:01:08 uwsgi[742]: open("/var/log/uwsgi/searx/searx.log"): Permission denied [core/logging.c line 288]

Feb 20 20:01:08 uwsgi[742]: [uWSGI] getting INI configuration from /etc/uwsgi/apps-available/searx.ini

Feb 20 20:01:08 systemd[1]: Starting searx uWSGI app...

Feb 20 20:01:08 systemd[1]: Stopped searx uWSGI app.

[Error] Feb 20 20:01:08 systemd[1]: uwsgi-app@searx.service: Scheduled restart job, restart counter is at 4.

See "systemctl status uwsgi-app@searx.service" and "journalctl -xe" for details.

Job for uwsgi-app@searx.service failed because the control process exited with error code.
tiotrom commented 3 years ago

Also, I tried to upgrade and I get this:

[Error] Upgrade failed.

[pid: 635|app: 0|req: 490/846] 143.244.39.113 () {44 vars in 593 bytes} [Sat Feb 20 02:54:43 2021] GET /autocompleter?q=code => generated 109 bytes in 467 msecs (HTTP/2.0 200) 8 headers in 277 bytes (1 switches on core 0)

[pid: 635|app: 0|req: 489/845] 143.244.39.113 () {54 vars in 1004 bytes} [Sat Feb 20 02:46:11 2021] GET /static/themes/oscar/img/logo_searx_a.png => generated 0 bytes in 6 msecs (HTTP/2.0 304) 10 headers in 371 bytes (0 switches on core 0)

[pid: 636|app: 0|req: 79/844] 143.244.39.113 () {54 vars in 1003 bytes} [Sat Feb 20 02:46:10 2021] GET /static/plugins/js/search_on_category_select.js => generated 0 bytes in 9 msecs (HTTP/2.0 304) 10 headers in 369 bytes (0 switches on core 0)

[pid: 634|app: 0|req: 91/843] 143.244.39.113 () {54 vars in 976 bytes} [Sat Feb 20 02:46:10 2021] GET /static/js/require-2.1.15.min.js => generated 0 bytes in 6 msecs (HTTP/2.0 304) 10 headers in 371 bytes (0 switches on core 0)

[pid: 636|app: 0|req: 78/842] 143.244.39.113 () {54 vars in 983 bytes} [Sat Feb 20 02:46:10 2021] GET /static/themes/oscar/js/searx.min.js => generated 0 bytes in 4 msecs (HTTP/2.0 304) 10 headers in 371 bytes (0 switches on core 0)

[pid: 636|app: 0|req: 77/841] 143.244.39.113 () {54 vars in 980 bytes} [Sat Feb 20 02:46:10 2021] GET /static/js/typeahead.bundle.min.js => generated 0 bytes in 5 msecs (HTTP/2.0 304) 10 headers in 372 bytes (1 switches on core 0)

[pid: 634|app: 0|req: 90/840] 143.244.39.113 () {54 vars in 965 bytes} [Sat Feb 20 02:46:10 2021] GET /static/js/bootstrap.min.js => generated 0 bytes in 4 msecs (HTTP/2.0 304) 10 headers in 371 bytes (1 switches on core 0)

[pid: 633|app: 0|req: 186/839] 143.244.39.113 () {54 vars in 974 bytes} [Sat Feb 20 02:46:10 2021] GET /static/js/jquery-1.11.1.min.js => generated 0 bytes in 5 msecs (HTTP/2.0 304) 10 headers in 372 bytes (1 switches on core 0)

[pid: 635|app: 0|req: 488/838] 143.244.39.113 () {50 vars in 836 bytes} [Sat Feb 20 02:46:10 2021] GET /translations.js => generated 44 bytes in 5 msecs (HTTP/2.0 200) 8 headers in 274 bytes (1 switches on core 0)

[pid: 633|app: 0|req: 185/837] 143.244.39.113 () {52 vars in 912 bytes} [Sat Feb 20 02:46:10 2021] GET / => generated 10691 bytes in 17 msecs (HTTP/2.0 200) 8 headers in 272 bytes (2 switches on core 0)

[pid: 635|app: 0|req: 487/836] 143.244.39.113 () {54 vars in 1004 bytes} [Sat Feb 20 02:45:54 2021] GET /static/themes/oscar/img/logo_searx_a.png => generated 0 bytes in 5 msecs (HTTP/2.0 304) 10 headers in 371 bytes (0 switches on core 0)

[pid: 633|app: 0|req: 184/835] 143.244.39.113 () {54 vars in 1003 bytes} [Sat Feb 20 02:45:54 2021] GET /static/plugins/js/search_on_category_select.js => generated 0 bytes in 4 msecs (HTTP/2.0 304) 10 headers in 369 bytes (0 switches on core 0)

[pid: 636|app: 0|req: 76/834] 143.244.39.113 () {54 vars in 983 bytes} [Sat Feb 20 02:45:54 2021] GET /static/themes/oscar/js/searx.min.js => generated 0 bytes in 4 msecs (HTTP/2.0 304) 10 headers in 371 bytes (1 switches on core 0)

[pid: 635|app: 0|req: 486/833] 143.244.39.113 () {54 vars in 976 bytes} [Sat Feb 20 02:45:54 2021] GET /static/js/require-2.1.15.min.js => generated 0 bytes in 2 msecs (HTTP/2.0 304) 10 headers in 371 bytes (1 switches on core 0)

[pid: 634|app: 0|req: 89/832] 143.244.39.113 () {54 vars in 980 bytes} [Sat Feb 20 02:45:54 2021] GET /static/js/typeahead.bundle.min.js => generated 0 bytes in 4 msecs (HTTP/2.0 304) 10 headers in 371 bytes (1 switches on core 0)

[pid: 635|app: 0|req: 485/831] 143.244.39.113 () {54 vars in 974 bytes} [Sat Feb 20 02:45:54 2021] GET /static/js/jquery-1.11.1.min.js => generated 0 bytes in 11 msecs (HTTP/2.0 304) 10 headers in 372 bytes (0 switches on core 0)

[pid: 633|app: 0|req: 183/830] 143.244.39.113 () {54 vars in 965 bytes} [Sat Feb 20 02:45:54 2021] GET /static/js/bootstrap.min.js => generated 0 bytes in 7 msecs (HTTP/2.0 304) 10 headers in 371 bytes (0 switches on core 0)

[pid: 635|app: 0|req: 484/829] 143.244.39.113 () {50 vars in 836 bytes} [Sat Feb 20 02:45:54 2021] GET /translations.js => generated 44 bytes in 3 msecs (HTTP/2.0 200) 8 headers in 274 bytes (1 switches on core 0)

[pid: 636|app: 0|req: 75/828] 143.244.39.113 () {52 vars in 912 bytes} [Sat Feb 20 02:45:54 2021] GET / => generated 10691 bytes in 19 msecs (HTTP/2.0 200) 8 headers in 272 bytes (1 switches on core 0)

[Error] [pid: 636|app: 0|req: 74/827] 143.244.39.113 () {54 vars in 1004 bytes} [Sat Feb 20 02:45:52 2021] GET /static/themes/oscar/img/logo_searx_a.png => generated 0 bytes in 3 msecs (HTTP/2.0 304) 10 headers in 371 bytes (0 switches on core 0)

Feb 21 00:00:26 systemd[1]: Failed to start searx uWSGI app.

Feb 21 00:00:26 systemd[1]: uwsgi-app@searx.service: Failed with result 'exit-code'.

Feb 21 00:00:26 systemd[1]: uwsgi-app@searx.service: Main process exited, code=exited, status=1/FAILURE

Feb 21 00:00:26 uwsgi[8817]: open("/var/log/uwsgi/searx/searx.log"): Permission denied [core/logging.c line 288]

Feb 21 00:00:26 uwsgi[8817]: [uWSGI] getting INI configuration from /etc/uwsgi/apps-available/searx.ini

Feb 21 00:00:26 systemd[1]: Starting searx uWSGI app...

Feb 20 23:37:08 systemd[1]: Failed to start searx uWSGI app.

Feb 20 23:37:08 systemd[1]: uwsgi-app@searx.service: Failed with result 'exit-code'.

Feb 20 23:37:08 systemd[1]: uwsgi-app@searx.service: Start request repeated too quickly.

Feb 20 23:37:08 systemd[1]: Stopped searx uWSGI app.

Feb 20 23:37:08 systemd[1]: uwsgi-app@searx.service: Scheduled restart job, restart counter is at 5.

Feb 20 23:37:08 systemd[1]: uwsgi-app@searx.service: Service RestartSec=100ms expired, scheduling restart.

Feb 20 23:37:08 systemd[1]: Failed to start searx uWSGI app.

Feb 20 23:37:08 systemd[1]: uwsgi-app@searx.service: Failed with result 'exit-code'.

Feb 20 23:37:08 systemd[1]: uwsgi-app@searx.service: Main process exited, code=exited, status=1/FAILURE

Feb 20 23:37:08 uwsgi[675]: open("/var/log/uwsgi/searx/searx.log"): Permission denied [core/logging.c line 288]

Feb 20 23:37:08 uwsgi[675]: [uWSGI] getting INI configuration from /etc/uwsgi/apps-available/searx.ini

Feb 20 23:37:08 systemd[1]: Starting searx uWSGI app...

Feb 20 23:37:08 systemd[1]: Stopped searx uWSGI app.

[Error] Feb 20 23:37:08 systemd[1]: uwsgi-app@searx.service: Scheduled restart job, restart counter is at 4.

See "systemctl status uwsgi-app@searx.service" and "journalctl -xe" for details.

Job for uwsgi-app@searx.service failed because the control process exited with error code.