Skip to main content

Search

Items tagged with: fediverse


Preparing to move the DB

Changing the #storage backend to reduce DB size.

Admin panel:
/admin/storageAdministration - Storage
Current Storage Backend: Database
Storage Configuration
Filesystem
Storage base path:storage
Folder where uploaded files are saved. For maximum security, This should be a path outside web server folder tree
Database
This backend doesn't have custom settings


Helpers-page information
/help/Settings#File+storage+backendFile upload
File storage backend
Set the backend used by #Friendica to store uploaded file data. Two storage backends are available with Friendica:
Database : Data is stored in a dedicated table in database (storage)
Filesystem : Data is stored as file on the filesystem.
Default value is 'Database (legacy)': it's the legacy way used to store data directly in database.
Existing data can be moved to the current active backend using the 'storage move' console command
If selected backend has configurable options, new fields are shown here.
Filesystem: Storage base path
The base path where Filesystem storage backend saves data.
For maximum security, this path should be outside the folder tree served by the web server: this way files can't be downloaded bypassing the privacy checks.
Default value is storage, that is the storage folder in Friendica code root folder.
Maximum Image Size
Maximum size in bytes of uploaded images. The default is set to 0, which means no limits.
#fediVerse #fediHelp


Moving storage via SSH
bin/console help storage informationbin/console help storage
console storage - manage storage backend and stored data
Synopsis
bin/console storage [-h|--help|-?] [-v]
Show this help
bin/console storage list
List available storage backends
bin/console storage set <name>
Set current storage backend
name storage backend to use. see "list".
bin/console storage move[table][-n 5000]
Move stored data to current storage backend.
table one of "photo" or "attach". default to both
-n limit of processed entry batch size

¿correct?:
SSH -> commands to move storage
mkdir /var/www/html/storage
./bin/console config storage.name = Filesystem
./bin/console config storage.filesystem_path = storage
./bin/console storage move


There are two ways to add your keys to #FileZilla.

You can add your keys inside the "Site Manager":

Go to:
File -> Site manager ..

Screen of FileZilla showing where to find the option

Protocol:
In the settings panel for a given site select sFTP:
Screen of FileZilla showing where to find the option

Add domain IP or domain name:
Screen of FileZilla showing where to find the option

Logon Type:
Select "Key File"
Screen of FileZilla showing where to find the option

Add the user name to log onto the server:
Screen of FileZilla showing where to find the option

Browse for the .ppk you want to add and select it:
FileZilla offers you also to add .pem (privkey.pem) files, that's the #puTTy option for a file containing only the extracted private key of keyfile.ppk. At the same time FileZilla doesn't read/accept .pem files so it will prompt you to transform it into a .ppk file. If your .ppk is protected by a password (it should be), you get prompted to insert the password.
It is not clear if the newly created .ppk file from the .pem file by FileZilla is protected with the same password. It doesn't feel like that.
Screen of fileZilla showing where to find the option Screen of fileZilla showing where to find the option

Save the changes and connect to your server.
The other option to add your key to FileZilla is by adding it directly to the main settings.

Go to:
Edit-> Settings ..

Screen of FileZilla showing where to find the option

Choose SFTP and select the "Add key file" tab:
Screen of FileZilla showing where to find the option

Add the key file and save.
If you use the input fields and quick connect options of the main FileZilla window, the keys saved in settings will be retrieved.

#linux #windows #howTo #fediVerse


friendica VPS setup on ubuntu 22.04 LTS


@Friendica Support

Hi,
I'm working on my first #friendica #VPS installation, here you'll find my initial post about general thoughts like what distro to use, size and costs.
I'm using the tutorial "creating a friendica server - ubuntu" by @Hank G ☑️.

As of now I'm doing well in the process and want to start this post to document differences and questions while installing the server.

This server is going to host an already existing friendica node I have to move from another hosting provider. That means that for example the DB doesn't have to be created from scratch but moved and other smaller details.

I will try to address the different steps of installation in answers to this post and appreciate help, ideas and observations.

I'm doing this from a #linux desktop environment from the console but there shouldn't be differences if you want to do this from a #windows machine.

#fediVerse #tutorial #fediHelp #activityPub

what VPS offer fits best for a small friendica instance?


@Friendica Support
@Friendica Admins
@Friendica Developers

Hi there,
in the end I want to try to setup my first own hosted friendica VPS on a small setup:
1gig RAM/1 Core/25gig

The idea is kinda single user instance with a few forum pages.

The hosting provider has the following options:

  • debian bullsey - vpn server
  • debian bookworm - wireguard server
  • debian bookworm - bookworm 2023-07-03
  • debian bookworm - bookworm 2023-07-03 LEMP (nginx+php8.2+mariaDB10.5)
  • debian bookworm - nextcloud
  • ubuntu 22.04.01LTS
  • CENTOS8.1 - 2020-05-03
  • cleanVPS to upload own ISO



I'm used to debian/devuan on PC, so am obviously inclined to go for debian but have no idea what version would be the best choice.

In the first place the debian LEMP option looks like the way to go.
Latest experience with a new friendica installation seemed to be in need of PHP8.1 instead of PHP8.2.
Is it difficult to downgrade that?

Also, I'm kinda worried about security in general, even tho the data exposed will only be my own, so there is no responsibility with others.
Are there more security risks than on a shared hosting with let's say a standard phpBB forum page?

The idea would be to point the IP from my existing hosting provider to the VPS.


  • Do we have some general "how to setup" for a VPS setting from scratch?
  • Anyone interested in creating such a "how to" in a conversation with me here to have a refence or base to sum that up for the frindica wiki?
  • Could it even be of interest to create a "friendica VPS-ISO installation" with the help of git.friendi.ca for example?


@TupambAdmin
@bitPickup mʕ•ﻌ•ʔm


@c6h12o6 Warum muss es hier ienem Standard folgen ("Microblogging ist halt was anderes") und wer definiert, was "richtiges Microblogging" denn ist? Das #Fediverse gibts schon länger und es ist jetzt so, wie es ist. @helpers @oldie @heluecht


Dear @Friendica Admins, for my #Friendica and also my other #fediverse servers, I am looking for a recommended minimum instance #blocklist which contains only domains that contain or distribute illegal or potentially illegal (in Germany/EU, UK or US) content and / or are notorious spammers. I use a combination of the #gardenfence and #oliphant tier0/tier1 lists at the moment which seems okay but is broader than what I described due to the inclusion of very block-friendly sources. I am looking for something really focussing on legality and server security only as a condensed basis. Any recommendations? @Friendica Support


@heluecht

Also ist der deutsche #Wikipedia-Artikel zum #Fediverse möglicherweise schon zu technisch?

https://de.wikipedia.org/wiki/Fediverse

P.S.: Habe zu meinem "klassischen" #Mastodon-Account gewechselt. Das Zusammenspiel zwischen #Mammuthus und #Friendica bietet noch zu viel Raum für Optimierung... :-|


@Friendica Support @Michael Vogel Ich suche jeweils zum #Fediverse und zu #Friendica verhältnismäßig kurze und verständliche #Informationen, um "unwissenden 😊" Menschen das Fediverse und Friendica näher bringen zu können bzw. es mal zu versuchen.


Ich muss dem nachgehen - etwas gewöhnungsbedürftig, dass man im #Fediverse uBlock eingeschaltet haben muss...