Wazo 16.16 Software Selection Installation Error
-
@quintana said in Wazo 16.16 Software Selection Installation Error:
Looks like an encoding problem. Your VM is not UTF8 and the database need to be UTF8.
psycopg2.DataError: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII)
HINT: Use the same encoding as in the template database, or use template0 as template.Can the script be adapted to handle that? This is a default Debian 8 image, if it is failing it's a broader issue.
-
Firing up the ISO on Scale now to see how it is handled there.
-
@scottalanmiller I need to check! be back
-
@scottalanmiller said in Wazo 16.16 Software Selection Installation Error:
@quintana said in Wazo 16.16 Software Selection Installation Error:
Looks like an encoding problem. Your VM is not UTF8 and the database need to be UTF8.
psycopg2.DataError: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII)
HINT: Use the same encoding as in the template database, or use template0 as template.Can the script be adapted to handle that? This is a default Debian 8 image, if it is failing it's a broader issue.
What locale did you pick on install?
-
@quintana said in Wazo 16.16 Software Selection Installation Error:
@scottalanmiller I need to check! be back
Okay, I'm getting the test done on Scale in the meantime.
-
@JaredBusch said in Wazo 16.16 Software Selection Installation Error:
@scottalanmiller said in Wazo 16.16 Software Selection Installation Error:
@quintana said in Wazo 16.16 Software Selection Installation Error:
Looks like an encoding problem. Your VM is not UTF8 and the database need to be UTF8.
psycopg2.DataError: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII)
HINT: Use the same encoding as in the template database, or use template0 as template.Can the script be adapted to handle that? This is a default Debian 8 image, if it is failing it's a broader issue.
What locale did you pick on install?
Default, let me run it again and verify.
-
@scottalanmiller said in Wazo 16.16 Software Selection Installation Error:
@JaredBusch said in Wazo 16.16 Software Selection Installation Error:
@scottalanmiller said in Wazo 16.16 Software Selection Installation Error:
@quintana said in Wazo 16.16 Software Selection Installation Error:
Looks like an encoding problem. Your VM is not UTF8 and the database need to be UTF8.
psycopg2.DataError: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII)
HINT: Use the same encoding as in the template database, or use template0 as template.Can the script be adapted to handle that? This is a default Debian 8 image, if it is failing it's a broader issue.
What locale did you pick on install?
Default, let me run it again and verify.
I just hit enter all the way through myself. installing on my Hyper-V server. waiting for it to finish.
-
@JaredBusch said in Wazo 16.16 Software Selection Installation Error:
@scottalanmiller said in Wazo 16.16 Software Selection Installation Error:
@JaredBusch said in Wazo 16.16 Software Selection Installation Error:
@scottalanmiller said in Wazo 16.16 Software Selection Installation Error:
@quintana said in Wazo 16.16 Software Selection Installation Error:
Looks like an encoding problem. Your VM is not UTF8 and the database need to be UTF8.
psycopg2.DataError: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII)
HINT: Use the same encoding as in the template database, or use template0 as template.Can the script be adapted to handle that? This is a default Debian 8 image, if it is failing it's a broader issue.
What locale did you pick on install?
Default, let me run it again and verify.
I just hit enter all the way through myself. installing on my Hyper-V server. waiting for it to finish.
Appears to have worked on Scale. Something about the ISO on Vultr makes it not even attempt the install.
-
@JaredBusch said in Wazo 16.16 Software Selection Installation Error:
@scottalanmiller said in Wazo 16.16 Software Selection Installation Error:
@JaredBusch said in Wazo 16.16 Software Selection Installation Error:
@scottalanmiller said in Wazo 16.16 Software Selection Installation Error:
@quintana said in Wazo 16.16 Software Selection Installation Error:
Looks like an encoding problem. Your VM is not UTF8 and the database need to be UTF8.
psycopg2.DataError: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII)
HINT: Use the same encoding as in the template database, or use template0 as template.Can the script be adapted to handle that? This is a default Debian 8 image, if it is failing it's a broader issue.
What locale did you pick on install?
Default, let me run it again and verify.
I just hit enter all the way through myself. installing on my Hyper-V server. waiting for it to finish.
-
Vultr doesn't give you options like that as you go, I have to check it from the OS.
-
Here is the build script I am working from on Debian 8:
#!/bin/bash dd if=/dev/zero of=/swapfile bs=1024 count=1024k chown root:root /swapfile chmod 0600 /swapfile mkswap /swapfile swapon /swapfile echo "/swapfile swap swap defaults 0 0">>/etc/fstab sysctl vm.swappiness=10 echo vm.swappiness=10>>/etc/sysctl.conf free -h cat /proc/sys/vm/swappiness apt-get -y install cloud-init wget http://mirror.wazo.community/fai/xivo-migration/wazo_install.sh chmod +x wazo_install.sh ./wazo_install.sh
-
Worked on Scale, I'm at the Wazo interface.
-
Here is the setting that failed on Vultr:
root@vch-lnx-wazo:/tmp# env | grep LANG LANG=en_US.UTF-8
-
@scottalanmiller said in Wazo 16.16 Software Selection Installation Error:
Vultr doesn't give you options like that as you go, I have to check it from the OS.
If you upload the ISO, sure they do. you have console access same as any other virtualization platform. Well I have for every other system I have tested there at least. Granted none of them were debian based.
-
@JaredBusch said in Wazo 16.16 Software Selection Installation Error:
@scottalanmiller said in Wazo 16.16 Software Selection Installation Error:
Vultr doesn't give you options like that as you go, I have to check it from the OS.
If you upload the ISO, sure they do. you have console access same as any other virtualization platform. Well I have for every other system I have tested there at least. Granted none of them were debian based.
If I do a Debian 8 ISO install rather than using Vultr's Debian 8, yes.
-
@scottalanmiller said in Wazo 16.16 Software Selection Installation Error:
@JaredBusch said in Wazo 16.16 Software Selection Installation Error:
@scottalanmiller said in Wazo 16.16 Software Selection Installation Error:
Vultr doesn't give you options like that as you go, I have to check it from the OS.
If you upload the ISO, sure they do. you have console access same as any other virtualization platform. Well I have for every other system I have tested there at least. Granted none of them were debian based.
If I do a Debian 8 ISO install rather than using Vultr's Debian 8, yes.
But you apparently did do that.. At least you posted you did.
@scottalanmiller said in Wazo 16.16 Software Selection Installation Error:
@quintana said in Wazo 16.16 Software Selection Installation Error:
From where did you get this screenshot? I don't know it.
From the Wazo install ISO.
-
@JaredBusch said in Wazo 16.16 Software Selection Installation Error:
@scottalanmiller said in Wazo 16.16 Software Selection Installation Error:
@JaredBusch said in Wazo 16.16 Software Selection Installation Error:
@scottalanmiller said in Wazo 16.16 Software Selection Installation Error:
Vultr doesn't give you options like that as you go, I have to check it from the OS.
If you upload the ISO, sure they do. you have console access same as any other virtualization platform. Well I have for every other system I have tested there at least. Granted none of them were debian based.
If I do a Debian 8 ISO install rather than using Vultr's Debian 8, yes.
If you are referring to the Wazo installer as a Debian 8 ISO, then yes. The same installer that you used, the same selections that you made.
-
@scottalanmiller said in Wazo 16.16 Software Selection Installation Error:
@JaredBusch said in Wazo 16.16 Software Selection Installation Error:
@scottalanmiller said in Wazo 16.16 Software Selection Installation Error:
@JaredBusch said in Wazo 16.16 Software Selection Installation Error:
@scottalanmiller said in Wazo 16.16 Software Selection Installation Error:
Vultr doesn't give you options like that as you go, I have to check it from the OS.
If you upload the ISO, sure they do. you have console access same as any other virtualization platform. Well I have for every other system I have tested there at least. Granted none of them were debian based.
If I do a Debian 8 ISO install rather than using Vultr's Debian 8, yes.
If you are referring to the Wazo installer as a Debian 8 ISO, then yes. The same installer that you used, the same selections that you made.
Did you or did you not have Vultr bring in the wazo-latest.iso? That is the only valid ISO to be discussing unless you are going to install from a base system.
-
@JaredBusch said in Wazo 16.16 Software Selection Installation Error:
@scottalanmiller said in Wazo 16.16 Software Selection Installation Error:
@JaredBusch said in Wazo 16.16 Software Selection Installation Error:
@scottalanmiller said in Wazo 16.16 Software Selection Installation Error:
@JaredBusch said in Wazo 16.16 Software Selection Installation Error:
@scottalanmiller said in Wazo 16.16 Software Selection Installation Error:
Vultr doesn't give you options like that as you go, I have to check it from the OS.
If you upload the ISO, sure they do. you have console access same as any other virtualization platform. Well I have for every other system I have tested there at least. Granted none of them were debian based.
If I do a Debian 8 ISO install rather than using Vultr's Debian 8, yes.
If you are referring to the Wazo installer as a Debian 8 ISO, then yes. The same installer that you used, the same selections that you made.
Did you or did you not have Vultr bring in the wazo-latest.iso? That is the only valid ISO to be discussing unless you are going to install from a base system.
I did. That failed totally. I selected the same things that you did, and the same things that I did on Scale, and while it worked for you and for me on Scale, it failed totally on Vultr.
I think followed the advice to use a stock Debian 8 (with UTF-8) on Vultr and use Wazo's build script instead, that also failed with the UTF-8 error.
So I have done both. What I have not done is install Debian 8 via a Debian 8 ISO on Vultr and try a Wazo build that way.
-
Just to confirm, this error still exists with Wazo 18.03 installations.