Hi,

I run the combination of Lemmy-easy-deploy (https://github.com/ubergeek77/Lemmy-Easy-Deploy) and lemmy-subscriber-bot (https://github.com/lflare/lemmy-subscriber-bot)

I can’t seem t get the bot working. Well, I get it to run, but after that it doesn’t do anything, I think. My “all” is still only the stuff I followed on my server.

Can anyone jump in to see what I’m doing wrong?

Steps I did:

log in to my Linux server
mkdir lemmybot
cd lemmybot
git clone https://github.com/lflare/lemmy-subscriber-bot
docker run --name lemmy-subscriber-bot -dt --env 'LEMMY_USERNAME=subscriber_bot' --env 'LEMMY_PASSWORD=subscriber_bot' --env 'LEMMY_DOMAIN=waste-of.space' lflare/lemmy-subscriber-bot

maybe_its_flare
link
fedilink
English
1
edit-2
1Y

deleted by creator

@infamousbelgian@waste-of.space
creator
link
fedilink
English
01Y

Sure, it seems like a user error?

Do I need to create a user first on my instance?

root@lemmy-server:~/lemmybot/lemmy-subscriber-bot# docker logs lemmy-subscriber-bot
2023-07-11 11:02:27.636 | ERROR    | __main__:retrieve_jwt:87 - {"error":"couldnt_find_that_username_or_email"}
Traceback (most recent call last):
  File "//bot.py", line 248, in <module>
    main()
  File "//bot.py", line 244, in main
    bot.start()
  File "//bot.py", line 49, in start
    self.retrieve_jwt()
  File "//bot.py", line 88, in retrieve_jwt
    raise e
  File "//bot.py", line 84, in retrieve_jwt
    self.jwt = r.json()["jwt"]
               ~~~~~~~~^^^^^^^
KeyError: 'jwt'
maybe_its_flare
link
fedilink
English
1
edit-2
1Y

deleted by creator

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 279 users / day
  • 589 users / week
  • 1.34K users / month
  • 4.55K users / 6 months
  • 1 subscriber
  • 3.47K Posts
  • 69.3K Comments
  • Modlog