Closed Krysztophe closed 2 years ago
Details:
Fails on Ubuntu (pgcluu master branch)
Fails on CentOS (pgCluu RPM)
It fails with -S
too:
psql:<stdin>:42: erreur : n'a pas pu écrire les données du COPY : Relais brisé (pipe)
cat: bb/toto: Aucun fichier ou dossier de ce type
cat: tutu/pg_stat_locks.csv: Aucun fichier ou dossier de ce type
Hello Krysztophe
I think the problem is in :
\\o | cat $FILE_REDIR $OUT_DIR/$file_output
Should we add single quotes?
\\o | cat $FILE_REDIR '$OUT_DIR/$file_output'
Edit : Only quote '$OUT_DIR/$file_output' works :)
https://github.com/ng-pe/pgcluu/commit/161da1973e18a24753e591191046ed7680b2f6c4
regards,
@ng-pe : Last results from you branch: there is still a problem while copying the *.conf files, around line 1087.
Fixed whith other : https://github.com/ng-pe/pgcluu/commits/fix-138
@ng-pe : OK for a local execution
Still KO for an ssh access ; I'm looking...
My mistake, that seems to work through ssh too.
I've found there is still a problem in System/Devices when a device has a space in it, as //mafreebox.freebox.fr/Disque dur
, the report is lost, but I don't think that it matters in real life :smile:
WIP : https://github.com/ng-pe/pgcluu/commit/32216d9cb16b0383c323c63876908e87614f4fef Add fix in pgcluu.
Hi, New merge request for this issue ;)
I know, this is not a good idea, but theses things happen:
This seems to work for the pid-file.
There are so many things to check that I gave up a real patch to correct it. Is it really worth it? I'll do a quick PR to add a clean error.