Hi there,
the moment has come to do the first instance upgrade cycle in the life of this instalation to bring this server to the actual stable version 2024.12-1 in the comming days.
In part the idea is to document every step in a post similiar to the howTo instructions:
install and/or move friendica to ubuntu 22.04 LTS VPS server
in the @EDIT | don't follow! profile.
Right now we are on 2023.05, so we will have to update step by step to:
2023.12 | release notes
2024.03 | release notes
2024.08 | release notes
2024.12-1 | release notes
Are there any specific recomandations or details to have in mind besides the information expected to be found in every update release instruction?
This is basically a single user instance with round about 14 forum pages with few followers each and a total of 18 profiles with contacts in the activityPub and diaspora community and some RSS subscriptions. No other specific conectors are enabled.
Installed addons/apps:
blockbot, calc, impressum, js_upload, notifyall, nsfw, pageheader, phpmailer, qcomment, rendertime, showmore_dyn, startpage
DB backups amount to ~180MiB and the image file storage folder on ftp around ~400MiB.
Friendica stable | 'Giant Rhubarb' 2023.05 - 1518
PHP Version 8.1.2-1ubuntu2.14
VPS server | Ubuntu 22.04 LTS
4 Core CPU, 8 GB Ram with 300GB NVME Disk - unlimited traffic
hosted by @ raroun 👍
Notes:
This instances right now seems to work well.
Sometimes this profile here has some strange hickups like when following up the link of a post from this server in a stream view a message "Not Found |The requested item doesn't exist or has been deleted." Also right now profiles from contacts, for example @ hoergen or @ feb don't show up in the contact list but they are displayed as followed in the profile contact page.
Ver. 05 | install and/or move friendica to ubuntu 22.04 LTS VPS server
--EDIT - information
This tutorial is supposed to be published by the tutorial profile of this server.
It is designed to have several chapters, each being distinctively seperated by an own titel. In total as of now there are like besides this introduction like 6 chapters.
posting and edition time of and by this EDIT profileof ver05 as of now 1hs
mastodon review contact: @mʕ•ﻌ•ʔm bitPickup
Categories:
@helpers@forum.friendi.ca
SPOILER - click to open/close || Introduction
This tutorial is an adaption of the tutorial "creating a friendica server - ubuntu" by @Hank G ☑️ based on the experience of the installation report by @…ᘛ⁐̤ᕐᐷ jesuisatire bitPickup:
squeet.me/display/962c3e10-576…
and specific help by @Raroun.Server specs and friendica version used:
VPS server | Ubuntu 22.04 LTS
PHP Version 8.1.2-1ubuntu2.14
4 Core CPU, 8 GB Ram with 300GB NVME Disk
Friendica [STABLE] | 'Giant Rhubarb' 2023.05 - 1518SPOILER - click to open/close || Installation environment and HowTo
The only reasonable way to work with a VPSserver on the web is using the console.
If you are not familiar with that don't worry, it is easy and the only thing you have to do is being able to copy/paste the commands displayed:
¡Copy/paste only the codeBoxes like this one
, located outside of the spoilers of this tutorial one after another without altering the sequence!
Of course it is necessary to change the specific file names and passwords for you indiviual site, but that's all. promise!
On the console you wont be able to copy/paste with the keyboard ctrl-C/ctrl-V technique, you'll have to use the mouse "right click, chose option" technique.
This tutorial was created on a #debian #linux desktop environment.
There shouldn't be differences if you want to do this from a #windows machine.
The method used for communication between your local computer and the VPS server is called #SSH:
Wikipedia - Secure Shell:
"Cryptographic network protocol for secure data communication, remote shell services or command execution and other secure network services between two networked computers."
#linux #debian #ubuntu #friendica #fediVerse #fediTutorial #tutorial #fediHelp #fediTips #activityPub #HowTo #DIY #VPS #server #selfHosting@admin@tupambae.org @tutorial@tupambae.org
Diese Webseite verwendet Cookies. Durch die weitere Benutzung der Webseite stimmst du dieser Verwendung zu. https://inne.city/tos
Tobias
Als Antwort auf TupambAdminOrg [2024.03] • • •TupambAdminOrg [2024.03]
Als Antwort auf Tobias • • •added the respective links to the publication.
I guess there is nothing to add with respect to the difference between 2024.12 and 12-1, it's just installing 2024.12-1 instead of 2024.12 (?).
Tobias
Als Antwort auf TupambAdminOrg [2024.03] • • •From where do you get 2024.12-1? There only is the 2024.12 release.
Tobias
2025-01-01 08:47:42
From where do you get 2024.12-1? There only is the 2024.12 release.
Tobias
2025-01-01 08:47:42
TupambAdminOrg [2024.03]
Als Antwort auf Tobias • • •¿from github?
On github it looks like 12-1 was released a day later (right now it states 29 days) than 12 (1 month), as if it is a fix, also it states:
In the list of tags it looks like "older" or lesser in the hierarchy.
[as of now just edited the difference in the inicial post between github branch and anouncement post]
Tobias
Als Antwort auf TupambAdminOrg [2024.03] • • •utopiArte
Als Antwort auf Tobias • • •Learning/comprehension question @Tobias:
What does "in Friendica" mean?
The stable version 2024.12, in other words the github pull of 2024.12 even when the date says "1 month" like it if werent as upt o date than 12-1?
…ᘛ⁐̤ᕐᐷ jesuisatire bitPickup
Als Antwort auf TupambAdminOrg [2024.03] • • •Starting this announced updating cycle now.
Question:
Release notes and news forum announcement do not mention setting the site into maintenance mode by "going offline" stopping cron job:
and the following command:
This is described for moving from one server to another in the helpers page:
forum.friendi.ca/help/Migrate
Shouldn't this be somehow be a more safe procedure?
Planning to do that right now ..
…ᘛ⁐̤ᕐᐷ jesuisatire bitPickup
Als Antwort auf TupambAdminOrg [2024.03] • • •Problems using github update.
Trying to pull the update from 2023.05 to 2023.12 I get the message that the branch I'm trying to pull doesn't exist:
www-data@myservername:~/html$ git pull https://github.com/friendica/friendica/tree/2023.12
fatal: repository 'https://github.com/friendica/friendica/tree/2023.12/' not found
What am I doing wrong?
…ᘛ⁐̤ᕐᐷ jesuisatire bitPickup
Als Antwort auf …ᘛ⁐̤ᕐᐷ jesuisatire bitPickup • • •TupambAdminOrg [2024.03]
Als Antwort auf …ᘛ⁐̤ᕐᐷ jesuisatire bitPickup • • •Database structure update 1542 was successfully applied.

👍
TupambAdminOrg [2024.03]
Als Antwort auf TupambAdminOrg [2024.03] • • •Serializer.php php line 298
2025-02-20T22:15:46Z WARNING app E_USER_WARNING: Directory /var/www/html/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer not writable.Directory /var/www/html/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer not writable.
file
/var/www/html/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer.php
php line 298
error 512
Hypolite Petovan
Als Antwort auf TupambAdminOrg [2024.03] • • •/vendor
unable to modify by the web server user.utopiArte
Als Antwort auf Hypolite Petovan • • •hypolite hat geschrieben:
vendor ownership
drwxr-xr-x 40 www-data www-data 4096 Feb 20 21:22 vendor
drwxr-xr-x 3 www-data www-data 4096 Feb 20 21:20 ezyang
drwxr-xr-x 3 root root 4096 Feb 20 21:20 htmlpurifier
-rw-r--r-- 1 root root 341 Nov 17 2023 CREDITS -rw-r--r-- 1 root root 26456 Nov 17 2023 LICENSE -rw-r--r-- 1 root root 1271 Nov 17 2023 README.md -rw-r--r-- 1 root root 6 Nov 17 2023 VERSION -rw-r--r-- 1 root root 1415 Nov 17 2023 composer.json drwxr-xr-x 3 root root 4096 Feb 20 21:20 library
drwxr-xr-x 21 root root 4096 Feb 20 21:20 HTMLPurifier -rw-r--r-- 1 root root 274 Nov 17 2023 HTMLPurifier.auto.php -rw-r--r-- 1 root root 213 Nov 17 2023 HTMLPurifier.autoload-legacy.php -rw-r--r-- 1 root root 910 Nov 17 2023 HTMLPurifier.autoload.php -rw-r--r-- 1 root root 101 Nov 1
hypolite hat geschrieben:
vendor ownership
drwxr-xr-x 40 www-data www-data 4096 Feb 20 21:22 vendor
drwxr-xr-x 3 www-data www-data 4096 Feb 20 21:20 ezyang
drwxr-xr-x 3 root root 4096 Feb 20 21:20 htmlpurifier
-rw-r--r-- 1 root root 341 Nov 17 2023 CREDITS -rw-r--r-- 1 root root 26456 Nov 17 2023 LICENSE -rw-r--r-- 1 root root 1271 Nov 17 2023 README.md -rw-r--r-- 1 root root 6 Nov 17 2023 VERSION -rw-r--r-- 1 root root 1415 Nov 17 2023 composer.json drwxr-xr-x 3 root root 4096 Feb 20 21:20 library
drwxr-xr-x 21 root root 4096 Feb 20 21:20 HTMLPurifier -rw-r--r-- 1 root root 274 Nov 17 2023 HTMLPurifier.auto.php -rw-r--r-- 1 root root 213 Nov 17 2023 HTMLPurifier.autoload-legacy.php -rw-r--r-- 1 root root 910 Nov 17 2023 HTMLPurifier.autoload.php -rw-r--r-- 1 root root 101 Nov 17 2023 HTMLPurifier.composer.php -rw-r--r-- 1 root root 576 Nov 17 2023 HTMLPurifier.func.php -rw-r--r-- 1 root root 10573 Nov 17 2023 HTMLPurifier.includes.php -rw-r--r-- 1 root root 923 Nov 17 2023 HTMLPurifier.kses.php -rw-r--r-- 1 root root 235 Nov 17 2023 HTMLPurifier.path.php -rw-r--r-- 1 root root 10187 Nov 17 2023 HTMLPurifier.php -rw-r--r-- 1 root root 13579 Nov 17 2023 HTMLPurifier.safe-includes.php
There has been problems before with nearly all folders becoming owned by root.
In this upgrade I made the mistake to initialize
bin/composer.phar install --no-dev
as root but aborted that intent, changed to www-data and appliedbin/composer.phar install --no-dev
again.Command applied now to asure that all folders will be owned by www-data.
chown -R www-data:www-data /var/www/
utopiArte
Als Antwort auf utopiArte • • •Ownership, www-data and root related conversation from last year when the instalation was migrated to this VPS:
tupambae.org/display/0ac89072-…
utopiArte
2023-11-27 16:44:52
Ownership, www-data and root related conversation from last year when the instalation was migrated to this VPS:
tupambae.org/display/0ac89072-…
utopiArte
2023-11-27 16:44:52
utopiArte
Als Antwort auf TupambAdminOrg [2024.03] • • •2023.12 felt faster than 2023.05.
utopiArte
Als Antwort auf utopiArte • • •TupambAdminOrg [2024.03]
Als Antwort auf utopiArte • • •👍