Installed whisper, requires compiling

I recently upgraded my Nextcloud instance into an updated Nextcloud AIO on Unraid. I also installed whisper since I’m interested in the transcription feature, but I cannot run it. I assumed it was mostly just installing and running, what should I do next? Thanks in advance

Thanks a lot! Here’s all my specs and info (server name changed for privacy):

system information

  • Operating System: Linux 6.1.33-Unraid x86_64
  • CPU: Intel(R) Core™ i5-6500 CPU @ 3.20GHz (4 cores)
  • Memory: 31.33 GB

Server configuration detail

Operating system: Linux 6.1.33-Unraid #1 SMP PREEMPT_DYNAMIC Fri Jun 9 10:04:04 PDT 2023 x86_64

Webserver: Apache/2.4.57 (Unix) (fpm-fcgi)

Database: pgsql PostgreSQL 15.3 on x86_64-pc-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r10) 12.2.1 20220924, 64-bit

PHP version: 8.1.20

Modules 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 OPcache

Nextcloud version: 27.0.0 - 27.0.0.8

Updated from an older Nextcloud/ownCloud or fresh install: Fresh install

Where did you install Nextcloud from: Unraid Community Apps

Signing status

List of activated apps
Enabled:
 - activity: 2.19.0
 - admin_audit: 1.17.0
 - calendar: 4.4.2
 - circles: 27.0.0
 - cloud_federation_api: 1.10.0
 - cms_pico: 1.0.21
 - comments: 1.17.0
 - contacts: 5.3.1
 - contactsinteraction: 1.8.0
 - dashboard: 7.7.0
 - dav: 1.27.0
 - deck: 1.10.0
 - federatedfilesharing: 1.17.0
 - federation: 1.17.0
 - files: 1.22.0
 - files_fulltextsearch: 27.0.0
 - files_pdfviewer: 2.8.0
 - files_rightclick: 1.6.0
 - files_sharing: 1.19.0
 - files_trashbin: 1.17.0
 - files_versions: 1.20.0
 - firstrunwizard: 2.16.0
 - forms: 3.3.0
 - fulltextsearch: 27.0.0
 - fulltextsearch_elasticsearch: 27.0.0
 - integration_deepl: 1.1.0
 - integration_giphy: 1.0.6
 - logreader: 2.12.0
 - lookup_server_connector: 1.15.0
 - mail: 3.2.1
 - nextcloud-aio: 0.4.0
 - nextcloud_announcements: 1.16.0
 - notes: 4.8.0
 - notifications: 2.15.0
 - notify_push: 0.6.3
 - oauth2: 1.15.0
 - password_policy: 1.17.0
 - photos: 2.3.0
 - privacy: 1.11.0
 - provisioning_api: 1.17.0
 - recognize: 4.2.0
 - recommendations: 1.6.0
 - related_resources: 1.2.0
 - richdocuments: 8.1.0
 - serverinfo: 1.17.0
 - settings: 1.9.0
 - sharebymail: 1.17.0
 - socialsharing_email: 2.6.0
 - spreed: 17.0.0
 - stt_whisper: 1.0.4
 - support: 1.10.0
 - survey_client: 1.15.0
 - systemtags: 1.17.0
 - tasks: 0.15.0
 - text: 3.8.0
 - theming: 2.2.0
 - twofactor_backupcodes: 1.16.0
 - twofactor_totp: 9.0.0
 - user_status: 1.7.0
 - viewer: 2.1.0
 - weather_status: 1.7.0
 - workflowengine: 2.9.0
Disabled:
 - bruteforcesettings
 - encryption
 - files_external
 - suspicious_login
 - user_ldap

Configuration (config/config.php)
{
    "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": "nextcloud.server.es",
    "overwriteprotocol": "https",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "localhost",
        "nextcloud.server.es"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "pgsql",
    "version": "27.0.0.8",
    "overwrite.cli.url": "https:\/\/nextcloud.server.es\/",
    "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,
    "updater.release.channel": "stable",
    "updatedirectory": "\/nc-updater",
    "loglevel": "2",
    "app_install_overwrite": [
        "nextcloud-aio",
        "cms_pico"
    ],
    "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",
    "tempdirectory": "\/mnt\/ncdata\/tmp\/",
    "one-click-instance": true,
    "one-click-instance.user-limit": 100,
    "one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/",
    "htaccess.RewriteBase": "\/",
    "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",
    "mail_smtpsecure": "ssl",
    "mail_sendmailmode": "smtp",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "465",
    "mail_smtpauth": 1,
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***"
}

Cron Configuration: Array
(
[backgroundjobs_mode] => cron
[lastcron] => 1687097724
)

External storages: files_external is disabled

Encryption: no

User-backends:

  • OC\User\Database

Talk configuration:

STUN servers

  • nextcloud.server.es:3478

TURN servers

  • turn:nextcloud.server.es:3478 - udp,tcp

Signaling servers (mode: default):

Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0

Nextcloud version (eg, 26.0.1): 27
Operating system and version (eg, Ubuntu 22.04): Unraid Version 6.12.0 2023-06-14
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.57
PHP version (eg, 8.1): 8.1.20
Database (sqlite or MariaDB or Postgres) PostgreSQL 15.3
Docker (compose)
Snap
Is this the first time you’ve seen this error? yes/no

The issue you are facing:

Cannot run whisper Speech to Text. Whisper Speech-To-Text - Apps - App Store - Nextcloud

  • Steps to replicate it:
  1. Install whisper from the Nextcloud app repository.
  2. Access whisper in the admin settings.
  3. Download models from the terminal.
  4. Error message: Could not execute the whisper executable. You may need to compile whisper yourself for it to run on this server's processor architecture.

hey @redmomi and welcome to the community forum of NC.

Welcome to the wonderful world of Nextcloud and it’s amazing community.

Sadly enough your post is missing almost all specific technical information. Thanks for your post, but please take a little time to get acquainted with the forum and make a stronger effort to troubleshoot. It is the least you can do when asking others to help you:

  • Search your question as keywords on this forum. If you find something useful, link it directly into this post.
  • Search the internet using your issue as generic keywords. Specificity is king
  • Check Nextcloud admin documentation

Please edit and update your post to include:

These are the exact same steps we volunteers will be following to help you! So, get to it!

Cheerio,
JK

PS: which NC-version are you on?
And is whisper compatible with that version?

These are first two questions that came up into my mind.

Thanks for your reply! Post updated with more info :slight_smile:

Hi @redmomi probably best to open an issue about this here: Issues · nextcloud/stt_whisper · GitHub. The app is new in Nextcloud 27 and probably not well tested yet. So good to report any issues to its maintainer.