Friday, July 26, 2024

OSE/PSE Resources

Crawler site

wget -m -p -k -np -R '*html*,*htm*,*asp*,*php*,*css*' -X 'www' https://khalifagroup.ma/odoo-server/ --no-check-certificate

Best

lftp -c 'mirror --parallel=100 https://example.com/files/ ;exit'
set ssl:verify-certificate false in ~/.lftprc
 
 

References
[1] https://www.m00nie.com/specifically-disable-cert-verification-lftp

https://khalifagroup.ma/odoo-server/enterprise

Thursday, July 04, 2024

Ubuntu18 Upgrade Postgres10 to Postgres12

 

sudo apt-get install curl ca-certificates gnupg
curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
sudo apt-get update
 
 
#pgdg.list #update
deb https://apt-archive.postgresql.org/pub/repos/apt bionic-pgdg main 

 

$ sudo apt update
$ sudo apt install postgresql-12

 

Error that force us to update

psycopg2.errors.UndefinedFunction: function jsonb_path_query_array(jsonb, unknown) does not exist
LINE 1: ...ate_name_index" ON "product_template" USING gin ((jsonb_path...

 
 

Facturador Sunat SEE SFS (Linux)

    /usr/lib/jvm/java-8-openjdk-amd64/bin/java -jar ./facturadorApp-2.1.jar server prod.yaml References: [1] Make temp certificate for test...