Skip to content

AnythingLLM is crashing on openshift #122

Open
@nathanraoutbort

Description

@nathanraoutbort

Hello , i am trying to run this on openshift using openshift AI
i did step by step like in this guide :
https://www.redhat.com/en/blog/llama-4-herd-here-and-already-available-openshift-ai?sc_cid=701f2000000tyN6AAI

my pod is failing to start with tihs log :

ln: failed to create symbolic link '/opt/app-root/src/.cache/puppeteer/.local-chromium': Permission denied

For more information on configuration, see:

* Official English Documentation: http://nginx.org/en/docs/

* Official Russian Documentation: http://nginx.org/ru/docs/

worker_processes 1;
error_log /var/log/nginx/error.log notice;
pid /run/nginx.pid;

Load dynamic modules. See /usr/share/doc/nginx/README.dynamic.

include /usr/share/nginx/modules/*.conf;

events {
worker_connections 1024;
}

http {
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';

access_log  /var/log/nginx/access.log  main;

sendfile            on;
tcp_nopush          on;
keepalive_timeout   65;
types_hash_max_size 4096;

include             /etc/nginx/mime.types;
default_type        application/octet-stream;

# Load modular configuration files from the /etc/nginx/conf.d directory.
# See http://nginx.org/en/docs/ngx_core_module.html#include
# for more information.
include /opt/app-root/etc/nginx.d/*.conf;

server {
    listen       8888 default_server;
    listen       [::]:8888 default_server;
    server_name  anyllm-ai-innovation-llama7.apps.ocplanp.clalit.org.il;
    root         /opt/app-root/src;

    # Load configuration files for the default server block.
    include /opt/app-root/etc/nginx.default.d/*.conf;

    location = /404.html {
    }

}

Settings for a TLS enabled server.

server {

listen 443 ssl http2;

listen [::]:443 ssl http2;

server_name anyllm-ai-innovation-llama7.apps.ocplanp.clalit.org.il;

root /opt/app-root/src;

ssl_certificate "/etc/pki/nginx/server.crt";

ssl_certificate_key "/etc/pki/nginx/private/server.key";

ssl_session_cache shared:SSL:1m;

ssl_session_timeout 10m;

ssl_ciphers PROFILE=SYSTEM;

ssl_prefer_server_ciphers on;

# Load configuration files for the default server block.

include /opt/app-root/etc/nginx.default.d/*.conf;

location = /404.html {

}

}

}

2025/04/10 13:09:55 [notice] 41#41: using the "epoll" event method
2025/04/10 13:09:55 [notice] 41#41: nginx/1.24.0
2025/04/10 13:09:55 [notice] 41#41: built by gcc 11.4.1 20231218 (Red Hat 11.4.1-3) (GCC)
2025/04/10 13:09:55 [notice] 41#41: OS: Linux 5.14.0-284.77.1.el9_2.x86_64
2025/04/10 13:09:55 [notice] 41#41: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2025/04/10 13:09:55 [notice] 47#47: start worker processes
2025/04/10 13:09:55 [notice] 47#47: start worker process 48
2025-04-10 13:09:55,891 INFO supervisord started with pid 10
2025-04-10 13:09:56,893 INFO spawned: 'fcgiwrap' with pid 65
2025-04-10 13:09:57,894 INFO success: fcgiwrap entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

and the event is showing:
Readiness probe failed: HTTP probe failed with statuscode: 404

please help

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions