# \[SOLVED\] Can't install Huginn

**URL:** <https://forum.yunohost.org/t/solved-cant-install-huginn/39813>\
**Category:** Support apps\
**Tags:** huginn, english\
**Created:** [August 29, 2025, 1:40pm UTC](https://forum.yunohost.org/t/solved-cant-install-huginn/39813 "2025-08-29T13:40:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sanook](https://forum.yunohost.org/user_avatar/forum.yunohost.org/sanook/32/12499_2.png) [@Sanook](https://forum.yunohost.org/u/Sanook)\
**Post date:** [August 29, 2025, 1:40pm UTC](https://forum.yunohost.org/t/solved-cant-install-huginn/39813/1 "2025-08-29T13:40:41Z")

</div>

**What type of hardware are you using** : Old laptop or computer  
**What YunoHost version are you running** : 12.1.15.1  
**What app is this about** : [huginn 2025.03.23~ynh1](https://apps.yunohost.org/app/huginn)

### Describe your issue

Can’t install the app.

Bare Metal, 32 GB RAM

### Share relevant logs or error messages

[https://paste.yunohost.org/raw/yepagomizo](https://paste.yunohost.org/raw/yepagomizo)

```auto
Warning: Here's an extract of the logs before the crash. It might help debugging the error:
Info: DEBUG - /var/www/huginn/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.7/lib/active_record/tasks/database_tasks.rb:497:in `load_seed'
Info: DEBUG - /var/www/huginn/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.7/lib/active_record/railties/databases.rake:397:in `block (2 levels) in <main>'
Info: DEBUG - /var/www/huginn/vendor/bundle/ruby/3.2.0/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
Info: DEBUG - /var/www/huginn/vendor/bundle/ruby/3.2.0/gems/bundler-2.6.2/lib/bundler/cli/exec.rb:59:in `load'
Info: DEBUG - /var/www/huginn/vendor/bundle/ruby/3.2.0/gems/bundler-2.6.2/lib/bundler/cli/exec.rb:59:in `kernel_load'
Info: DEBUG - /var/www/huginn/vendor/bundle/ruby/3.2.0/gems/bundler-2.6.2/lib/bundler/cli/exec.rb:23:in `run'
Info: DEBUG - /var/www/huginn/vendor/bundle/ruby/3.2.0/gems/bundler-2.6.2/lib/bundler/cli.rb:452:in `exec'
Info: DEBUG - /var/www/huginn/vendor/bundle/ruby/3.2.0/gems/bundler-2.6.2/lib/bundler/vendor/thor/lib/thor/command.rb:28:in `run'
Info: DEBUG - /var/www/huginn/vendor/bundle/ruby/3.2.0/gems/bundler-2.6.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
Info: DEBUG - /var/www/huginn/vendor/bundle/ruby/3.2.0/gems/bundler-2.6.2/lib/bundler/vendor/thor/lib/thor.rb:538:in `dispatch'
Info: DEBUG - /var/www/huginn/vendor/bundle/ruby/3.2.0/gems/bundler-2.6.2/lib/bundler/cli.rb:35:in `dispatch'
Info: DEBUG - /var/www/huginn/vendor/bundle/ruby/3.2.0/gems/bundler-2.6.2/lib/bundler/vendor/thor/lib/thor/base.rb:584:in `start'
Info: DEBUG - /var/www/huginn/vendor/bundle/ruby/3.2.0/gems/bundler-2.6.2/lib/bundler/cli.rb:29:in `start'
Info: DEBUG - /var/www/huginn/vendor/bundle/ruby/3.2.0/gems/bundler-2.6.2/exe/bundle:28:in `block in <top (required)>'
Info: DEBUG - /var/www/huginn/vendor/bundle/ruby/3.2.0/gems/bundler-2.6.2/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
Info: DEBUG - /var/www/huginn/vendor/bundle/ruby/3.2.0/gems/bundler-2.6.2/exe/bundle:20:in `<top (required)>'
Info: DEBUG - /opt/rbenv/versions/huginn/bin/bundle:25:in `<main>'
Info: DEBUG - Tasks: TOP => db:seed
Info: DEBUG - (See full trace by running task with --trace)
Info: DEBUG - + ynh_exit_properly
Warning: Removing the app after installation failure…

```

---

<div class="post-metadata">

**Author:** ![rodinux](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rodinux/32/7029_2.png) [@rodinux](https://forum.yunohost.org/u/rodinux)\
**Post date:** [August 30, 2025, 9:24am UTC](https://forum.yunohost.org/t/solved-cant-install-huginn/39813/2 "2025-08-30T09:24:21Z")

</div>

It seem you have use a admin user with not enough characters `must be between 3 and 190 characters in length`

```auto
2025-08-29 14:34:46,059: DEBUG - + ynh_exec_warn_less bundle exec rake db:seed RAILS_ENV=production SEED_USERNAME=ga SEED_PASSWORD= **********
2025-08-29 14:34:46,059: DEBUG - + [[7 -eq 1]]
2025-08-29 14:34:46,059: DEBUG - + bundle exec rake db:seed RAILS_ENV=production SEED_USERNAME=ga SEED_PASSWORD= **********
2025-08-29 14:34:47,834: DEBUG - rake aborted!
2025-08-29 14:34:47,835: DEBUG - ActiveRecord::RecordInvalid: Validation failed: Username can only contain letters, numbers, underscores, and dashes, and must be between 3 and 190 characters in length. (ActiveRecord::RecordInvalid)

```

---

<div class="post-metadata">

**Author:** ![Sanook](https://forum.yunohost.org/user_avatar/forum.yunohost.org/sanook/32/12499_2.png) [@Sanook](https://forum.yunohost.org/u/Sanook)\
**Post date:** [August 30, 2025, 10:39am UTC](https://forum.yunohost.org/t/solved-cant-install-huginn/39813/3 "2025-08-30T10:39:47Z")

</div>

> [@rodinux](#):
>
> you have use a admin user with not enough characters

Yes, it’s a Linux username, it has only 2 characters.

> [@rodinux](#):
>
> must be between 3 and 190 characters in length

That must be **wrong** because `man useradd` says that a Linux username can have max. 32 characters.

---

<div class="post-metadata">

**Author:** ![rodinux](https://forum.yunohost.org/user_avatar/forum.yunohost.org/rodinux/32/7029_2.png) [@rodinux](https://forum.yunohost.org/u/rodinux)\
**Post date:** [August 30, 2025, 10:47am UTC](https://forum.yunohost.org/t/solved-cant-install-huginn/39813/4 "2025-08-30T10:47:55Z")

</div>

this limit is not a problem from unix but from this app Ruby on Rails. Active Records seems reclaim minimum 3 characters.

Here is the code from the app Rails with this limit

> <https://github.com/huginn/huginn/blob/1e0c359a46b1e84eb8c658404212eaf693b30e61/app/models/user.rb#L14-L20>

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [September 14, 2025, 10:48am UTC](https://forum.yunohost.org/t/solved-cant-install-huginn/39813/5 "2025-09-14T10:48:32Z")

</div>

Closed on September 14, 2025, 10:48am UTC

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
