Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AI task fails #5

Closed
M0E-lnx opened this issue Nov 7, 2023 · 2 comments
Closed

AI task fails #5

M0E-lnx opened this issue Nov 7, 2023 · 2 comments

Comments

@M0E-lnx
Copy link

M0E-lnx commented Nov 7, 2023

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
Copy link
Owner

szaimen commented Nov 13, 2023

[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 nextcloud/server#41289 helps to fix the problem

@M0E-lnx
Copy link
Author

M0E-lnx commented Nov 13, 2023

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.

@szaimen szaimen closed this as completed Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants