ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Wazo 16.16 Software Selection Installation Error

    IT Discussion
    wazo wazo 16.16
    3
    35
    6.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JaredBuschJ
      JaredBusch @scottalanmiller
      last edited by

      @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?
      0_1481668086614_upload-0d9d0e57-dc22-48e2-bce3-0c84acd8de3d

      scottalanmillerS 1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @quintana
        last edited by

        @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.

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @JaredBusch
          last edited by

          @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?
          0_1481668086614_upload-0d9d0e57-dc22-48e2-bce3-0c84acd8de3d

          Default, let me run it again and verify.

          JaredBuschJ 1 Reply Last reply Reply Quote 0
          • JaredBuschJ
            JaredBusch @scottalanmiller
            last edited by

            @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?
            0_1481668086614_upload-0d9d0e57-dc22-48e2-bce3-0c84acd8de3d

            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.

            scottalanmillerS JaredBuschJ 2 Replies Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @JaredBusch
              last edited by

              @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?
              0_1481668086614_upload-0d9d0e57-dc22-48e2-bce3-0c84acd8de3d

              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.

              1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch @JaredBusch
                last edited by

                @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?
                0_1481668086614_upload-0d9d0e57-dc22-48e2-bce3-0c84acd8de3d

                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.

                0_1481668381687_2016-12-13 16_23_14-BUNDYHV02 - ScreenConnect - Connected.png

                0_1481668393616_2016-12-13 16_23_31-BUNDYHV02 - ScreenConnect - Connected.png

                0_1481668405567_2016-12-13 16_23_41-BUNDYHV02 - ScreenConnect - Connected.png

                0_1481668418080_2016-12-13 16_31_28-BUNDYHV02 - ScreenConnect - Connected.png

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller
                  last edited by

                  Vultr doesn't give you options like that as you go, I have to check it from the OS.

                  JaredBuschJ 1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    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
                    
                    1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller
                      last edited by

                      Worked on Scale, I'm at the Wazo interface.

                      1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller
                        last edited by

                        Here is the setting that failed on Vultr:

                        root@vch-lnx-wazo:/tmp# env | grep LANG
                        LANG=en_US.UTF-8
                        
                        1 Reply Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch @scottalanmiller
                          last edited by

                          @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.

                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @JaredBusch
                            last edited by

                            @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.

                            JaredBuschJ 1 Reply Last reply Reply Quote 0
                            • JaredBuschJ
                              JaredBusch @scottalanmiller
                              last edited by

                              @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.

                              scottalanmillerS 1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @JaredBusch
                                last edited by

                                @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.

                                JaredBuschJ 1 Reply Last reply Reply Quote 0
                                • JaredBuschJ
                                  JaredBusch @scottalanmiller
                                  last edited by

                                  @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.

                                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller @JaredBusch
                                    last edited by

                                    @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.

                                    1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller
                                      last edited by

                                      Just to confirm, this error still exists with Wazo 18.03 installations.

                                      1 Reply Last reply Reply Quote 0
                                      • 1
                                      • 2
                                      • 2 / 2
                                      • First post
                                        Last post