nextcloud / assistant

✨ Nextcloud Assistant
GNU Affero General Public License v3.0
23 stars 4 forks source link

Version 1.0.5 no longer works. #48

Closed muchachagrande closed 6 months ago

muchachagrande commented 6 months ago

Which version of assistant are you using?

1.0.5

Which version of Nextcloud are you using?

28.0.3

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

Firefox 123.0.1 Linux Ubuntu 22.04

Describe the Bug

Updated to version 1.0.5 from 1.0.3 and now the assistant show a single textbox without any function to execute and an open file button on the upper right corner. I noticed the new check boxes at the AI configuration and they are all checked.

Expected Behavior

The assistant should allow to execute different functions using the input text

To Reproduce

Open the assistant and see the text input box:

Captura desde 2024-03-08 14-11-08

I can't do any action with the input text.

muchachagrande commented 6 months ago

Addendum:

Each time I open the assistant the log shows two PHP errors:

{"reqId":"EsGFVJxJCv5nIm6uJHwG","level":3,"time":"2024-03-08T14:19:01-03:00","remoteAddr":"xxxx:xxxx:xxxx:xxxx:2::10","user":"admin","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/assistant/api/v1/task-types","message":"require_once(/var/www/nextcloud/apps/assistant/lib/Service/../../vendor/autoload.php): Failed to open stream: No such file or directory at /var/www/nextcloud/apps/assistant/lib/Service/AssistantService.php#5","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0","version":"28.0.3.2","data":{"app":"PHP"},"id":"65eb4886df1b5"}

{"reqId":"EsGFVJxJCv5nIm6uJHwG","level":3,"time":"2024-03-08T14:19:01-03:00","remoteAddr":"xxxx:xxxx:xxxx:xxxx:2::10","user":"admin","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/assistant/api/v1/task-types","message":"Error: Failed opening required '/var/www/nextcloud/apps/assistant/lib/Service/../../vendor/autoload.php' (include_path='/var/www/nextcloud/3rdparty/pear/archive_tar:/var/www/nextcloud/3rdparty/pear/console_getopt:/var/www/nextcloud/3rdparty/pear/pear-core-minimal/src:/var/www/nextcloud/3rdparty/pear/pear_exception:/var/www/nextcloud/apps') at /var/www/nextcloud/apps/assistant/lib/Service/AssistantService.php#5","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0","version":"28.0.3.2","data":{"app":"PHP"},"id":"65eb4886df1ac"}

My Nextcloud is using PHP 8.1

julien-nc commented 6 months ago

Thank you for the bug report. We forgot to get Php dependencies in the release build script. v1.0.6 is out and should be fine. You should be able to update the app in a few minutes. Could you confirm it works now?

muchachagrande commented 6 months ago

Thank you... I've updated it and now it is working. I'm testing the new features but I'm closing this issue as it's solved.