Skip to main content

Search

Items tagged with: help


!Friendica Support

First of all, sorry for my English, I use a translator.

I am using Friendica version 2024.12, database version is 1576/1576 and the post update version is 1550/1550.


I have changed my storage in Friendica from “Database” to “Filesystem”.

I have selected /var/friendica_storage as the path -> drwxr-xr-x 258 www-data www-data 4096 2 Mar 15:49 /var/friendica_storage

This setting was also applied:

sudo -u www-data bin/console storage list:
Sel | Name
-----------------------
* | Filesystem
| Database


Then I execute the following:

sudo -u www-data bin/console storage move
[2025-03-02 14:49:46] Moved 5000 files
[2025-03-02 14:49:50] Moved 5000 files
[2025-03-02 14:49:55] Moved 5000 files
[2025-03-02 14:49:59] Moved 5000 files
[2025-03-02 14:50:04] Moved 5000 files
[2025-03-02 14:50:08] Moved 5000 files
[2025-03-02 14:50:13] Moved 5000 files
[2025-03-02 14:50:18] Moved 5000 files
[2025-03-02 14:50:22] Moved 5000 files
[2025-03-02 14:50:27] Moved 5000 files
[2025-03-02 14:50:33] Moved 5000 files
[2025-03-02 14:50:38] Moved 5000 files
[2025-03-02 14:50:43] Moved 5000 files
[2025-03-02 14:50:49] Moved 5000 files
[2025-03-02 14:50:54] Moved 5000 files
[2025-03-02 14:50:59] Moved 5000 files
[2025-03-02 14:51:04] Moved 5000 files
[2025-03-02 14:51:10] Moved 5000 files
[2025-03-02 14:51:16] Moved 5000 files
[2025-03-02 14:51:22] Moved 5000 files
[2025-03-02 14:51:27] Moved 5000 files
[2025-03-02 14:51:32] Moved 5000 files
[2025-03-02 14:51:37] Moved 5000 files
[2025-03-02 14:51:44] Moved 5000 files
[2025-03-02 14:51:49] Moved 5000 files
[2025-03-02 14:51:54] Moved 5000 files
[2025-03-02 14:52:00] Moved 5000 files
[2025-03-02 14:52:02] Moved 2180 files
[2025-03-02 14:52:03] Moved 137180 files total
[Error] Friendica\Console\Storage::doExecute(): Return value must be of type int, null returned


It ends with this error message. But the files are present in the /var/friendica_storage folder.


The query in MariaDB shows that the images are still stored in the database:

MariaDB [xxxxxxxxxxxx]> SELECT COUNT(*) FROM photo WHERE data IS NOT NULL;
+----------+
| COUNT(*) |
+----------+
| 137228 |
+----------+
1 row in set (0,419 sec)

MariaDB [xxxxxxxxxxxx]> SELECT COUNT(*) FROM photo WHERE data IS NOT NULL;
+----------+
| COUNT(*) |
+----------+
| 137246 |
+----------+
1 row in set (0,39 sec)


But probably also in /var/friendica_storage, because this is getting bigger.

So the images are now saved simultaneously in the database AND in the /var/friendica_storage folder, including new images!


I have now tried this process twice and both times the error occurred. I restored my database backup.



What have I done wrong, what can I improve or change?


#Friendica, #Help


Hello !Friendica Support anyone here who knows the docker setup for #Friendica well? I would like to migrate my installation to a docker based one.
I wonder if anyone besides @Philipp Holzer is familiar with the docker setup and knows docker better than me.

I am not a newbie to docker, but first questions that came up when I looked at friendica/docker where if I can still use the same config file I do use now, so not to uses these Environment Variables given under Friendica Settings?
Also need to figure out how to load the database I got (a dump) into this docker mysql, I guess that should be fairly easy with a pipe.

But it is all this little things that I am not sure about and that would take me ages to figure out without know what actually to search for.

#Friendica #Docker #Help


!Friendica Support

Hello, I must ask again: I don't receive reshares from a certain Diaspora pod and I also can't find the posts with my instance's search. For example this one: https://pod.mttv.it/posts/625cd090bc3d013cda8d622515784170

The search for that URL gives me "No results". Can someone #help ? I'm clueless
#help


@helpers I don't promise anything, but i'm interested in developing a #report addon (like reports of mastodon, recieve and send) for #friendica to improve #moderation , what would you recommend to study from the source code? #help