Damus
Hypolite Petovan · 57w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq294khcygmzxr8fudt4dany08xnz7w3ufqqf4f835regcwpdwqamqmtdzkq Sorry, I was on mobile and couldn’t check but these keys should have been mentioned ...
utopiArte profile picture
@Hypolite Petovan
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
1
utopiArte · 57w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqtx0flkxr6amckrkpzz92apurckfxgtcnzm4h747wlq72dakzmaqs9uk9z3 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 th...