szaimen / aio-local-ai

GNU Affero General Public License v3.0
2 stars 1 forks source link

AI task fails #5

Closed M0E-lnx closed 7 months ago

M0E-lnx commented 8 months ago

I have this installed in my nextcloud-aio and have enabled all the models. I can confirm the models are downloaded, but every time I schedule a task, it fails. Checking the container logs, I see this on the output for the nextcloud-aio-local-ai container

rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 127.0.0.1:46385: connect: connection refused"

I'm also seeing this on the nextcloud-aio-nextcloud container logs

[07-Nov-2023 11:57:40] NOTICE: ready to handle connections

mkdir: cannot create directory ‘/mnt/ncdata/admin/files/nextcloud-aio-local-ai’: File exists

Scanning nextcloud-aio-local-ai folder for admin user...

Starting scan for user 1 out of 1 (admin)

+---------+-------+--------+--------------+

| Folders | Files | Errors | Elapsed time |

+---------+-------+--------+--------------+

| 1       | 1     | 0      | 00:00:00     |

+---------+-------+--------+--------------+

integration_openai already installed

Config value url for app integration_openai set to http://nextcloud-aio-local-ai:8080

assistant already installed

Activating Collabora config...

Activated any config changes

[07-Nov-2023 12:38:11] WARNING: [pool www] child 1359 exited on signal 9 (SIGKILL) after 25.557852 seconds from start

[07-Nov-2023 12:38:11] NOTICE: [pool www] child 1360 started

[07-Nov-2023 12:39:07] WARNING: [pool www] child 1369 exited on signal 9 (SIGKILL) after 37.664405 seconds from start

[07-Nov-2023 12:39:07] NOTICE: [pool www] child 1379 started

[07-Nov-2023 12:39:21] WARNING: [pool www] child 1379 exited on signal 9 (SIGKILL) after 14.562565 seconds from start

[07-Nov-2023 12:39:21] NOTICE: [pool www] child 1381 started

Task failed 3

It almost feels like the request is going nowhere because I do not see any increase in system resources being used after a task is requested.

szaimen commented 7 months ago

[07-Nov-2023 12:38:11] WARNING: [pool www] child 1359 exited on signal 9 (SIGKILL) after 25.557852 seconds from start

[07-Nov-2023 12:38:11] NOTICE: [pool www] child 1360 started

[07-Nov-2023 12:39:07] WARNING: [pool www] child 1369 exited on signal 9 (SIGKILL) after 37.664405 seconds from start

[07-Nov-2023 12:39:07] NOTICE: [pool www] child 1379 started

[07-Nov-2023 12:39:21] WARNING: [pool www] child 1379 exited on signal 9 (SIGKILL) after 14.562565 seconds from start

[07-Nov-2023 12:39:21] NOTICE: [pool www] child 1381 started

Hi, you could check if https://github.com/nextcloud/server/pull/41289 helps to fix the problem

M0E-lnx commented 7 months ago

Will do when the 27.1.4 update comes down... not sure how to manually update this yet and I really dont want to break my setup.