question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

change_user_group can't find the user telegramd

See original GitHub issue

Hi everybody, @luckydonald

The problem

It works really fine, it is stable. But suddenly, Stop to send me messages due to “change_user_group can’t find the user telegramd”. That is not frequently (That is the message that appears on my log)

On my code there is not a Error, at least, my logs does not indicated to me, It just stop sending messages. due to that message.

How I can fix this: “change_user_group can’t find the user telegramd”.

Note: that message appears at the beginning of my executable code, but it works really fine, after that message happen.

Your environment

pytg and your Linux - Raspbian

Steps to reproduce

It came working so well, but suddenly appers the error (“change_user_group can’t find the user telegramd”), so I have to relaunch the code.


thanks

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
luckydonaldcommented, Jul 3, 2017

According to main.c:559, if you start the cli as unix user 0 (root user), it will try to use the telegramd user instead.

You can

  • start the client from a non-root user
  • provide a non-root user to switch to (-U someuser flag)
  • create the non-root user telegramd, like the debian install script would
0reactions
victor-abcommented, Jul 4, 2017

@luckydonald Yeah, that was the problem. Thank you very much for your time!

Read more comments on GitHub >

github_iconTop Results From Across the Web

change_user_group: can't find the user telegramd to switch to ...
Hello all, I installed telegram-cli on a Raspberry Pi B+. After registration, I keep getting this error: sudo /home/pi/tg/bin/telegram-cli ...
Read more >
Why can't I find a username on Telegram? - Remodel or Move
The first reason is that the person you are looking for might not have a username. If a person doesn't have a username,...
Read more >
How to Find a User ID in Telegram - Alphr
First, open your Telegram app. Then, type “userinfobot” in your contacts search bar. If you can't find this “profile,” try adding an “@”...
Read more >
How to Find a User ID in Telegram! - YouTube
Unlike other chat platforms like iMessage, Telegram uses identification tags rather than phone numbers, which lets you keep your information ...
Read more >
How to Add a Person by Username in Telegram - YouTube
Your browser can't play this video. ... How to add somebody by username on Telegram ? How to add a ... How to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found