Skip to content

jeecli: not found #2

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

Open
pifou25 opened this issue May 1, 2025 · 6 comments
Open

jeecli: not found #2

pifou25 opened this issue May 1, 2025 · 6 comments

Comments

@pifou25
Copy link
Contributor

pifou25 commented May 1, 2025

jeecli plugin incd pl stall "$plugin_id"

Je pense qu'il faut mettre la version longue

php /path/to/jeecli.php arg1 arg2 ...

Comment fonctionne ce jeecli ? il n'est pas dans la doc.

@Hotfirenet
Copy link
Owner

Il y a un bout de doc ici:
https://doc.jeedom.com/fr_FR/howto/reset.password

effectivement il faut mettre le path

@pifou25
Copy link
Contributor Author

pifou25 commented May 1, 2025

Ha! ça marche mieux, mais pas encore, il y a un problème lié au market.
Je regarderais ce week-end mais je pense qu'il faut modifier le core pour qu'on puisse installer un plugin en ligne de commande...

Vérification du plugin : /var/www/html/plugins/openai
Installation du plugin : openai
.
Add trap docker_stop
PHP Fatal error: Uncaught Exception: Code : -32699<br/>Message : Merci de remplir les informations de connexion au market de votre Jeedom in /var/www/html/core/repo/market.repo.php:836
Stack trace:
#0 /var/www/html/core/repo/market.repo.php(193): repo_market::byLogicalIdAndType()
#1 /var/www/html/core/class/update.class.php(305): repo_market::downloadObject()
#2 /var/www/html/core/php/jeecli.php(47): update->doUpdate()
#3 {main}
thrown in /var/www/html/core/repo/market.repo.php on line 836

@pifou25
Copy link
Contributor Author

pifou25 commented May 4, 2025

Il faudrait voir à passer par la méthode github pour télécharger le plugin. Celle avec le user / repo.
Sinon on avait cette évolution qui a été fermée mais pas implémentée au final pour DL un plugin avec une classe git générique jeedom/core#2567

@Hotfirenet
Copy link
Owner

On peut commencer à faire une classe git comme nous avions pensé comme ça on ne touche pas au système existant

@pifou25
Copy link
Contributor Author

pifou25 commented May 9, 2025

ça serait bien de faire une classe git, mais je n'ai pas encore réussi, c'est trop gros comme évolution je ne sais pas le faire tout seul.

J'ai trouvé un workaround vite fait :) pas forcément élégant mais ça fonctionne
jeedom/core#3057

@Hotfirenet
Copy link
Owner

C'est une bonne solution je trouve en attendant

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