Closed melyux closed 1 year ago
FWIW, I'm seeing this exact same thing. Also running Docker instance. I'm running the latest available version, 2.1.11 Beta. I see the same error on both the modules I might be able to update, FaceProcessing and Yolov5.6.2. Full error logs from system are as follows:
11:49:39:Preparing to install module 'ObjectDetectionYolo'
11:49:39:Module description for 'ObjectDetectionYolo' is invalid. A 'pre-installed' module can't be downloaded
11:57:57:Preparing to install module 'FaceProcessing'
11:57:57:Module description for 'FaceProcessing' is invalid. A 'pre-installed' module can't be downloaded
In the FWIW department, I can also demonstrate this in 2.1.9 as well. It occurs on both active and inactive modules, same exact error. I have tried stopping the modules and still get the same error. I also didn't see the modules update in my test migration from 2.1.9 to 2.1.11 (full docker image re-pull), but I'm not sure if that would be expected behavior.
I did see a somewhat similar issue in the CPAI forums, but this appeared to be a Windows install and the fixes didn't work for me. I'll keep poking at it and will update if I find a workaround.
Could you try and install a different module. If this fails the same way, it may be that the CodeProject.AI Server is not able to connect to the internet to download the modules. How did you start the Docker Container?
Could you try and install a different module.
If this fails the same way, it may be that the CodeProject.AI Server is not able to connect to the internet to download the modules.
How did you start the Docker Container?
Other modules download and install correctly
same issue here on multiple devices running Docker.
Could you try and install a different module.
I also tested installing a new module on my instances, works fine in both v2.1.9 and v2.1.11. In my case, I'm using Docker Compose to start my instance. Config file as follows:
version: '3.3'
services:
CodeProject.AI-Server:
ports:
- '32168:32168'
restart: unless-stopped
volumes:
- '/etc/codeproject/ai:/etc/codeproject/ai'
- '/opt/codeproject/ai:/app/modules'
- '/app/preinstalled-modules/ObjectDetectionYolo/custom-models:/app/preinstalled-modules/ObjectDetectionYolo/custom-models'
image: "codeproject/ai-server:latest"
I can confirm, installing other modules work fine.
i have the same issue!
when removing the modules from preinstalled folder and installing them via the gui, it works fine.
This has been fixed in the latest version
Area of Concern
Describe the bug Pre-installed modules on the base Docker image (Face Processing, Object Detection (YOLOv5 .NET), Object Detection (YOLOv5 6.2)) can't be updated. (They also can't be removed, but that's a different issue.)
Expected behavior I should be able to update the pre-installed modules.
Screenshots
Your System (please complete the following information):