# Friendica Log in Problems

**URL:** <https://forum.yunohost.org/t/friendica-log-in-problems/34969>\
**Category:** Support apps\
**Tags:** friendica, install, english\
**Created:** [January 23, 2025, 6:48pm UTC](https://forum.yunohost.org/t/friendica-log-in-problems/34969 "2025-01-23T18:48:34Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![boxingpreacher](https://forum.yunohost.org/user_avatar/forum.yunohost.org/boxingpreacher/32/10699_2.png) [@boxingpreacher](https://forum.yunohost.org/u/boxingpreacher)\
**Post date:** [January 23, 2025, 6:48pm UTC](https://forum.yunohost.org/t/friendica-log-in-problems/34969/1 "2025-01-23T18:48:35Z")

</div>

**What type of hardware are you using** : Old laptop or computer  
**What YunoHost version are you running** : 12.0.11  
**What app is this about** : Friendica

### Describe your issue

I know this has been asked and answered before, but I cannot get an answer that works. I installed Friendica, and tried to login on its URL using my admin name and password from the setup process. No matter what, it fails to let me in and just returns to the login page. I read on and found that people said you need to register a user with the admin login details, but when I press the button to register, it takes me to [url]/register, which comes up as a blank page, no matter how many times I refresh it. I’ve tried logging in on various devices, all to the same result.

### Share relevant logs or error messages

[https://paste.yunohost.org/raw/fafozinome](https://paste.yunohost.org/raw/fafozinome)

---

<div class="post-metadata">

**Author:** ![orhtej2](https://forum.yunohost.org/user_avatar/forum.yunohost.org/orhtej2/32/8943_2.png) [@orhtej2](https://forum.yunohost.org/u/orhtej2)\
**Post date:** [January 23, 2025, 10:51pm UTC](https://forum.yunohost.org/t/friendica-log-in-problems/34969/2 "2025-01-23T22:51:28Z")

</div>

Given it does not work anyway, can you please try uninstalling and installing from `testing` branch?

The custom URL to use in web admin is `https://github.com/YunoHost-Apps/friendica_ynh/tree/testing`.

This branch actually runs Friendica’s auto installer, worked (somewhat) when I tried it just now.

---

<div class="post-metadata">

**Author:** ![orhtej2](https://forum.yunohost.org/user_avatar/forum.yunohost.org/orhtej2/32/8943_2.png) [@orhtej2](https://forum.yunohost.org/u/orhtej2)\
**Post date:** [January 24, 2025, 12:01pm UTC](https://forum.yunohost.org/t/friendica-log-in-problems/34969/3 "2025-01-24T12:01:30Z")

</div>

~~nevermind, it’s not helping 🙄~~

mind, it is helping if you clear the cache 🤷

---

<div class="post-metadata">

**Author:** ![tokenwizard](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tokenwizard/32/11319_2.png) [@tokenwizard](https://forum.yunohost.org/u/tokenwizard)\
**Post date:** [January 24, 2025, 2:23pm UTC](https://forum.yunohost.org/t/friendica-log-in-problems/34969/4 "2025-01-24T14:23:41Z")

</div>

Anybody got any more ideas? This seems to be an ongoing/recurring issue with no real solution provided.

I just installed all app/package updates, restarted the server, then installed Friendica with no errors. At the end it says I can log in at the friendica URL I created and the YH user I selected with me usual YH password.

But of course that does not work. It just drops me back to the Login page.

---

<div class="post-metadata">

**Author:** ![tokenwizard](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tokenwizard/32/11319_2.png) [@tokenwizard](https://forum.yunohost.org/u/tokenwizard)\
**Post date:** [January 24, 2025, 2:25pm UTC](https://forum.yunohost.org/t/friendica-log-in-problems/34969/5 "2025-01-24T14:25:11Z")

</div>

When trying to use the Register button, the page that loads is indeee just blank. The source for that page is literally just ‘1’

---

<div class="post-metadata">

**Author:** ![tokenwizard](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tokenwizard/32/11319_2.png) [@tokenwizard](https://forum.yunohost.org/u/tokenwizard)\
**Post date:** [January 24, 2025, 2:26pm UTC](https://forum.yunohost.org/t/friendica-log-in-problems/34969/6 "2025-01-24T14:26:40Z")

</div>

Logs from the Friendica install:  
[https://paste.yunohost.org/raw/atuguwamox](https://paste.yunohost.org/raw/atuguwamox)

---

<div class="post-metadata">

**Author:** ![orhtej2](https://forum.yunohost.org/user_avatar/forum.yunohost.org/orhtej2/32/8943_2.png) [@orhtej2](https://forum.yunohost.org/u/orhtej2)\
**Post date:** [January 24, 2025, 10:54pm UTC](https://forum.yunohost.org/t/friendica-log-in-problems/34969/7 "2025-01-24T22:54:16Z")

</div>

I have tested install from the `testing` branch and it works just fine.  
Your instance can be salvaged by logging in via ssh and issuing:

```auto
sudo yunohost app shell friendica
php8.2 bin/console.php autoinstall -a -f config/config.local.php
php8.2 bin/console.php addon enable ldapauth

```

Restart ‘friendica-daemon’ service for a good measure and you should be good to go.

---

<div class="post-metadata">

**Author:** ![boxingpreacher](https://forum.yunohost.org/user_avatar/forum.yunohost.org/boxingpreacher/32/10699_2.png) [@boxingpreacher](https://forum.yunohost.org/u/boxingpreacher)\
**Post date:** [January 25, 2025, 4:58am UTC](https://forum.yunohost.org/t/friendica-log-in-problems/34969/8 "2025-01-25T04:58:08Z")

</div>

Unfortunately, this still didn’t work for me. After the second command:

```auto
php8.2 bin/console.php autoinstall -a -f config/config.local.php

```

I got

```auto
ERROR: Config file does not exist.

```

---

<div class="post-metadata">

**Author:** ![boxingpreacher](https://forum.yunohost.org/user_avatar/forum.yunohost.org/boxingpreacher/32/10699_2.png) [@boxingpreacher](https://forum.yunohost.org/u/boxingpreacher)\
**Post date:** [January 25, 2025, 5:01am UTC](https://forum.yunohost.org/t/friendica-log-in-problems/34969/9 "2025-01-25T05:01:52Z")

</div>

Interestingly, friendica-daemon seems to be in a state of eternal error. I can’t restart it at all. Logs:

[https://paste.yunohost.org/ojaqihuwus](https://paste.yunohost.org/ojaqihuwus)

The error message generated was:

```auto
Error: "500"

Action: "PUT" /yunohost/api/services/friendica-daemon/start

```

---

<div class="post-metadata">

**Author:** ![orhtej2](https://forum.yunohost.org/user_avatar/forum.yunohost.org/orhtej2/32/8943_2.png) [@orhtej2](https://forum.yunohost.org/u/orhtej2)\
**Post date:** [January 25, 2025, 12:49pm UTC](https://forum.yunohost.org/t/friendica-log-in-problems/34969/10 "2025-01-25T12:49:57Z")

</div>

yeah, I was wrong, the command actually is

```auto
php8.2 bin/console.php autoinstall -a -f config/local.config.php

```

(the file name is different)

---

<div class="post-metadata">

**Author:** ![boxingpreacher](https://forum.yunohost.org/user_avatar/forum.yunohost.org/boxingpreacher/32/10699_2.png) [@boxingpreacher](https://forum.yunohost.org/u/boxingpreacher)\
**Post date:** [January 25, 2025, 4:14pm UTC](https://forum.yunohost.org/t/friendica-log-in-problems/34969/11 "2025-01-25T16:14:56Z")

</div>

Okay, we’re getting there! All looks good and the friendica-daemon is running fine, from what I can see.

I was able to sign up, I got a sign up screen. But when I submitted my signup information, the next screen was completely blank. When I went back out to login with the account I just created, it says “login credentials incorrect.” I know they are correct because I copy and pasted.

---

<div class="post-metadata">

**Author:** ![orhtej2](https://forum.yunohost.org/user_avatar/forum.yunohost.org/orhtej2/32/8943_2.png) [@orhtej2](https://forum.yunohost.org/u/orhtej2)\
**Post date:** [January 25, 2025, 7:32pm UTC](https://forum.yunohost.org/t/friendica-log-in-problems/34969/12 "2025-01-25T19:32:51Z")

</div>

You should be able to log in with your usual ynh credentials, the user you selected as admin should have admin rights

---

<div class="post-metadata">

**Author:** ![tokenwizard](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tokenwizard/32/11319_2.png) [@tokenwizard](https://forum.yunohost.org/u/tokenwizard)\
**Post date:** [January 26, 2025, 1:06pm UTC](https://forum.yunohost.org/t/friendica-log-in-problems/34969/13 "2025-01-26T13:06:10Z")

</div>

I have run the steps provided above without any errors and restarted the daemon, but am still unable to login with my YH admin user. It says Login Failed. Please check your credentials.

Not sure what else I’m missing.

 ![image](https://forum.yunohost.org/uploads/default/original/2X/2/227fc7ae0085dd5677838d1fbf4cf30c37147e19.png)

---

<div class="post-metadata">

**Author:** ![tokenwizard](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tokenwizard/32/11319_2.png) [@tokenwizard](https://forum.yunohost.org/u/tokenwizard)\
**Post date:** [January 26, 2025, 1:08pm UTC](https://forum.yunohost.org/t/friendica-log-in-problems/34969/14 "2025-01-26T13:08:38Z")

</div>

I was able to register a new account, though.  
I received the password via email as expected. Just not sure how to ensure that account is an admin.

---

<div class="post-metadata">

**Author:** ![tokenwizard](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tokenwizard/32/11319_2.png) [@tokenwizard](https://forum.yunohost.org/u/tokenwizard)\
**Post date:** [January 26, 2025, 1:56pm UTC](https://forum.yunohost.org/t/friendica-log-in-problems/34969/15 "2025-01-26T13:56:50Z")

</div>

Also, I can’t change the account password.  
I can log in with the one generated and emailed to me, but when I plug that in as the Current Password and set a new one in the first two fields, I click Save Settings and it says Login Failed, password unchanged.

Disregard. For some reason copying the password from the email and pasting it to log in worked fine, but on the password reset it didn’t. It seems it also copied a tab at the front of the password and the Login auth was stripping that but the password change page was not.

---

<div class="post-metadata">

**Author:** ![zfriend](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/z/e36b37/32.png) [@zfriend](https://forum.yunohost.org/u/zfriend)\
**Post date:** [January 27, 2025, 9:35am UTC](https://forum.yunohost.org/t/friendica-log-in-problems/34969/16 "2025-01-27T09:35:17Z")

</div>

I have had a similar experience

```auto
$ php8.2 bin/console.php autoinstall -a -f config/local.config.php
Initializing setup...
 Complete!

Checking environment...
 NOTICE: Not checking .htaccess/URL-Rewrite during CLI installation.

 Complete!

Loading config file 'config/local.config.php'...
 Complete!

Checking database...
[Error] --------
Database is already in use

$ php8.2 bin/console.php addon enable ldapauth
[Error] Addon already enabled

```

And then I restarted friendica-daemon, but I still can’t log in with the administrator user.

It’s curious, because I was able to create a new user (without administrator privileges) and I even managed to change the password with the new user’s own account.

Could an administrator user be created directly in the database? What would the procedure be like?

PS: The originally chosen administrator user cannot access because he receives a response "login credentials incorrect.”

---

<div class="post-metadata">

**Author:** ![orhtej2](https://forum.yunohost.org/user_avatar/forum.yunohost.org/orhtej2/32/8943_2.png) [@orhtej2](https://forum.yunohost.org/u/orhtej2)\
**Post date:** [January 27, 2025, 10:09am UTC](https://forum.yunohost.org/t/friendica-log-in-problems/34969/17 "2025-01-27T10:09:05Z")

</div>

When it says ‘database already in use’ installation in fact fails, perhaps it was installed properly before?

---

<div class="post-metadata">

**Author:** ![tokenwizard](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tokenwizard/32/11319_2.png) [@tokenwizard](https://forum.yunohost.org/u/tokenwizard)\
**Post date:** [January 27, 2025, 12:11pm UTC](https://forum.yunohost.org/t/friendica-log-in-problems/34969/18 "2025-01-27T12:11:48Z")

</div>

I did not get that Database-related error on my install:

```auto
friendica@tjserver:~$ php8.2 bin/console.php autoinstall -a -f config/local.config.php
Initializing setup...
 Complete!

Checking environment...
 NOTICE: Not checking .htaccess/URL-Rewrite during CLI installation.

 Complete!

Loading config file 'config/local.config.php'...
 Complete!

Checking database...
 Complete!

Inserting data into database...

 Complete!

Installing theme
 Complete

Installation is finished

```

---

<div class="post-metadata">

**Author:** ![tokenwizard](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tokenwizard/32/11319_2.png) [@tokenwizard](https://forum.yunohost.org/u/tokenwizard)\
**Post date:** [January 28, 2025, 12:03pm UTC](https://forum.yunohost.org/t/friendica-log-in-problems/34969/19 "2025-01-28T12:03:42Z")

</div>

Is there a manual method to make my user the instance admin?

---

<div class="post-metadata">

**Author:** ![tokenwizard](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tokenwizard/32/11319_2.png) [@tokenwizard](https://forum.yunohost.org/u/tokenwizard)\
**Post date:** [January 30, 2025, 2:10pm UTC](https://forum.yunohost.org/t/friendica-log-in-problems/34969/20 "2025-01-30T14:10:10Z")

</div>

I figured it out. I had to manually edit my local.config.php and change the admin\_email to the email of the first user I registered as well as adding admin\_nickname key with that users nickname. I am now an admin for the instance after restarting YH.

[Next page](https://forum.yunohost.org/t/friendica-log-in-problems/34969.md?page=2)
