Skip to content

unable to start service: timed out #Ubuntu22.04_InstallationError #1484

Closed

Description

@navaneethnpk

I installed espanso on my ubuntu 22.04. It's showing the below error.

user@ardra:~/Downloads$ **espanso -V**
espanso 2.1.8
user@ardra:~/Downloads$ **espanso status**
espanso is not running
user@ardra:~/Downloads$ **espanso start**
unable to start service: timed out
Hint: sometimes this happens because another Espanso process is left running for some reason.
      Please try running 'espanso restart' or manually killing all Espanso processes, then try again.
user@ardra:~/Downloads$ **espanso stop**
espanso is not running!
user@ardra:~/Downloads$ **espanso start**
unable to start service: timed out
Hint: sometimes this happens because another Espanso process is left running for some reason.
      Please try running 'espanso restart' or manually killing all Espanso processes, then try again.
user@ardra:~/Downloads$ **espanso restart**
espanso is not running!
unable to start service: timed out
Hint: sometimes this happens because another Espanso process is left running for some reason.
      Please try running 'espanso restart' or manually killing all Espanso processes, then try again.

Activity

  1. added
    bug
    on Dec 22, 2022
  2. marsender commented on Jan 8, 2023

    @marsender

    Hi Federico,
    I've the same issue on Wayland, Ubuntu 22.10:

    espanso start --unmanaged
    unable to start service: timed out
    

    Please tell me if you need more info.

  3. zz0rk commented on Jan 29, 2023

    @zz0rk

    Same here on Debian 11 (bullseye), Linux 5.10.0-21-amd64, Wayland

    $ espanso start
    unable to start service: timed out
    Hint: sometimes this happens because another Espanso process is left running for some reason.
    Please try running 'espanso restart' or manually killing all Espanso processes, then try again.

    EDIT: no other services of espanso are running

  4. zz0rk commented on Feb 4, 2023

    @zz0rk

    I resolved my issue by re-runnning

    sudo setcap "cap_dac_override+p" $(which espanso)

    Thank you

  5. blairfrandeen commented on Feb 20, 2023

    @blairfrandeen

    I also had this error last week. However, I had already run sudo setcap "cap_dac_override+p" $(which espanso), and I kept getting the same error.

    It turns out that the problem was that I still had a ~/.config/espanso/match/base.yml file which had a broken symbolic link to my dotfiles. Removing the ~/.config/espanso directory and letting espanso recreate it seemed to fix the problem.

    Try manually backing up and then removing your configuration directory and see if that helps.

  6. alexlyzhov commented on Aug 6, 2023

    @alexlyzhov

    Same error and none of the solutions described above work.

    Edit: This probably happened because I had Colemak layout. I don't know why but adding this to ~/.config/default.yml has helped me:

    keyboard_layout:
      layout: us
      variant: colemak
    
  7. petr-fischer commented on Oct 5, 2023

    @petr-fischer

    I have this problem on ubuntu 23.04. Installed as snap.

    sudo setcap "cap_dac_override+p" $(which espanso) gives me error:

    Invalid file '/snap/bin/espanso' for capability operation
    

    espanso start error:

    unable to start service: timed out
    Hint: sometimes this happens because another Espanso process is left running for some reason.
          Please try running 'espanso restart' or manually killing all Espanso processes, then try again.
    

    EDIT: this error occurs only on wayland

  8. peter-englmaier commented on Dec 19, 2023

    @peter-englmaier

    Same error and none of the solutions described above work.

    Edit: This probably happened because I had Colemak layout. I don't know why but adding this to ~/.config/default.yml has helped me:

    keyboard_layout:
      layout: us
      variant: colemak
    

    For me, this had to be in ~/.config/espanso/config/default.yml, and I had to change the options to

    keyboard_layout:
      layout: us
      rules: evdev
      model: pc105
    

    This I got from the setxkbmap -query command:

    $ setxkbmap -query
    rules:      evdev
    model:      pc105
    layout:     us
    

    I am using wayland on ubuntu 22.04.

    Now, I see that the service is running normal ( systemctl --user status espanso and journalctl --user-unit espanso).

  9. heixxxa commented on Dec 25, 2024

    @heixxxa

    Same error and none of the solutions described above work.

    Edit: This probably happened because I had Colemak layout. I don't know why but adding this to ~/.config/default.yml has helped me:

    keyboard_layout:
      layout: us
      variant: colemak
    

    Thanks very much, I also successed by this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions