Hey ya'll. So I have Funkwhale set up in Docker with LDAP information in my .env file. I'm able to log in with my user account in ldap but am getting errors when trying to view my profile. The page just has a never ending circle loading picture and I'm getting an error in the logs that says:
funkwhale_api.federation.models.Actor.DoesNotExist: Actor matching query does not exist.
My LDAP env variables are:
LDAP_ENABLED=True
LDAP_SERVER_URI=ldap://<ip>:389
LDAP_BIND_DN=cn=<binddn>,dc=whytheyfight,dc=com
LDAP_BIND_PASSWORD=<bindpass>
LDAP_SEARCH_FILTER=(|(uid={0})(mail={0}))
LDAP_START_TLS=False
LDAP_ROOT_DN=dc=whytheyfight,dc=com
LDAP_USER_ATTR_MAP=first_name:cn, last_name:sn, username:uid, email:mail
I think I had this issue last time I tried messing with Funkwhale and asked about it in the old forum but can't find the link so I'm sorry if this happens to be a duplicated issue! Thank you for any support provided and for making such a cool open source project 🙂
Update: Tried logging in with other users pulled from LDAP and it looks like all their profiles work but mine isn't.
Really not sure why though.
Update 2: Went into the admin panel and checked through Federation > Accounts and noticed my profile preferred username was the only one on the list that began with a capital letter. I changed all the links and preferred username sections from a capital M to a lowercase one, saved it, and tried to view my profile again. This time it worked.
Still not sure why that was the only account with a capital letter. I tried creating another account in my LDAP with a capital letter in the username and the issue didn't replicate. Just this one admin user that I use as my main profile.
Update 3: Not sure how to lock the thread or mark as solved or whatever. I could delete it but feel like it might be a helpful reference to someone else who may have the same issue.