{"id":1285,"date":"2025-12-14T13:00:52","date_gmt":"2025-12-14T12:00:52","guid":{"rendered":"https:\/\/www.homeserver.lu\/?p=1285"},"modified":"2025-12-14T13:08:11","modified_gmt":"2025-12-14T12:08:11","slug":"funkwhale-admin","status":"publish","type":"post","link":"https:\/\/www.homeserver.lu\/?p=1285","title":{"rendered":"Funkwhale user admin"},"content":{"rendered":"\n<p>To check if users are active in database, or if they confirmed the registration email, start by connecting to the postgres database on your docker host:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>docker exec -it funkwhale2_postgres psql -U funkwhale -d funkwhale\n<\/code><\/pre><\/div>\n\n\n\n<p>Confirm registration &amp; confirmation status:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>SELECT\n  id,\n  username,\n  email,\n  is_active,\n  date_joined,\n  last_login\nFROM users_user\nORDER BY date_joined DESC;\n<\/code><\/pre><\/div>\n\n\n\n<p>will output something like:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code> id | username |          email          | is_active |          date_joined          |          last_login           \n----+----------+-------------------------+-----------+-------------------------------+-------------------------------\n  4 | Paul     | paulXXX@domain.com      | t         | 2025-12-14 11:18:31.248306+00 | 2025-12-14 11:18:32.49417+00\n  3 | Mary     | maryXYZ@domain.com      | t         | 2025-12-13 23:33:18.022068+00 | 2025-12-13 23:33:20.309663+00\n  1 | admin    | siteadmin@domain.com    | t         | 2025-12-13 23:13:51.537683+00 | 2025-12-13 23:32:35.71689+00\n(3 rows)<\/code><\/pre><\/div>\n\n\n\n<p>Find users who registered but never logged in:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>SELECT username, email\nFROM users_user\nWHERE last_login IS NULL;\n<\/code><\/pre><\/div>\n\n\n\n<p>Find users who registered but never confirmed:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>SELECT username, email\nFROM users_user\nWHERE is_active = false;\n<\/code><\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p>To check if users are active in database, or if they confirmed the registration email, start by connecting to the postgres database on your docker host: Confirm registration &amp; confirmation status: will output something like: Find users who registered but never logged in: Find users who registered but never confirmed:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-1285","post","type-post","status-publish","format-standard","hentry","category-funkwhale"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.homeserver.lu\/index.php?rest_route=\/wp\/v2\/posts\/1285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.homeserver.lu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.homeserver.lu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.homeserver.lu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.homeserver.lu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1285"}],"version-history":[{"count":2,"href":"https:\/\/www.homeserver.lu\/index.php?rest_route=\/wp\/v2\/posts\/1285\/revisions"}],"predecessor-version":[{"id":1289,"href":"https:\/\/www.homeserver.lu\/index.php?rest_route=\/wp\/v2\/posts\/1285\/revisions\/1289"}],"wp:attachment":[{"href":"https:\/\/www.homeserver.lu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.homeserver.lu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.homeserver.lu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}