Après la mise à niveau : la clé ‘version’ donnée n’était pas présente dans le dictionnaire

la programmation


Bonjour,
après la mise à niveau aujourd’hui vers la nouvelle version Ai, mon conteneur Docker ne démarre pas avec l’erreur suivante ;

/bin/bash: line 1: pstree: command not found
Unhandled exception. System.Collections.Generic.KeyNotFoundException: The given key 'version' was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at CodeProject.AI.SDK.Common.SystemInfo.GetRuntimesAsync()
   at CodeProject.AI.SDK.Common.SystemInfo.InitializeAsync()
   at CodeProject.AI.Server.Program.Main(String[] args)
   at CodeProject.AI.Server.Program.<Main>(String[] args)

Et voici mon fichier de composition :

version: "3.8"
services:
  ai-server:
    image: codeproject/ai-server:rpi64
    container_name: CodeprojectAI
    privileged: true
    ports:
      - "32168:32168"
    volumes:
      - /dev/bus/usb:/dev/bus/usb
      - /data/compose/codeprojectai/data:/app/data
      - /data/compose/codeprojectai/ai:/etc/codeproject/ai
      - /data/compose/codeprojectai/modules:/app/modules
    environment:
      - TZ=Europe/Berlin
    deploy:
      resources:
        limits:
          cpus: '1.00'
          memory: 1024M

Quelqu’un a-t-il une idée de comment résoudre ce problème ?

BR
Tobias

Ce que j’ai essayé :

Redéployez le conteneur, aucune autre idée de comment résoudre ce problème

Solution 1

Vous devriez poser votre question dans la zone dédiée Discussions sur CodeProject.AI[^] forum.

コメント

タイトルとURLをコピーしました