Gerade die hat es nötig: Hillary Clinton empört sich über Datenleck in Trump-Regierung »
Im Skandal um das Sicherheitsleck in der Trump-Regierung, bei dem ein Journalist ungewollt und unbemerkt an einem Chat teilnehmen konnte, in dem eine kurzKurschatten (Journalistenwatch - Newswatch)
Claim: Renewables are Cheaper Because of Fuel Volatility
The presenters at the meeting were carefully chosen to further the Hochul Administration’s narrative that all is well with the Climate Act. Consider, for example, the presentation by Jeff Freedman …Watts Up With That?
The post Juden in Norwegen verbergen ihre Identität, um medizinische Versorgung zu erhalten appeared first on Apollo News. #news #press
Juden verbergen für medizinische Versorgung ihre Identität
Die Leiter von zwei jüdischen Gemeinden in Norwegen warnen in einem Brief an die Gesundheitsbehörden, dass ihre Mitglieder zunehmend ihre jüdische Identität verbergen.Selma Green (Apollo News)
Hi there,
working on moving old friendica sites from a shared hosting to a VPS, I ran into the following problem I can't find a solution for. This actually happens with one 2021.04 instance but not with another (anymore), so I'm crosschecking all the settings but can't find how to solve this. Both sites were installed as 2012.04 from the start:
not working version hat geschrieben:
This is Friendica, version 2021.04 that is running at the web location sub.domain.com/var/www/subdomaincom. The database version is 1413/1413, the post update version is 1400/1400.
working version hat geschrieben:
This is Friendica, version 2021.04 that is running at the web location sub.domain.com. The database version is 1413/1413, the post update version is 1400/1400.
As visible in the screen, the site also displays the following path on top of the page, and of course calls that URL:sub.domain.com/var/www/subdomaincom
Different intents to fix this by changing or deleting the following settings from the console didn't work out:
system.basepath => /var/www/domaincom
system.urlpath => /var/www/domaincom/
Even more astonishing, sending the following setting with the console:/bin/console config system url https://sub.domain.com
.. the site is displayed and works as it should be for a few minutes, and than falls back into the wrong behavior, like if the worker changes something when ever the cron kicks in. In that time span I can log in and even go thru the admin settings but this setting is not available.
Intents to modify the following specifications in local.config.php didn't work out either:
'system.basepath' => '',
'url.basepath' => '',
'system.urlpath'=> '',
At least I figured out/ realized that
url.
and system.
actually shouldn't be used at all as:'config' => [
],
'system' => [
],
.. are actually "in charge" of defining that. So now I'm not sure either if those wrong lines somehow made it from local.config.php into the DB and are now part of the problem.
I found this conversation by @Hypolite Petovan on github:
Table config, cat = "system" AND key = "basepath"
and it actually looks like this is exactly te problem but I have no experience at all with mysql over CLI SSH and don't know what commands to use to delete the apparently wrong setting in the DB.
Is there a way to delete entries with bin/console
?
I did manage to change some settings from there but couldn't find any hint how to "delete" an entry entirely from there:
/var/www/inversioncom/bin/console config -h
console config - Manage site configuration
Synopsis
bin/console config <category> <key> <value> [-h|--help|-?] [-v]
bin/console config system basepath /
system.basepath <= /
Ukraine ermordet vier russische Journalisten in drei Tagen anonymousnews.org/internationa… anonymousnews.org – Nachrichten unzensiert
Ukraine ermordet vier russische Journalisten in drei Tagen
Innerhalb von drei Tagen wurden durch das ukrainische Militär vier russische Journalisten ermordet – eine Zahl, die alarmiert. Nach Meinung der Sprecherin des russischen Außenministeriums, Maria Sacharowa, nimmt die Ukraine nicht
@hypolite Les grands esprits se rencontrent, j'ai tout de suite pensé à cette note quand je me suis soudainement souvenu de mon " " "idée de génie." " "
C’était juste que les gars qui nous ont pondu le concept de "ruissellement économique" sont sans doute les mêmes qui nous ont sorti "le plastique se recycle".
Bon. Sans être débile je dirais pas que c'est la découverte du siècle non plus.
Shithole Germany: Razzia bei Eritreer-Bande wegen Terrorverdacht » Journalistenwatch
Als ob Deutschland mit dem importierten Islam-Terror nicht ausgelastet wäre, gab es gestern eine Großrazzia in sechs Bundesländern gegen die Brigade N'HameduKurschatten (Journalistenwatch - Newswatch)
Internet-Wucher: Preise in Deutschland bis zu 100-mal höher anonymousnews.org/netzwelt/int… anonymousnews.org – Nachrichten unzensiert
Internet-Wucher: Preise in Deutschland bis zu 100-mal höher
Während halb Europa längst mit Glasfaser durchstartet und die Preise pro Mbit im Cent-Bereich liegen, zahlen deutsche Nutzer das Hundertfache. Schuld daran: ein Quasi-Monopol, politische Trägheit und eine Telekom im Retro-Modus – mit
Internet-Wucher: Preise in Deutschland bis zu 100-mal höher
Viel Geld für wenig Leistung! Dieses Prinzip gilt für Verbraucher in Deutschland beim Surfen im Internet.Redaktion (anonymousnews.org – Nachrichten unzensiert)
Good thing @SafeguardingResearch is backing things like this up.
I'm starting a #Mastodon thread on the new #Trump administration's actions and positions on #OpenAccess to research.
I posted frequently about the actions of his first administration. But I did it on #Twitter / #X, which I no longer use.
Also see this wiki page where I'm collecting my old Twitter posts on his first term and my new Mastodon posts on his second term.
cyber.harvard.edu/hoap/The_Tru…
For updates, watch this space.
(I am currently trying something - URLs would help)
Das Märchen von der Knappheit der Ressourcen
Ressourcen werden nie ausgehen. Der einzige Faktor, der die Verfügbarkeit von Ressourcen begrenzt, ist der menschliche Geist.Jutta Willand-Sellner (Tichys Einblick)
The post ÖRR-Talkshows: Seit der Bundestagswahl gehörte nur einer von 75 Politikergästen zur AfD appeared first on Apollo News. #news #press
ÖRR: Seit Wahl war nur einer von 75 Politikergästen AfD-Vertreter - Apollo News
Seit der Bundestagswahl war von 75 Politikergästen in ÖRR-Talkshows nur einer ein AfD-Vertreter. Andere Parteien waren dagegen stark überrepräsentiert.Boris Cherny (Apollo News)
Russisch lernen – Lektion 55 von 100 anonymousnews.org/videos/russi… anonymousnews.org – Nachrichten unzensiert
Russisch lernen – Lektion 55 von 100
Sprache ist der Schlüssel – vor allem zur Völkerverständigung. Sie gehören auch zu den Menschen, die gerne Russisch lernen möchten und nicht wissen, wo Sie anfangen sollen? Sie haben das Gefühl, die russische Sprache ist viel zu kompliziert? Macht Ihnen das kyrillische Alphabet Angst, und sind Sie unsicher,
Russisch lernen – Lektion 55 von 100
Schnell und effektiv lernen — Sprich Russisch, wie du es schon immer wolltest. Interaktiver Kurs erstellt von Experten.Redaktion (anonymousnews.org – Nachrichten unzensiert)
Der Blindflug: Europäer im Kriegsmodus – doch Kiew bald pleite
Beim Ukraine-Gipfel in Paris beschwören Europas Spitzenpolitiker ihre Unterstützung – „so lange wie nötig“.exxpress.at
Hypolite Petovan
Als Antwort auf utopiArte • • •Friendica Support hat dies geteilt.
utopiArte
Als Antwort auf Hypolite Petovan • • •@Hypolite Petovan
Trying to document changes and results in kind a step by step answers.
The following setting leaves the site with a blank page and results in
bin/console config
printing the error message:[Error] Missing database structure config file static/dbstructure.config.php
local.config.php
utopiArte
Als Antwort auf utopiArte • • •@Hypolite Petovan
local.config.php
bin/console config
print:Site doesn't work, resulting in the screen as shown in the inicial post.
Setting the URL as described:
/var/www/inversioncom/bin/console config system url https://inversion.tupambae.com
.. the site works for a few minutes.
utopiArte
Als Antwort auf utopiArte • • •@Hypolite Petovan
local.config.php
bin/console config
print:Site doesn't work, resulting in the screen as shown in the inicial post.
Setting the URL as described:
/var/www/inversioncom/bin/console config system url https://inversion.tupambae.com
.. the site works for a few minutes.
utopiArte
Als Antwort auf utopiArte • • •@Hypolite Petovan
local.config.php
bin/console config
print:Site doesn't work, resulting in the screen as shown in the inicial post.
Setting the URL as described:
/var/www/inversioncom/bin/console config system url https://inversion.tupambae.com
.. the site doesn't work either!
utopiArte
Als Antwort auf utopiArte • • •@Hypolite Petovan
local.config.php
bin/console config
print, this time one of the references doesn't show up anymore:Site doesn't work, resulting in the screen as shown in the inicial post.
Setting the URL as described:
/var/www/inversioncom/bin/console config system url https://inversion.tupambae.com
.. the site works for a few minutes.
Hypolite Petovan
Als Antwort auf utopiArte • • •static/defaults.config.php
file.Friendica Support hat dies geteilt.
utopiArte
Als Antwort auf Hypolite Petovan • • •@Hypolite Petovan
On a first glimps, I haven't found any mention of the path terms.
In any case I will wonder about the meaning of: "the meaning of the relevant config keys".
Like to say, if I can find "relevant config keys" ..
utopiArte
Als Antwort auf utopiArte • • •@Hypolite Petovan
Couldn't find any relevant setting or hint in
static/defaults.config.php
searching for the termpath
.I did (again) a diff check of the print of
bin/console config
of the two subdomains.The domain that doesn't work still displays the setting;
config.system.basepath => /
.. and I have no idea how to delete/ erase the
/
The subdomain that works has the following line that doesn't show up in the one that doesn't work:
system.urlpath => /var/www/sudbomain2/
Hypolite Petovan
Als Antwort auf utopiArte • • •@utopiArte Sorry, I was on mobile and couldn’t check but these keys should have been mentioned in this file, along their purpose.
system.basepath
is the absolute file path where Friendica is installed, e.g./var/www/subdomaincom
in your case.system.urlpath
should only be used if Friendica is installed in a subfolder of the domain you’re using, and is relative to that domain. It doesn't seem to be relevant to you, so it should be blank.system.url
is the absolute URL where your Friendica node is accessible. It should consist in the protocol, the domain and theurlpath
together. In your case it should behttps://sub.domain.com/
system.php_path
should be the absolue path to the PHP CLI executable. It should not point to PHP-FPM, which is used to process web requests.Friendica Support hat dies geteilt.
utopiArte
Als Antwort auf Hypolite Petovan • • •@Hypolite Petovan
Changed this setting in the
local.config.php
to phpX.y. The sites are working like before.I decided to copy/paste identically
local.config.php
of the site that does work to the one that doesn't, only changing the specific detail of DB and folder structure, and also made sure that the .conf files are alike.Still having the same problem.
Compared the print of:
/var/www/subdomaincom/bin/console config
in the few minutes it is working correctly after sending:
/var/www/subdomaincom/bin/console config system url https://sub.domain.com
and when it doesn't work but the prints are identically.
The print right now for both sites show the following quite at the bottom of the print:
The only difference between the two sites in the print is the following line quite at the top:
config.system.basepath => /
This line doesn't exist in the site that is working and I can't find a way to skip it or delete the
/
.Meld (the diff program) shows a dot in front of the the slash
./
, the simple text editor Kate doesn't.Meld actually also shows the [enter] signs in the same way, a little bit less colored, in lines that have them, like it shows the dot.
🤷♂️
(notes (to myself))
hypolite hat geschrieben:
As of now
local.config.php
does definesystem.urlpath
, but as the site that works uses the line I left it for now.hypolite hat geschrieben:
system.url
is actually not set ashttps://sub.domain.com/
but assub.domain.com
Hypolite Petovan
Als Antwort auf utopiArte • • •@utopiArte So, forget about
system.urlpath
, it isn't used in any way by Friendica anymore, so value or not will not change your predicament.However, the
system.url
should include the scheme. It is the most important config values to determine the base URL of your Friendica install.What do you mean by "works for a few minutes"? How many pages correctly show in the mean time? What happens when the few minutes have elapsed?
Friendica Support hat dies geteilt.
utopiArte
Als Antwort auf Hypolite Petovan • • •@Hypolite Petovan
The site works correctly for several minutes.
I can log in.
All pages show correctly, including admin pages.
Once it falls back to redirecting to:
sub.domain.com/var/www/subdomain/
.. I have to execute again:
/var/www/subdomaincom/bin/console config system url https://sub.domain.com
.. the console prints (as always):
system.url <= https://inversion.tupambae.com
and I can use the site again for several minutes before it falls back to the wrong behavior.
utopiArte
Als Antwort auf utopiArte • • •@Hypolite Petovan
After a break I started to check out everything again and did several tests.
I changed the order of the lines in local.config.php and managed to get the exact same lines and order in the bin/console prints of both sites.
The problem stayed.
Than I checked example_local.config.php to compare and found that actually any of the lines figure there, so I deleted them all together.
Right now local.config.php looks like this:
The site still behaves the same way. At first it loads correctly, and quite fast, after some minutes it starts taking lot's of time and ends up like in the screen of the initial post.
Now the bin/console config print shows only the following two specific lines related to the whole path issue, all the other references mentioned above are gone.
I have no idea how to delete the remaining references. Those lines have to figure somewhere in the DB I guess, but again, no idea what lines to execute to display them or delete them:
config.system.basepath => /
system.basepath => /var/www/subdomain
Hypolite Petovan
Als Antwort auf utopiArte • • •@utopiArte Once you set a config value using the console, changing the value in the config file won't help as the console stores the value in the DB and it has precedence over the files.
No matter how you did it, the important part is that
system.basepath
must be set to the install folder, andsystem.url
must be set to the full URL. You can verify what the current value used by Friendica for either config keys is using the console.I've browsed
https://sub.domain.com
and when the style is missing, the first line showsinversion.tupambae.com/var/www/subdomaincom
even though it should showhttps://sub.domain.com
. This is governed by thesystem.url
config key.Friendica Support hat dies geteilt.
utopiArte
Als Antwort auf Hypolite Petovan • • •@Hypolite Petovan
To me it "feels" that
/var/www/subdomaincom
is added by some mecanism tosub.domain.com
. In particular because when setting specifically with the console command/var/www/subdomaincom/bin/console config system url
->https://sub.domain.com
it works for some minutes.utopiArte
Als Antwort auf utopiArte • • •@Hypolite Petovan
As last intent I tried to use the following commands to reset the two mentioned settings but the behaviour ist still the same:
/var/www/subdomaincom/bin/console config system url https://sub.domaincom
/var/www/subdomaincom/bin/console config system basepath /var/www/subdomaincom/
Can't see a solution for this.
Hypolite Petovan
Als Antwort auf utopiArte • • •system.url
config value changed?Friendica Support hat dies geteilt.
utopiArte
Als Antwort auf Hypolite Petovan • • •@Hypolite Petovan
No I can't.
There is no change at all in the results of the bin/console config output (print).
Actually even the settings send and "officially" accepted by the system do not show up in the print.
Latest thing I tried, totally feed up, was to send the commands several times and also making sure they end with a slash.
So I send:
/var/www/subdomaincom/bin/console config system url https://sub.domain.com/
system.url <= inversion.tupambae.com/
/var/www/subdomaincom/bin/console config system basepath /var/www/subdomaincom/
system.basepath <= /var/www/inversioncom/
/var/www/subdomaincom/bin/console config system url https://sub.domain.com/
system.url <= inversion.tupambae.com/
/var/www/subdomaincom/bin/console config system basepath /var/www/subdomaincom/
system.basepath <= /var/www/inversioncom/
And right now it looks like it sticked, for now the site remains operative!
🙄
(please have in mind that this is 2021.04, if it weren't so outdated I'd say we need to figure out the problem because this feels like a real problem under the hood)
Hypolite Petovan
Als Antwort auf utopiArte • • •/var/www/subdomain/
gets prepended in the URL. Do you mind runningbin/console config system
and send the output tohypolite@mrpetovan.com
?Friendica Support hat dies geteilt.
Nanook
Als Antwort auf utopiArte • • •utopiArte
Als Antwort auf Nanook • • •Not sure if I get what you mean with none-root @Nanook.
Like instead of:
/var/www/html/subdomain
or
/var/www/subdomain
just
/subdomain
?
Nanook
Als Antwort auf utopiArte • • •Also, this is a btop from an 18 core machine with 256GB of RAM with the major load being friendica, a secondary load is hubzilla, mastodon, and miskey, but friendica represents more load than the latter three combined, but it also gets more traffic than the latter three combined. But what I am getting at here, you may want to consider dedicating a physical server. I'll grant you it's busier than usual as we've just returned the server to service after three months of downtime, 7 motherbords, three power supplies, and two CPU's later.
[
utopiArte
Als Antwort auf utopiArte • • •@Hypolite Petovan
Not mentioned in the inicial post or answers as of now is the setting of
/sites-available/sub.domain.com-le-ssl.conf
sub.domain.com-le-ssl.conf
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin admin@domain.com
ServerName sub.domain.com
DocumentRoot /var/www/subdomaincom
<Directory /var/www/subdomaincom>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
<FilesMatch \.php$>
# 2.4.10+ can proxy to unix socket
SetHandler "proxy:unix:/run/php/phpXy4-fpm.sock|fcgi://localhost"
</FilesMatch>
# DirectoryIndex index.php
ErrorLog ${APACHE_LOG_DIR}/subdomaincom_error.log
CustomLog ${APACHE_LOG_DIR}/subdomaincom_access.log combined
# RewriteEngine on
# Some rewrite rules in this file were disabled on your HTTPS site,
# because they have the potential to create redirection loops.
# RewriteCond %{SERVER_NAME} =sub.domain.com
# RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/subX.domain.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/subX.domain.com/privkey.pem
</VirtualHost>
</IfModule>