navigium
@navigium@grindcore.ch
This is a remote user, information on this page may be incomplete. View original ↗
Cyclist, ski mountaineer, unicyclist, Linux and FreeBSD user, IT engineer, ham radio operator - preferably on summits who enjoys listening to Grindcore. All of this not necessarily in this order. Studied math and worked as bike messenger in a previous life.... and chatted with people on Identi.ca and then status.net - JFYI to all the fellow graybeards who have been around for ever.
- Comment on IPv6 database connection to Postgres 2 days ago: @Harald Eilertsen thanks for the reply to the MR. I thought I replaced the spaces but must have forgotten to check.
Regarding the 20 years: My memory isn't that good to remember single functions. All I remember is to use dollar signs for variables and curly braces for blocks. Apart from this I sadly have to read documentation and search the web. I did check though whether we require PHP 8 before using those new constructs. - Comment on IPv6 database connection to Postgres 2 days ago: @Beni Grind ~HB9HNT @Mario Vavti @Harald Eilertsen Ok, I rewrote the text. Now it's ready for inspection. Sorry for the confusion.
- Comment on IPv6 database connection to Postgres 2 days ago: @Beni Grind ~HB9HNT @Mario Vavti @Harald Eilertsen Please ignore for now, my long text got somehow lost and was replaced with a commit message. I'll edit the MR again and rewrite the lost text.
- Comment on IPv6 database connection to Postgres 2 days ago: @Hubzilla Support Forum @Mario Vavti @Harald Eilertsen Would anyone of you mind giving me feedback on this PR: #^https://framagit.org/hubzilla/core/-/merge_requests/2312
The usual disclaimer holds: I gave my best to describe what my intentions were but chances are that I have no idea what I'm doing and that my code is useless. The last time I wrote php code is more than 20 years ago. - Submitted 2 days ago to adminsforum@hubzilla.org | 0 comments
- Comment on IPv6 database connection to Postgres 3 days ago: @Hubzilla Support Forum to follow up on this: As @Harald Eilertsen suggested the issue is in
include/dba/dba_pdo.phpon line 24 where a colon means a unix socket.
I'm posting this from my IPv6-only database, all I did was remove the colon - which of course breaks unix socket support. I'll come up with a proper fix and a PR later (possibly not today) - Submitted 3 days ago to adminsforum@hubzilla.org | 0 comments
- Comment on @ Hubzilla Support Forum What's interesting is that in boot.php the value 3 days ago: @Harald Eilertsen Yes, making a software more IPv6-capable usually means replacing IPv4-isms with the proper built-in functions which handle both protocol versions. Like replacing regexes that check whether something is an IP expecting 4 octets separated by periods with something like
filter_varandFILTER_VALIDATE_IPin the case of PHP. - Comment on @ Hubzilla Support Forum What's interesting is that in boot.php the value 3 days ago: @Harald Eilertsen Thanks for your reply. That's my database config (modified for public posting):
$db_host = '2001:db8::6666';
$db_port = '0';
$db_user = 'hubzilla';
$db_pass = '*****';
$db_data = 'hubzilla';
$db_type = '1';
So there are the same single quotes that surround the other values (and did the ipv4 address). There is also a semicolon.
Currently I didn't set DNS names for the jails. I thought about using a host name. But somehow I think I should rather fix this and make Hubzilla more IPv6 capable.