Package Details: mautrix-telegram 0.9.0-8

Git Clone URL: (read-only, click to copy)
Package Base: mautrix-telegram
Description: A Matrix-Telegram hybrid puppeting/relaybot bridge.
Upstream URL:
Licenses: AGPLv3
Submitter: BrainDamage
Maintainer: BrainDamage
Last Packager: BrainDamage
Votes: 0
Popularity: 0.000000
First Submitted: 2020-11-09 15:48
Last Updated: 2021-04-07 21:37

Dependencies (26)

Required by (0)

Sources (4)

Latest Comments

istobic commented on 2021-04-16 17:05

Hey, thanks for taking time for your detailed response. I'll give you feedback once I have the clean setup.

BrainDamage commented on 2021-04-13 11:29

That's not correct, for one, the package never had such user, it's probably result of some leftover of another package or our own manual installation.

The db is not supposed to be located in /usr/share, /usr/share is for packaged files, not runtime data, the db should be located in /var/lib/username which is th user's home dir, as set per WorkingDirectory

I would advise you to uninstall the package, delete /usr/share/mautrix-telegram; reinstall and pay careful attention to any warning you get during installation about different permissions / users about more conflicting files

istobic commented on 2021-04-13 10:21

I'm getting

The job identifier is 5003.
Apr 13 12:19:05 <systemname> systemd[56102]: mautrix-telegram.service: Changing to the requested working directory failed: Permission denied
Apr 13 12:19:05 <systemname> systemd[56102]: mautrix-telegram.service: Failed at step CHDIR spawning alembic: Permission denied

from systemd. Any idea whats wrong? Settings from /usr/share:

drwxr-x--- 1 mx-telegram mx-telegram    112 Apr 13 12:13 mautrix-telegram
-rw-r--r-- 1 root        root        184320 Apr 13 12:23 mautrix-telegram.db

It seems suspicious, that the user here is mx-telegram instead of mautrix-telegram as defined in the mautrix-telegram.service

However, I got the service starting by editing the systemd unit (systemctl edit --full mautrix-telegram.service) and setting the WorkingDirectory to /usr/share/mautrix-telegram/ is this the intended WorkingDirectory?

L0ric0 commented on 2021-03-09 19:48

edit 2: raised issues at and

edit: it seems that python-magic (the python bindings published by the author of the file command) and python-magic-ahupp (looks like an independend implementation of the bindings) have a slightly different interface as with python-magic I'm getting the following exception: AttributeError: module 'magic' has no attribute 'from_buffer'. So the package should probably require python-magic-ahupp until that is fixed

could you please set the package to require a version of python-magic<0.5 as an exeption will be raised if a picture is recived over telegram and this message is not propagated to the matrix server

BrainDamage commented on 2021-01-29 17:16

There is no pip requirement ( it uses, and no trace of pip mention in the sources other than the docker script. It builds in a clean chroot here. How are you building it?

kauron commented on 2021-01-29 15:59

I had to manually install python-pip, as it wasn't listed as make dependency. Could you add it to the PKGBUILD?

BrainDamage commented on 2021-01-20 01:21

the error is intentional, the package on the aur won't work with the current release of python-telethon, either build yourself a lower version, wait for a new release, or switch to the -git package

istobic commented on 2021-01-19 19:01

Installation fails with:

==> ERROR: Could not resolve all dependencies.
error making: mautrix-telegram