Post AoiRSll0DoBx7veO3s by dj@parcero.bond
(DIR) More posts by dj@parcero.bond
(DIR) Post #AohpFkv6E6KwVXjzNo by dj@parcero.bond
2024-12-04T15:14:42.659736Z
0 likes, 0 repeats
@silverpill @fwc Any mitra chads know why I get this error when creating a new account?typing mitractl works and shows help info.Just installed mitra from .deb on debian 12. created postgres account just like instructions and config has matching password. Do i need to install rust?
(DIR) Post #Aohpwk812tAIVLHR0i by fwc@0.5dollah.click
2024-12-04T15:22:28.078156Z
0 likes, 0 repeats
@dj @silverpill I installed from .deb and I did not have to install rust. I got a similar error because my database was in the postgresql version 12 cluster, which mitra doesn't support. Do you know how to view where your database is in postgres? I have a feeling there's a similar thing going on here.
(DIR) Post #AohqZreozDIb9KHNJo by fwc@0.5dollah.click
2024-12-04T15:29:33.310311Z
0 likes, 0 repeats
@silverpill @djpg_lsclusters --> show clusters (versions) of postgresql installedpsql -p <port> --> show databases within a particular cluster (pg_lsclusters gives you the portMight need to switch to the postgres or mitra user to run the second command. To do so:sudo -u <username> bash
(DIR) Post #AohrLdDxx3mmHmUkgi by dj@parcero.bond
2024-12-04T15:38:11.384576Z
0 likes, 0 repeats
@fwc @silverpill I'm on postgres 17 and main cluster, i tried 16 and got same error.i can login with mitra user in psql too. I can see databases when logged into psql with \l and \+du shows me user attributes.I'm freaking close, i feel like mitra user needs some extra rights or config.yaml missing something.
(DIR) Post #AohtSF08buPl5wJ3Q0 by fwc@0.5dollah.click
2024-12-04T16:01:46.478915Z
0 likes, 0 repeats
@dj @silverpill Did you check the port number in config.yaml corresponds to the port number of your cluster?
(DIR) Post #Aohtdu56DSydghBj1s by dj@parcero.bond
2024-12-04T16:03:53.215210Z
0 likes, 0 repeats
@fwc @silverpill yes, its 5432 same as in postgresql.confI know it changed a few versions back.
(DIR) Post #AohtmpxSuo31VRsS2q by fwc@0.5dollah.click
2024-12-04T16:05:29.945841Z
0 likes, 0 repeats
@dj @silverpill Are you running mitractl with the Mitra user?
(DIR) Post #AohubP9EM3Dl7mUc88 by fwc@0.5dollah.click
2024-12-04T16:14:38.380959Z
0 likes, 0 repeats
@dj @silverpill when you use pg_lsclusters, the port in config.yaml corresponds to the cluster you're using?
(DIR) Post #AohxrsCoNzrHk1iE0O by dj@parcero.bond
2024-12-04T16:51:13.577440Z
0 likes, 0 repeats
@fwc @silverpill yeah ports match,i like doing commands this waysudo -Hu mitra mitractl create-account dj password adminbut i get the same with su mitra -s $SHELL -c "mitractl create-account dj password admin"I think its the config file somehow. Maybe password has character that triggers something. Doesn't like ! or @
(DIR) Post #AohxxjpgQhdlVhgtUW by fwc@0.5dollah.click
2024-12-04T16:52:17.281529Z
0 likes, 0 repeats
@dj @silverpill I know it does not accept capital letters in the username, so yes, this could be it.
(DIR) Post #Aoi08FQC2OjUHluIds by dj@parcero.bond
2024-12-04T17:16:35.938176Z
1 likes, 0 repeats
@fwc @silverpill it was the damn password, can't have special characters.
(DIR) Post #AoiLnbZsfEknud050y by silverpill@mitra.social
2024-12-04T21:18:57.973666Z
0 likes, 0 repeats
@dj @fwc Mitra doesn't validate user passwords, so all characters should work. Perhaps it needs to be quoted when you enter the command?Or was it a postgresql password in config.yaml? In that case you might need to quote it as well.Could you tell me what character caused an error?
(DIR) Post #AoiNHUeT4yTt4bxgbg by dj@parcero.bond
2024-12-04T21:35:59.488175Z
0 likes, 0 repeats
@silverpill @fwc The @ and the ! causes an error in the db url of config. I tried using single and double quotes but maybe i didn't do it right. Not a big deal as it's only available from localhost. Anyway it's working and I'm switching soon from pleroma, tired of not being able to follow people. Get ready for me to toot the mitra horn loudly.For changing themes is it only possible if you edit css and compile FE from source? I wasn't sure where it would go if i used my own front end or if i used an alternate FE.
(DIR) Post #AoiQq1qyRTk3kryEt6 by silverpill@mitra.social
2024-12-04T22:15:29.867207Z
0 likes, 0 repeats
@dj @fwc>The @ and the ! causes an error in the db url of config@ is special because it separates credentials from a hostname in URL. I think you can still use it if you percent-encode it (replace @ with %40).! doesn't seem to have any special meaning for postgresql URL parser (judging by a cursory look at the source code).>Anyway it's working and I'm switching soon from pleroma, tired of not being able to follow people. Get ready for me to toot the mitra horn loudly.Nice, I hope you'll like it. Mitra is not perfect and lacks some features, but it is actively developed, so don't hesitate to ping me if something is broken or missing.>For changing themes is it only possible if you edit css and compile FE from source? I wasn't sure where it would go if i used my own front end or if i used an alternate FE.There is an experimental/undocumented configuration parameter: web_client_theme_dir. If you put a file in that directory, the same file in web_client_dir will be overridden.Default mitra FE can load CSS variables from assets/custom.css, so you can customize some parts of it without re-compiling.Ask @tadano about his experience with this feature.
(DIR) Post #AoiRSll0DoBx7veO3s by dj@parcero.bond
2024-12-04T22:22:51.154735Z
0 likes, 0 repeats
@silverpill @fwc @tadano Cool, ty