nextcloud / stt_whisper

Speech-To-Text provider running OpenAI Whisper locally
23 stars 0 forks source link

New error from Nextcloud Log #27

Closed romi1996 closed 10 months ago

romi1996 commented 11 months ago

Level: Fatal App: stt_whisper Message: Error: Call to undefined method OCP\AppFramework\Bootstrap\IRegistrationContext@anonymous::registerSetupCheck() /var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php - line 142:

OCA\SttWhisper\AppInfo\Application->register([ "OCP\AppF ... "])

/var/www/html/lib/private/AppFramework/Bootstrap/Coordinator.php - line 90:

OC\AppFramework\Bootstrap\Coordinator->registerApps([ "files","a ... "])

/var/www/html/lib/base.php - line 700:

OC\AppFramework\Bootstrap\Coordinator->runInitialRegistration()

/var/www/html/lib/base.php - line 1196:

OC::init()

/var/www/html/index.php - line 34:

require_once("/var/www/html/lib/base.php")

occ $ support:report

Server configuration detailOperating system: Linux 5.15.133.1-microsoft-standard-WSL2 #1 SMP Thu Oct 5 21:02:42 UTC 2023 x86_64Webserver: Apache/2.4.58 (Unix) (fpm-fcgi)Database: pgsql PostgreSQL 15.4 on x86_64-pc-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r10) 12.2.1 20220924, 64-bitPHP version: 8.1.25Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, ftp, hash, iconv, json, mbstring, SPL, session, PDO, pdo_sqlite, bz2, posix, readline, Reflection, standard, SimpleXML, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, cgi-fcgi, apcu, bcmath, Phar, exif, gd, gmp, imagick, imap, intl, ldap, memcached, pcntl, pdo_pgsql, pgsql, redis, smbclient, sodium, sysvsem, zip, libsmbclient, Zend OPcacheNextcloud version: 27.1.3 - 27.1.3.2Updated from an older Nextcloud/ownCloud or fresh install: Where did you install Nextcloud from: unknown
Signing status[]
List of activated appsEnabled: - activity: 2.19.0 - admin_audit: 1.17.0 - announcementcenter: 6.7.0 - app_api: 1.4.4 - assistant: 1.0.2 - audioplayer: 3.4.0 - bruteforcesettings: 2.7.0 - calendar: 4.5.3 - call_summary_bot: 1.0.0 - camerarawpreviews: 0.8.2 - circles: 27.0.1 - cloud_federation_api: 1.10.0 - cloud_py_api: 0.1.8 - co2clock: 1.0.2 - comments: 1.17.0 - contacts: 5.4.2 - contactsinteraction: 1.8.0 - dashboard: 7.7.0 - dav: 1.27.0 - deck: 1.11.1 - documentserver_community: 0.1.13 - drawio: 2.1.4 - duplicatefinder: 1.1.3 - facerecognition: 0.9.31 - federatedfilesharing: 1.17.0 - federation: 1.17.0 - files: 1.22.0 - files_antivirus: 5.4.0 - files_fulltextsearch: 27.0.1 - files_pdfviewer: 2.8.0 - files_reminders: 1.0.0 - files_rightclick: 1.6.0 - files_sharing: 1.19.0 - files_snapshots: 1.0.7 - files_texteditor: 2.15.1 - files_trashbin: 1.17.0 - files_versions: 1.20.0 - files_zip: 1.4.0 - firstrunwizard: 2.16.0 - forms: 3.4.3 - fulltextsearch: 27.0.3 - fulltextsearch_elasticsearch: 27.0.5 - groupfolders: 15.3.1 - imageconverter: 1.3.5 - integration_google: 2.1.0 - integration_openai: 1.1.2 - llm: 1.2.1 - logreader: 2.12.0 - lookup_server_connector: 1.15.0 - mediadc: 0.3.7 - metadata: 0.19.0 - music: 1.9.1 - nextcloud-aio: 0.4.0 - nextcloud_announcements: 1.16.0 - notes: 4.8.1 - notifications: 2.15.0 - notify_push: 0.6.6 - oauth2: 1.15.1 - occweb: 0.1.1 - onlyoffice: 8.2.4 - password_policy: 1.17.0 - photos: 2.3.0 - previewgenerator: 5.4.0 - privacy: 1.11.0 - provisioning_api: 1.17.0 - recommendations: 1.6.0 - related_resources: 1.2.0 - richdocuments: 8.2.3 - richdocumentscode: 23.5.503 - root_cache_cleaner: 0.1.5 - serverinfo: 1.17.0 - settings: 1.9.0 - sharebymail: 1.17.0 - socialsharing_facebook: 3.0.0 - spreed: 17.1.4 - stt_helper: 1.0.0 - stt_whisper: 1.0.7 - support: 1.10.0 - survey_client: 1.15.0 - suspicious_login: 5.0.0 - systemtags: 1.17.0 - tables: 0.6.3 - tasks: 0.15.0 - text: 3.8.0 - theming: 2.2.0 - thesearchpage: 1.2.1 - translate: 1.2.0 - twofactor_backupcodes: 1.16.0 - twofactor_totp: 9.0.0 - user_status: 1.7.0 - video_converter: 1.0.6 - viewer: 2.1.0 - weather_status: 1.7.0 - workflowengine: 2.9.0Disabled: - analytics: 4.11.0 - encryption - files_external - fileslibreofficeedit: 1.1.0 - officeonline: 2.0.2 - registration: 2.2.0 - user_ldap
Configuration (config/config.php){ "one-click-instance": true, "one-click-instance.user-limit": 100, "memcache.local": "\\OC\\Memcache\\APCu", "apps_paths": [ { "path": "\/var\/www\/html\/apps", "url": "\/apps", "writable": false }, { "path": "\/var\/www\/html\/custom_apps", "url": "\/custom_apps", "writable": true } ], "check_data_directory_permissions": false, "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "password": "***REMOVED SENSITIVE VALUE***", "port": 6379 }, "overwritehost": "localhost", "overwriteprotocol": "https", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "localhost", "localhost" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "pgsql", "version": "27.1.3.2", "overwrite.cli.url": "https:\/\/localhost\/", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "maintenance": false, "loglevel": "2", "log_type": "file", "logfile": "\/var\/www\/html\/data\/nextcloud.log", "log_rotate_size": "10485760", "log.condition": { "apps": [ "admin_audit" ] }, "preview_max_x": "2048", "preview_max_y": "2048", "jpeg_quality": "60", "enabledPreviewProviders": { "1": "OC\\Preview\\Image", "2": "OC\\Preview\\MarkDown", "3": "OC\\Preview\\MP3", "4": "OC\\Preview\\TXT", "5": "OC\\Preview\\OpenDocument", "6": "OC\\Preview\\Movie", "7": "OC\\Preview\\Krita", "0": "OC\\Preview\\Imaginary" }, "enable_previews": true, "upgrade.disable-web": true, "mail_smtpmode": "smtp", "trashbin_retention_obligation": "auto, 30", "versions_retention_obligation": "auto, 30", "activity_expire_days": "30", "simpleSignUpLink.shown": false, "share_folder": "\/Shared", "one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/", "upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726", "updatedirectory": "\/nc-updater", "davstorage.request_timeout": 3600, "htaccess.RewriteBase": "\/", "dbpersistent": false, "files_external_allow_create_new_local": false, "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "allow_local_remote_servers": true, "preview_imaginary_url": "http:\/\/nextcloud-aio-imaginary:9000", "app_install_overwrite": [ "documentserver_community" ], "onlyoffice": { "jwt_secret": "d610575cb31c3e377668c7a9bf884ffb883aeb95216ed0ec", "jwt_header": "AuthorizationJwt" }}
Cron Configuration: Array( [backgroundjobs_mode] => cron [lastcron] => 1703561968)External storages: files_external is disabledEncryption: noUser-backends: OC\User\DatabaseTalk configuration: STUN servers localhost:3478TURN servers turn:localhost:3478 - udp,tcpSignaling servers (mode: default): https://localhost/standalone-signaling/ - 1.2.0Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36

kyteinsky commented 10 months ago

Hi, thanks for reporting this. Setup checks are supported from NC 28. It seems the min supported version bump in appinfo/info.xml was not done by me. It will be fixed in the new release in a few days.
In any case, you will have to upgrade to NC 28 to use this app.