Why Nostr? What is Njump?
2025-03-29 16:08:14
in reply to

utopiArte on Nostr: Hypolite Petovan It should not point to PHP-FPM Changed this setting in the ...


It should not point to PHP-FPM


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:
system.url => subX.domain.com
system.php_path => /usr/bin/phpX.y
system.urlpath => /var/www/subXdomaincom/
system.ssl_policy => 1
system.basepath => /var/www/subXdomain/

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 wrote: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.
As of now local.config.php does define system.urlpath, but as the site that works uses the line I left it for now.


hypolite wrote:system.url is the absolute URL where your Friendica node is accessible. It should consist in the protocol, the domain and the urlpath together. In your case it should be https://sub.domain.com/
system.url is actually not set as https://sub.domain.com/ but as sub.domain.com
Author Public Key
npub1294khcygmzxr8fudt4dany08xnz7w3ufqqf4f835regcwpdwqamq82upjh