Skip to main content
Friendica

Performance problems in current developer branch

@Friendica Developers @Friendica Support Due to a programming (done by me) in the current developer branch you will experience huge performance problems when your database is big and you have much posts from networks other than Friendica and Diaspora.

There is a query that uses much time. I will work at it today and will make a pull request at the evening I guess.
Michael Vogel 2 months ago
Friendica
Thanks for the update. At least it's not hardware related. Good luck with the fix.
Wilhelm 2 months ago
Friendica
@Tobias @Fabio I did a pull request for that issue. Could you have a look at it? I would like to work on other issues but cannot change the branch since the old programming would kill my server (like it did yesterday)
Michael Vogel 2 months ago
Cambridge Bay
Friendica
@Friendica Support I am looking for the URL path way to the API.
from what I gather, it's domain.tld/api but when I try it with mine, I get 404 page.
Taek 2 months ago
3 comments show more
Friendica
Just call https://pod.taek.us/api/help/test.json - then you will see that thr API is working.
Michael Vogel 2 months ago
Friendica
I am wondering if the URI structure changed from whence Twidere was developed, updated was different. Or perhaps whatever updates to Twidere, changed the way it accessed the URIs.
Taek 2 months ago
Friendica

OStatus replies should now arrive at all contacts

@Friendica Developers @Friendica Support I just did a pull request. This improves the communication with OStatus contacts a lot. Now a reply should always arrive at all OStatus contacts. It can even work with replies to unknown contacts when they are sharing the same server with known contacts.

The next step will be an improvement to the export. (I want to add all fields that are supported by the protocol)

Then I will have a look at the import. There are several bad things in the code (I did several of them). So I want to rewrite many parts of it.

Maybe I should add an option the statusnet connector to add every connector contact natively.
Michael Vogel 2 months ago
Friendica
There is one problem at the moment. If several people from Friendica are discussing on the same thread they will only see each other posts if the thread completion was activated.

This is due to the fact that Friendica doesn't speak subhub with each other. I have to see if the salmon protocol could help or if I could make a change to our own protocol.
Michael Vogel 2 months ago
Friendica
I just noticed, that after pulling the latest changes from develop yesterday, my server stopped to receive any comments. "Main posts" aren't affected by this.
After switching to the main branch, the comments are now arriving.
Is this a known (temporary) bug, or should I create a github issue for this?

(The log doesn't seem to show anything useful and poller.php runs without any php errors from command line)
@Friendica Developers @Friendica Support
Johannes Schwab 2 months ago
3 comments show more
Friendica
Ok, then it seems to by due to my configuration... I will try develop again in the evening and see if I can fetch some error messages or so.
Johannes Schwab 2 months ago
Friendica
Have a look into the log file for database errors. (search for dba.php)
Michael Vogel 2 months ago
Berlin
Friendica
Is the [map] tag working for anyone? I always get an embedded Error 500 page from openstreetmap :-/

@Fabio @Friendica Support
Tobias 2 months ago from open socialverse
29 comments show more
Friendica
I deleted the caches quit often lately (maps, notification,...) but it could well be. Anyhow the [map]tag is working again. :-)
Tobias 2 months ago from open socialverse
Friendica
The cache is in the "cache" table. It is stored there for a month.
Michael Vogel 2 months ago
Friendica
@Friendica Support were there any changes to the frost mobile theme lately? It cuts of ≈30% of the usable screen width, causing one of the buttons in top not to show.
This could be caused by android chrome as well.
ben 2 months ago from Friendica mobile web
14 comments show more
Friendica
Either I read Friendica instead of FF or it was written there. Did you change that?
ben 2 months ago
Friendica
No, I didn't change a bit.
Steffen Krumbholz 2 months ago
Friendica

Changing the OStatus import

@Friendica Developers @Friendica Support The last days I worked at the OStatus and Diaspora communication. I created a pull request for this: https://github.com/friendica/friendica/pull/1617

There are still several issues for the OStatus import (Status.net, GNU Social). I'm thinking about a radical new way to import OStatus messages.

By now every message is imported. Without the thread completion you will often get replies without the original post. With activated completion you will get the whole thread but the danger is that you will be flooded with messages that you don't want to get - and there is a protocol problem that you can't reply to these posts by now (maybe fixable)

I'm now thinking about a new import. This one would not directly import the received messages but would directly start a function like the... show more
Michael Vogel 2 months ago
Friendica
I think it is good to work on that part, getting all the messages makes sense. For me being able to reply to messages would be nice, you mention that above and it sometimes is not possible.
ben 2 months ago
Friendica

Verschwundenes Bild

Grade eben festgestellt das ein Bild an meiner Pinnwand plötzlich verschwunden ist. Es handelt sich dabei um ein Foto eines verlinkten Artikels. Hier zu sehen: http://friendica.nerdhaven.de/display/f2c5cfa058554a70cc621ea048485966

Eigentlich werden diese Fotos doch auf der jeweiligen Friendica Instanz gespeichert (irgendwo im Proxy Ordner)? Warum ist es dann einfach verschwunden?

LG
Denis
Denis Jörger 2 months ago
3 comments show more
Friendica
Ah, ok. Ich dachte eigentlich das Bilder auf der eigenen Pinnwand dauerhaft gespeichert werden. Wäre vielleicht mal ein sinnvolles Feature?
Denis Jörger 2 months ago
Friendica
Wäre denkbar. Es hat allerdings Seiteneffekte, da man den Proxy ohne Bezug auf Artikel aufrufen kann.
Michael Vogel 2 months ago
Friendica

"Show more"

Is there a way to disable the "show more" option, i.e. to show entire posts by default, without truncation?



@Friendica Support
Perig 2 months ago
Friendica
You just have to disable the addon.
Michael Vogel 2 months ago
Friendica
I had forgotten that it was an add-on! Thanks.
Perig 2 months ago
Friendica

Weitersagen @

Hallo @Friendica Support

ich habe gestern vergeblich versucht, zwei Artikel mit dem @ an zwei Gruppen zu posten. Beide Artikel enthielten Bilder und sind nicht in den Gruppen angekommen. Ist der Fehler bekannt, geht das weitersagen mit Bilder nicht oder habe ich da evt. irgendwo etwas falsch eingestellt? Hier ist mal ein Beispiel-Link (https://friendica.xyz/display/adf174d519555e17c3c9cec145842280

Vielen Dank,
Jan
Jan Montag 2 months ago
8 comments show more
Friendica
Also in meiner DK Gruppe ist das Bild angekommen.
Malte 2 months ago
Friendica
Es war ein privates Posting und ich glaube, ich habe meinen Fehler gefunden, zu viele Gruppen ;-) , da habe ich wohl Berechtigungen falsch gesetzt.

Warum ich das Bild in der Gruppe @Seekajak allerdings nicht sehe, ist mir aber noch nicht ganz klar.

Ich werde es in der nächste Woche mal genauer testen, vielleicht war es ja doch mein Fehler ...
Jan Montag 2 months ago
Friendica

.webm upload restricction

@Friendica Support
Hi, I can upload .webm as attachment up to aprox. 10 MB.
Is there a restriction somehow some where to modify this?
organiza tupambæ 2 months ago from friendica projectserver
4 comments show more
Friendica
There are 3 upload limits, in Friendica, in php and in the web server
Keith 2 months ago
Friendica
#Friendica by default has no upload limits in the settings. So if that was not changed during the setup process, than the upload limitation factor is most likely just the php.ini configuration, which by default is limited to only a pettily 2MBs.
Taek 2 months ago
Friendica

User waiting for permanent deletion

@Friendica Support

Just deleted a user created in the admin panel. The user wasn't activated. I tried to add the user again (correct email) but got message that same user name can't be used again on this server. The user is displayed at the bottom in the "User waiting for permanent deletion" section.

Is this a temporary stage that changes later on?
organiza tupambæ 2 months ago from friendica projectserver
4 comments show more
Friendica
Additionally the user name is blocked permanently to avoid identity theft.
Michael Vogel 2 months ago
Friendica
@ltjus1lpwal8nymfqattzuh13ysjuzyhsc@tupambae.org FYI - That user I deleted, no longer shows up in the admin panel. Looks like it's a one week grace period!
Adam Magness 2 months ago
Friendica

Contact Likes

Might be a confusing title/subject. I've noticed of late that posts to the "wall" of my contacts don't always all show up.

The scenario:
I post to a contact's wall by visiting their profile directly and sharing. When I return to my site network tab, relatively quickly, if not immediately, that post shows up. Several hours later, someone (or several) who is connected with my contact (whom I posted to) then likes my post. However, from my Network tab the like is not shown.

Caveat:
After some time, one of the likes may show up, but not all. After noticing this the first time I verified that this also happens with other peoples posts as well. Someone I do not know, posts to a mutual contact, and I can see that post, but only some of the likes are shown.

The Question:
Is this something that just happens as a result of the system (federated/de-centralized)? Or, is there something I have not set up properly or perhaps a default setting that I have not yet modified?
Adam Magness 2 months ago
11 comments show more
Friendica
Ah okay. That explains, why I haven't found you from my Diaspora account :)

Is there a reason not to use it?
Michael Vogel 2 months ago
Friendica
No, no reason, just hadn't clicked the check box! :)
Enabling now...
Adam Magness 2 months ago
Isla Martin Garcia
Friendica
@Friendica Support
Hallo und guten Morgen, #newhere mit diesem Profil :)

Just saying, can't find the language selector in the vier theme.

Does friendica ask the visitors browser language?
Sup Port 2 months ago
7 comments show more
Friendica
The [?] field could be a good choice .. seriously. I switch between english spanisch and german all the time, even to understand some things better, and my browsers are all mixed up. Adding the good oll flag to that menu would be awes.. :)
RequeteChe 2 months ago from from within the #federatedweb
Friendica
If you run your own node, you can hak/mod the theme easily to include the selector. But ultimately it is the choice of the theme author to include it or not.
Tobias 2 months ago from open socialverse
RequeteChe doesn't like this.
Friendica
Hello @Friendica Support is there new short links, I think there is a problem with shortening. cc @Michael Vogel

Link to App.net: https://alpha.app.net/utzer/post/59760978 (deleted the Tweet, but it's the same defect link.
Friendica Link: https://social.yl.ms/display/e18176ef97555a475a6adf2179105653
ben 2 months ago
4 comments show more
Friendica
Könnte das Problem gewesen sein.
ben 2 months ago
Friendica
Wobei an den shortener ja eigentlich nur URL gehen sollten.
ben 2 months ago
Friendica
Hallo @Friendica Support, ich bin ein Neuer und fleißig am Basteln hier.
Schon habe ich ein 2. Login für eine offene Gruppe @Raumpatrouille
und die hat sogar einen Kontakt von Facebook der gespiegeld wird
(dank der Hilfe von @Jan Montag und www.wallflux.com).

Wie kann ich die Posts dieser Gruppe zu einer E-Mail weiterleiten?
Gerne auch nur ein mal Täglich als Zusammenfassung?
Mit einem 3. Login, das bei jedem ankommenden Post eine Mail sendet?
Es sollte aber eine andere Mailadresse sein als die beim Anmelden.
Könnte gehen. Oder gibt's was weniger gebasteltes?
Karl-Josef Adler 3 months ago
8 comments show more
Friendica
Wie gesagt, ich benutze das Addon nicht selbst, kann also nicht beurteilen wie gut das funktioniert...
Tobias 3 months ago from open socialverse
Friendica
@Michael Vogel Warum ist die Liste der Foren/Gruppen nicht in der IDE von Friendica?
http://dir.friendica.com/directory/forum
Die R. ist noch schön am Anfang. Klick drauf geht nach hier:
https://snarl.de/profile/raumpatrouille
Und erst da ist ein "Verbinden"

Oder bei Kontakte - Leute Finden. Da sieht man leider nicht gleich, ob es eine Gruppe ist. (Ich mecker schon wieder zu viel)
Karl-Josef Adler 3 months ago
Friendica

Einstellungen - Soziale Netzwerke

Hallo @Friendica Support,

ich kann gerade auf meiner Installation nicht mehr auf Einstellungen -> Soziale Netzwerke zugreifen. Wenn ich den Menüpunkt anklicke passiert eine ganze Zeit lang nichts, dann erscheint eine leere Seite mit dem Text:
An internal server error occurred. Please try again later.

Hat vielleicht noch jemand das Problem, bzw. wonach muss ich im Log suchen, um das Problem einzugrenzen?

Jan
Jan Montag 3 months ago
7 comments show more
Friendica
Die Einträge im Log gehören zu anderen Dingen. Ich muss das ggf. mal testen.
Michael Vogel 3 months ago
Friendica
Ok, dann warte ich jetzt mal wirklich bis morgen, mal schauen ob das Problem dann immer noch da ist
Jan Montag 3 months ago
Friendica

Where to place a setting for the shortening method?

@Friendica Support @Friendica Developers @UX Watchdogs I just created a small programming that changes the behaviour of the shortening method. By default the system tries to find the best link to add to a post to twitter, statusnet or app.net.

But there are different opinions about what the best link is. There is a new setting that always adds a link to the friendica post if there would be a link or an image in the post and the post is longer than the limit of the target network.

This is a central functionality so the setting has to be somewhere in the system. Now the question is, where the setting could be set.

What do you think?
Michael Vogel 3 months ago
5 comments show more
Friendica
I already did a pull request for that :) I added a setting at the "social network" section.
Michael Vogel 3 months ago
Friendica
Oh I did not merge the pull_request because this thread here ;-)
Tobias 3 months ago from open socialverse
Matrix
Friendica
Ich brauch mal Hilfe von @Friendica Support

Ich habe auf einem anderen Server per git clone #Friendica heruntergeladen.
Wenn ich die Webinstallation starten will, bricht er ab, weil angeblich sämtlich PHP-Module nicht geladen wären:

"Systemtest
PHP: libCurl-Modul (required)
PHP: GD-Grafikmodul (required)
PHP: OpenSSL-Modul (required)
PHP: mysqli-Modul (required)
PHP: mb_string-Modul (required)
Apache mod_rewrite module (required)
Schreibrechte auf .htconfig.php
view/smarty3 ist schreibbar (required)
Schlüssel erzeugen (required)
Kommandozeilen-PHP (/usr/bin/php)
PHP CLI Binary (required)
PHP register_argc_argv (required)
URL rewrite funktioniert (required)
Umschreiben der URLs in der .htaccess funktioniert nicht. Überprüfe die Konfiguration des Servers."

Es sind aber sämtliche Module geladen und mod_rewrite ist auch aktiviert.

Schreibrecht sind auch auf 777 gesetzt.

Ich check es nicht .........
John Doe 3 months ago
61 comments show more
Friendica
Ja ich würde das auch manuell machen, ich werde mir wohl einen neuen Benutzer anlegen wegen des Problems.
ben 2 months ago from Friendica mobile web
Friendica
ps axfu
Michael Meer 1 month ago
Friendica

Global Directory

Apologies if my searching wasn't good enough to find this answer if it is already out there.

I am having a silly little problem where my public profile isn't showing up in the global directory (dir.friendica.com). I have the option enabled in my settings to publish to global, as well as the admin setting of Global Directory (http://dir.friendica.com/submit).

Perhaps there is a time it takes to get published that I am not aware of?

Any suggestions are appreciated!
Adam Magness 3 months ago
3 comments show more
Friendica
When you are using Twidere you could say in the settings that the SSL certificate shouldn't be checked.
Michael Vogel 3 months ago
Friendica
FYI - Update. I just finished installing my ssl cert for my node here. Within 5 minutes my public profile now appears in the global directory. Thanks again!
Adam Magness 3 months ago
Friendica

Kalendereinträge werden nicht richtig gelöscht

@Friendica Support
Mir ist aufgefallen, dass einige Kalendereinträge nicht richtig gelöscht werden (Friendica 3.4.). Wenn ich Termine lösche oder editiere, werden diese in meinem Account zwar nicht mehr angezeigt, jedoch können die Menschen, mit denen ich diese Einträge geteilt habe, diese Termine auf der Terminseite im Kalender weiterhin sehen. Aus dem Netzwerk Stream sind sie ordnungsgemäß verschwunden.
Bevor ich einen Bug Report schreibe, wollte ich fragen, ob dies ein reproduzierbares Verhalten ist und ob weitere Informationen benötigt werden.
Rabuzarus 3 months ago
3 comments show more
Friendica
Bug Report: https://github.com/friendica/friendica/issues/1561

Ich konnte dieses Verhalten ebenfalls auf meiner Testinstallation von Friendica reproduzieren.
Rabuzarus 3 months ago
Friendica
Okay, dann haben wir da ein Problem. Danke für den Bug Report!
Michael Vogel 3 months ago
Friendica
@Friendica Support Hello juste a user experience. I don't know if it could be improved or not. I received 3 contacts requests today. Great !!! Usualy I accept all. Why Just because we don't have any information. You have to choose to accept or not according to a nick name and a picture. I think it is not enought for me to know who is behind.

I think if would be nice to have more information. maybe a little bit about profile description. OK I dream to get language information in the profile but I am still a dreamer.

How do I manage I accept all and if the contact is not OK I'll delete afterward. But the problem is that in my contact least all the contacts is orderer alphabeticaly according to nickname So it is harder to find new contact. There is no possibility to find last new contacts for exemple.

This is only peace of info to make you thinking how to manage contacts new one and old one.
Kris B 3 months ago
3 comments show more
Friendica
OK I could right clic on the picture to see more profile description. Concerning githup I don't know how to do that.
Kris B 3 months ago
Friendica
Maybe the free text form could be a bit more advertised to be used. It really is more fun if you get a short introduction
Tobias 3 months ago from open socialverse
Friendica

defaultprofilepic

Hallo @Friendica Support

bei meiner Installation finde ich das Plugin defaultprofilepic, ohne jede Beschreibung. Im ansonsten leeren Verzeichnis addon/defaulprofilepic/lang/C/ befindet sich die leere Datei messages.po, mehr nicht, weiß jemand wozu es dient oder kann das weg?

Vielen Dank und ein schönes Wochenende,
Jan
Jan Montag 3 months ago
Friendica
*räusper* da ist wohl ein Automatismus fehlgelaufen ;-) lass in drin stehen, ich werd den über git raus löschen damit sollte er dann mit den nächsten git pull (nicht mehr heute Abend) verschwinden.

Oder, wenn du kein git benutzt, kannst du den manuell löschen ja.
Tobias 3 months ago from open socialverse
Friendica
Alles klar, vielen Dank für die Info
Jan Montag 3 months ago
Friendica
Hello, @Friendica Support I've encounter some database upgrade utility inconsistency.

I've installed and used Friendica since 2012 and everything was great. On every update I run util/db_update.php and update.php. Week ago, when I start to transfer my instance on a new server, I've decided to verify database consistency, and found, that in table:
  • term - missing global, created, received, guid
  • item - missing global, rendered-html, rendered-hash

I've tried grepping all over the source for any db upgrade I've missed, but found nothing. I've added them manually and run include/threadupdate.php and include/tagupdate.php, logs stops spamming about missing fields. I've looked into database.sql and found them present. Was these fields forgotten after some code update?
Stanislav N. 3 months ago
5 comments show more
Friendica
Okay, it executes automagically. But, as I can see, these fields appeared on 25 Mar, after include/dbstructure.php dumpsql generation (I think). Let's see:
[SSH][ /data/sources/friendica ] % grep -r "rendered-html" .
./mod/item.php: $r = q("UPDATE `item` SET `title` = '%s', `body` = '%s', `tag` = '%s', `attach` = '%s', `file` = '%s', `rendered-html` = '%s', `rendered-hash` = '%s', `edited` = '%s', `changed` = '%s' WHERE `id` = %d AND `uid` = %d",
./mod/item.php: dbesc($datarray['rendered-html']),
./mod/item.php: `allow_cid`, `allow_gid`, `deny_cid`, `deny_gid`, `private`, `pubmail`, `attach`, `bookmark`,`origin`, `moderated`, `file`, `rendered-html`, `rendered-hash`)
./mod/item.php: dbesc($datarray['rendered-html']),
./include/text.php: ($item["rendered-html"] == "") OR get_config("system", "ignore_cache")) {
./include/text.php: $item["rendered-html"] = prepare_text($item["body"]);
./include/text.php: q("UPDATE `item` SET `rendered-html` = '%s', `rendered-hash` = '%s' WHERE `id` = %d",
./include/text.php: dbesc($item["rendered-html"]), dbe
... show more
Stanislav N. 3 months ago
Friendica
Since several versions there are no database update scripts anymore. The script "dbstructure.php" compares the current structure with the defaults and does all changes.

The database.sql is just for some kind of backward compatibility and for special cases where the update script isn't working during the installation process.

Question is, what happens when you call the script dbstructure.php on your own. Are the fields then added?
Michael Vogel 3 months ago
Friendica

Zugriffsrechte für Beiträge

Hallo miteinander

Ich bin neu bei friendica. Man möge mir meine Unwissenheit verzeihen.

Meine Frage:
Ist es möglich, Zugriffsrechte für Beiträge im Nachhinein zu ändern?

Vielen Dank
Peter Hethely 3 months ago
6 comments show more
Friendica
Das bedeutet also, das gelöschte Beiträge auch nur auf meinem Knoten gelöscht werden und ich auf die versendeten Beiträge keinen Zugriff mehr habe (was ja auch nachvollziehbar ist). Das heißt aber auch, dass einmal versehentlich als "öffentlich" markierte Beiträge evtl. auch dann noch irgendwo zu finden sind, wenn ich sie wieder lösche, oder?
Jan Montag 3 months ago
Friendica
was öffentlich ist, ist öffentlich. Egal wo ob nun im Internet oder auf der Straße; ja. Innerhalb vom friendica Netzwerk propagiert der "Löschbefehl" durch, aber sobald ein Posting die Grenzen verlässt hat ~f da technisch keinen Einfluss mehr. Gleiches gilt beim Bearbeiten von Postings, die Änderungen werden in den anderen Netzwerken auch nicht übernommen.
Tobias 3 months ago from open socialverse
Friendica

Problem beim Beiträge posten

Nachdem meine letzte Anfrage so langsam untergeht und ich das Problem durch etliches herumprobieren ein wenig eingrenzen konnte, hier mal ne detailliertere Fehlerbeschreibung.

Vorweg, meine (Single-User) Friendica Instanz läuft auf einem normalen DomainFactory Webhosting Account. Also kein eigener (v)Server.

Folgendes Problem: Ich schreibe einen Beitrag, klicke auf "teilen" und muß dann etwas über 20 Sekunden warten bis meine Pinnwand wieder geladen wird. Während dieser 20 Sekunden, wartet der Browser auf den Server. Breche ich den Ladevorgang, kurz nach dem Absenden des Beitrags, ab und lade die Pinnwand neu, ist der Beitrag vorhanden. Irgendwo hängts also.

Normalerweise teile ich immer öffentlich. Manchmal selektiere ich auch nur meine Friendica Kontaktgruppe als Empfänger. Beides macht in der Wartezeit keinen Unterschied. ABER ich habe herausgefunden das die Wartezeit verschwindet (also wirklich auf unter eine Sekunde) sobald ich den Beitrag nur einer beliebigen Gruppe "nicht zeige". Dabei spielt es keine Rolle ob in dieser... show more
Denis Jörger 3 months ago
26 comments show more
Friendica
Looks like the exact same problem as i have. Try to disable (don't show) one of your groups and post again. The delay should no longer occur.
Denis Jörger 2 months ago
Friendica
You're absolutely right! Too bad it's not an applicable work-around, I would have set this "don't show" by default. But it compromises exportation to other networks, apparently.
Perig 2 months ago
Friendica
Is there a Friendica forum that would be the equivalent of a "Friendica Cafe", live chat, meetup? A place where people can discuss and meet new people.

@Friendica Support
Perig 3 months ago
6 comments show more
Friendica
There was one, but it was not really used so when the node went offline nobody recreated it. But if you think there should be one, recreate it and let us know.
Tobias 3 months ago from open socialverse
Friendica
I just tagged you
Perig 3 months ago
Zwenkau am See
Friendica
@Friendica Support

Feature-Request

May I suggest that we provide with the installation a shortcut-icon and a touch-icon. Both paths should be inserted in "Administration" --> "Page" --> "Link to an icon that will be used for browsers" and "Link to an icon that will be used for tablets and mobiles."
Andreas Hannusch 3 months ago
3 comments show more
Friendica
It's a work that should be done once - on installation.

;-)
Andreas Hannusch 3 months ago
Friendica
Most people don'T even know what it is and the default is the friendica logo as far as I see, so that is reasonable for me.
Tobias 3 months ago from open socialverse