HTTP Error 500 /admin page only , after the update


Friendica Admins reshared this.

in reply to Anomaly

@Anomaly

as far as I can see, you don't make an update, you are creating a new installation with git clone.

An update on my system looks like this

Pull for stable (stable)


cd htdocs 
git pull https://github.com/friendica/friendica.git stable
bin/composer.phar install --no-dev
cd addon
git pull https://github.com/friendica/friendica-addons.git stable
in reply to hoergen

@hoergen
I just updated friendica as you told me it works thanks , but I got some errors .

error: Your local changes to the following files would be overwritten by merge:
I fixed it with the cmd git stash , and after
git pull https://github.com/friendica/friendica.git stable

you are creating a new installation with git clone.

Yes the method I was using was a fresh install of friendica, I did it a few times and had no problems, but the last 2 times I had HTTP Error 500 .

Thanks for your help,for now no problem it works

Cheers

Ah!!! I forgot the last command
php bin/console.php dbstructure update
I hope I did everything right

Friendica Admins reshared this.

Deny server tags

Hello !Friendica Admins
I have a question , On my instance I have configured to deny a tag nsfw

There is a contact who re-shared a post with this tag, but I find it on the latest posts . How come? Did I do something wrong?

This entry was edited (Monday, January 5, 2026, 1:46 PM)

Friendica Admins reshared this.

Blank page


Friendica Admins reshared this.

in reply to Michael 🇺🇦

@Michael 🇺🇦
In the end, there were some of my posts where I attached videos.I knew it was not recommended to attach videos in friendica, but I didn't know that it caused this problem. It took me more than a month to figure out this problem .

they were some videos of about 80 Mb, sometimes it loads them and sometimes it doesn't

Friendica Admins reshared this.

in reply to Anomaly

They could seem to be bots, yes. Not sure what's going on there.

Regarding your e-mail, if you mean what's displayed under your display name (Lunya), that's the nickname you typed in when creating your account. The nickname is your "address" on Friendica, and they have the same form as e-mails do, ie. [email protected]

reshared this

in reply to Marcus

@Marcus

They could seem to be bots, yes. Not sure what's going on there.


I got the answer , They are not bots, but it is their instance that by writing some variables in the message, allows this
niwego.com/display/de2ee63c-73…

Regarding for my email I don't mean the one under my nickname
in the first photo where there is the code there is the email, that of the friendica administrator
I don't know if this was a configuration error or what


basically its a dynamic variable that loads the metadata about the federated instance, for @lunya its $INSTANCE$host$, $INSTANCE$softwareName and stuff and for me its {{host}}, {{nodeInfo.software.name}} and stuff

reshared this

in reply to Anomaly

Ah, right! That's quite interesting and not something I was aware of. I originally though that maybe it was pulling the e-mail field that's also shown here at the bottom:
joinfriendica.de/friendica
...but it seems to actually extract the e-mail addresses of whoever has been added as admins on the Moderation -> Users page.

...and I don't see an option to disable it, besides setting a fake address and then not receiving the notification e-mails anymore.
That doesn't seem ideal to me. At least it should be shown that this data is exposed.

reshared this

in reply to Marcus

@Marcus

Ah, right! That's quite interesting and not something I was aware of. I originally though that maybe it was pulling the e-mail field that's also shown here at the bottom:
joinfriendica.de/friendica

If you are referring to Impressum, I had another email there that was not the administrator's one

besides setting a fake address and then not receiving the notification e-mails anymore.

Yes, it doesn't make much sense to enter a fake email, then I no longer receive notifications

That doesn't seem ideal to me. At least it should be shown that this data is exposed.

Right, I didn't know that either. I hope there is a solution to fix this.

reshared this

in reply to Anomaly

reshared this

in reply to Marcus

It turns out that workaround doesn't actually work, because once you change your e-mail in your profile settings you lose admin privileges as well. I'm thinking that maybe it doesn't actually store admin status anywhere but in that list, so once it doesn't match your e-mail address you're no longer admin.

The workaround of changing the code still works, of course, but it's not really ideal to have to do that.

reshared this

in reply to Marcus

@Marcus
When I discovered this thing , I tried changing the administrator email address in the Admin section, and found that the email must be the same as the one in the file config/local.config.php

maybe it's used for something else, like when another instance wants to report an account on your instance or something like that?


Maybe it can be as you say.

If I want to search for an instance via API like that guy did, how can I do that?

reshared this

ERROR Worker: Uncaught exception in worker method execution


Hello !Friendica Support
I noticed that my log is full of error, and my instance is unstable , I have to reload the page several times , and everything is going slowly , some help please


Friendica
Friendica 'Interrupted Fern' 2024.12 - 1576

PHP
8.3.6

Message
Friendica\Model\GServer::getNomadVersion(): Return value must be of type string, array returned

Message
Friendica\Core\Storage\Type\Filesystem::put(): Argument #1 ($data) must be of type string, null given, called in /var/www/friendica/src/Model/Photo.php on line 446

Friendica Support reshared this.

in reply to Anomaly

Thanks for the report. The reported errors will not slow down your system, so the speed issues are caused by something else. Mostly the database is to blame in such cases. Please enable the slow query log in your SQL server and have a look there. Also check if your database setup uses enough memory. Tools like mysqltuner.pl can help here, but you shouldn't blindly follow their suggestions.

Concerning the reported errors: The first one is solved in the current release candidate. The second one shouldn't occur anymore, but I will create a pull request for this anyway. Is it possible for you to switch to the release candidate?

in reply to Michael 🇺🇦

Friendica Support reshared this.

Problem with bookface 1.6 on iPad Pro


Hi , @Pygoscelis Papua
I want to report a problem with #Bookface V1.6 , on my iPad Pro 11 inch, (tested with Safari and Brave browser) Page loading is extremely slow , I had to change the default templates #frio, I don't know what caused it . With the default template I have no problem . If you want I can do some tests
in reply to Anomaly

in reply to Pygoscelis Papua

Hi @Pygoscelis Papua
No problem , thanks for the reply

Was there no problem with v1.5 only since v1.6?


Yes with version 1.6 it gives me problems on iPad , I've currently solved the problem by installing version 1.5, it works fine, I think I'll keep this one

Is it possible it was a server issue? Is it still happening?


In the friendica log file I have no errors

Does it matter if it is the "Auto Color," "Light" or "Dark" version of Bookface?


any template I set gave me problems


The problem is that it takes about 7/8 seconds to load the menu bar

With version 1.5 loading is instant

in reply to Anomaly

@Anomaly Yes, very strange. I can't figure out what could be causing this. There isn't that much difference between v1.5 and v1.6 and really nothing specific to the second toolbar.

In my testing I'm not seeing the several seconds delay you are, only a couple of seconds. But that is still a noticeable difference from v1.5.

I ran a comparison on the two versions and one-by-one deleted/changed each diff in 1.6 and nothing I did ever got rid of the delay. I'll keep trying to figure out what's causing it, but right now I'm stumped.

in reply to Anomaly

This entry was edited (Saturday, May 3, 2025, 8:19 PM)
in reply to Pygoscelis Papua

@Pygoscelis Papua

You can either edit your 1.6 to wrap that rule or download the Bookface "main" repository from my GitLab which incorporates this potential fix.


I just installed it from "main" repository , tested it for a few minutes and it's fine, I don't have any more lag , I will continue to do more tests , thanks again

2-3 seconds not the several seconds you were seeing


on my iPad it was 5/6 seconds

on my Android phone were loading the toolbar normally.


On my Android device with GrapheneOS I never had any problems, the same on my laptop with Fedora Workstation. i hate apple 😅

in reply to Anomaly

@Anomaly Deferred tasks aren't currently running. They failed during they initial run, which placed them in this wait list with a next try date in the future. From your screenshot it appears that the task creation date and the next try date are pretty close to each other, so it must only have failed a few times at most.

Running either the worker or the daemon manually will not clear deferred tasks which next try date have not been reached yet. There's an incremental back off system that increases the delay before the next try after each new failure. Once the task succeeds, the task will clear from the deferred list.

Friendica Support reshared this.

in reply to Hypolite Petovan

@Hypolite Petovan
yes I thought this, but why has this entry been in the list for 2 months? All entries are successfully completed .
I have no problems with friendica, if this entry does not cause problems,can be on the list.
I'm not very experienced with friendica, so I'm asking

Friendica Support reshared this.

Delay loading /network


!Friendica Support
Hi everyone, I have a big problem on my Friendica installation , When I connect to niwego.com/network , it takes 30/40 seconds to load the page,I chose to display only 10 post on the page, plus when I scroll it lags a lot.

I installed the plugin rendertime , this is the result , it has become almost unusable

Database: 3.619/0, Network: 0, Rendering: 40.65, Session: 0, I/O: 0.01, Other: 0.27, Total: 44.54
Class-Init: 0.005, Boot: 0.004, Init: 0, Content: 44.524, Other: 0.017, Total: 44.55

Ubuntu Server 24.04 LTS

This is the third installation of Friendica, on the others I have the delay, but on this installation (my personal one) it is too much.
Friendica runs on a virtual machine with 8 Cores and 8Gb of memory

Some suggestions , thanks...

Friendica Support reshared this.