”Failed to get system bot” after importing old data to a fresh install

26. elokuuta 2024 klo 8.55
Sijainti: Blogit: Mattermost Discussion Forums
Avainsanat: Mattermost

I’m just making this note here publicly, since I was first going to pose this as a question, but then managed to solve it by myself:

For background, I recently switched my Mattermost from a tar archive installation to installing it from the package repository, and simultaneously switched it from using a MySQL database to using PostgreSQL, all in one fell swoop by exporting the old content, doing a fresh install, and then importing. This appears to have mostly worked, with just user profile images having been lost, and passwords requiring a reset, both of which (I’ve gleaned from various places) were to be expected.

However, all bot accounts also seem to have been converted into normal user accounts somewhere during this process. So far the only issue I’ve discovered resulting from this is this entry getting logged repeatedly:

Failed to get system bot    caller="app/post.go:2205" component=post_reminders error="SqlBotStore.Get: Bot does not exist., resource "Bot" not found, id: <my system bot's id>"

I solved this by running

sudo -u mattermost mmctl user convert --bot "<bot id>" # replace <bot id> with your real system bot account id

Since that seems to have gone well (the error messages stopped), I went ahead and converted the rest of the bot accounts back to true bots likewise.

Vastaa viestiin sen kontekstissa (Mattermost Discussion Forums)

The issue here is that using special characters in your password on the DataSource line is broken

24. elokuuta 2024 klo 15.19
Sijainti: Keskustelupalstat: Mattermost Discussion Forums
Avainsanat: Mattermost, security

For anyone else stumbling across this thread when googling for this annoying problem: the issue here is that using special characters in your password on the DataSource line is broken: Can’t use special character in password in the DataSource property · Issue #1541 · mattermost/mattermost · GitHub

As stupid as that is, the easiest way to work around it is to set a password consisting of just alphanumeric characters. You shouldn’t have much use for it outside this anyway, so as not to make it ridiculously insecure.

Vastaa viestiin sen kontekstissa (Mattermost Discussion Forums)

It’s working just fine after switching to 2024.7/candidate

19. heinäkuuta 2024 klo 14.33
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Home Assistant

I’m on amd64 too, and yep, it’s working just fine after switching to 2024.7/candidate. Excellent, thank you!

Vastaa viestiin sen kontekstissa (Github)

Yeah, still not working for me either

19. heinäkuuta 2024 klo 7.58
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Home Assistant, Snap, Ubuntu

Yeah, still not working for me either. Restarting HA snap just results in the same traceback getting logged as before.

Settings > Devices & services > HACS shows it’s up to date (or at least at that same version, 1.34.0). I can’t find a ”Configuration” or ”HACS update” view under the HACS service, only the one with related Service info, Automations and so on (possibly because HACS is ”Not loaded”, which is the issue).

I don’t know if the host system has any bearing on this, but mine is running Ubuntu 20.04, and I’ll happily provide any other info if needed.

Screenshot from 2024-07-19 07-34-58

Screenshot from 2024-07-19 07-36-46

Vastaa viestiin sen kontekstissa (Github)

The traceback I have refers to pydantic

5. heinäkuuta 2024 klo 15.37
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Home Assistant, Python

Here’s the full traceback I have, unfiltered. It refers to pydantic, and it looks like something people have worked around by forcing pydantic to version 1.10.16. I barely speak any Python at all though, so I wouldn’t know what other implications this has, if any, but I hope it’s at least a clue.

ha.log

Vastaa viestiin sen kontekstissa (Github)

Puu kaatunut kuntoradalle

30. kesäkuuta 2024 klo 17.19
Sijainti: Muut: Oulun Palautepalvelu
Avainsanat: liikenne, turvallisuus

Puu kaatunut kuntoradalle.

Vastaa viestiin sen kontekstissa (Oulun Palautepalvelu)

Polarin tiiliskivi on viime kuukaudet jostain syystä aina ollut kahtia haljenneena pakkauksesta otettuna

5. kesäkuuta 2024 klo 17.36
Sijainti: Muut: Valio
Avainsanat: kuluttajuus, Linnanmaa, Oulu, Valio

Suosikkijuustoni on Valion 15-prosenttinen Polar (Valsa). Viime kuukaudet se on jostain syystä aina ollut kahtia haljenneena pakkauksesta otettuna. En tiedä onko vika logistiikassa vai tuotantopäässä, mutta teiltä onnistunee tuon syyn selvittäminen. Ostan juustoni useimmiten samasta myymälästä (Oulun Linnanmaan Prisma), eli myöskään käsittelyvirhe siellä ei ole poissuljettu.

Eihän tuo makuun tai syömäkelpoisuuteen vaikuta millään lailla, mutta tuo halkeilu tekee juustosta huonosti höylättävän, varsinkin kun ruukaan höylätä tiiliskiven päästä. Haljenneesta köntistä veistetyt siivut katkeilevat halkeamakohdista pikku pätkiksi.

Vastaa viestiin sen kontekstissa (Valio)

Nämä sateenkaarimaiset juovat löysin vasta jälkikäteen tästä kuvasta

8. toukokuuta 2024 klo 15.54
Sijainti: Muut: Taivaanvahti

Nämä sateenkaarimaiset juovat (kuvassa oikealla, puiden edustalla) löysin vasta jälkikäteen tästä kuvasta, eli paikan päällä en näitä huomannut; ehkä polarisoivien aurinkolasien takia, jollei sitten kyse ole vain kameran tuottamasta artefaktista. Ajattelin kuitenkin tarjota tunnistettavaksi, kun en keksinyt että mistä ilmiöstä on kyse. Lähinnä tuli mieleen jääsumuhalo, mutta vaikka täällä viime yönä pakkasta olikin, niin kuvaa ottaessani ilman lämpötila oli jo +2…3 °.

Vastaa viestiin sen kontekstissa (Taivaanvahti)

Sky’s yipping in his sleep is on par with the ”coffee” signing chimp as proof for dreams

26. huhtikuuta 2024 klo 19.21
Sijainti: Muut: A Problem Squared
Avainsanat: Bec Hill, uni

Wrt. episode 083: To me, Sky’s yipping in his sleep is on par with the ”coffee” signing chimp as evidence for dreams. Even if it is just a reflex, it’s in reaction to his _interpretation of his situation_ which, based on his behavior while awake, is ”I’m frustrated by not being able to keep up”. I’m sure he’s having that dream we’ve all had, where you’re trying to run, but your legs just feel like lumps of lead (which is probably your brain trying to make sense of not getting feedback from your sleep-paralysed muscles, despite bombarding them with ”RUN!” signals).

On another note, I found it hilarious how, back in episode 082, you were trying to channel future Bec, future Bec transmitted stomach rumbling noises, and then the food poisoning episode happened. You should have listened to future Bec!

Vastaa viestiin sen kontekstissa (A Problem Squared)

Auraus oikaissut asvaltin mutkan kohdalla pientareen kautta, ja se on nyt sulanut tuollaiseksi mutavelliksi

13. huhtikuuta 2024 klo 19.11
Sijainti: Muut: Oulun Palautepalvelu
Avainsanat: liikenne

Auraus oikaissut asvaltin mutkan kohdalla pientareen kautta, ja se on nyt sulanut tuollaiseksi mutavelliksi.

Vastaa viestiin sen kontekstissa (Oulun Palautepalvelu)

« Uudempia - Vanhempia »