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

    Building Elastix 4 via RPM Repo

    IT Discussion
    asterisk centos centos 7 elastix elastix 4 linux pbx voip
    15
    184
    124.5k
    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.
    • nickN
      nick @nick
      last edited by

      error on httpd resolved.
      After running firstboot script, I get:

      The password for mysql and cyrus admin were successfully changed!
      Applying MySQL script /var/spool/elastix-mysqldbscripts/01-asteriskcdrdb.sql ...
      Applying MySQL script /var/spool/elastix-mysqldbscripts/01-freepbx.sql ...
      Applying MySQL script /var/spool/elastix-mysqldbscripts/02-asteriskuser-password.sql ...
      No Elastix CallCenter database found.
      No A2Billing database found.
      No VTigerCRM database found.
      Updating FreePBX database password: mysql... files... updated
      Updating FreePBX admin password: mysql... files... updated
      Updating FreePBX ARI password: mysql... files... updated
      Updating Flash Operator Panel password: mysql... files... updated
      Updating Asterisk Manager Interface password: mysql... files... updated
      Updating Elastix admin password: sqlite... FATAL: unable to update Elastix admin password: SQLSTATE[HY000]: General error: 1 no such table: acl_user

      1 Reply Last reply Reply Quote 2
      • nickN
        nick @rialejo
        last edited by

        @rialejo I have the same result from rpm -qa | grep httpd

        1 Reply Last reply Reply Quote 1
        • nickN
          nick
          last edited by

          I owe a coffee to whoever can fix this issue 🙂

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

            I'm trying to get to a point that I can do a fresh build. Got a couple of things demanding my attention in the queue in front of it, I'm afraid.

            nickN 1 Reply Last reply Reply Quote 1
            • JaredBuschJ
              JaredBusch
              last edited by

              The solution is to not use a product it's not going to be supported

              1 Reply Last reply Reply Quote 0
              • nickN
                nick @scottalanmiller
                last edited by

                @scottalanmiller After restarting several times, I finally made a snapshot on digital ocean just after downloading the ISO. It feels like I have saved my game just before a big boss.

                1 Reply Last reply Reply Quote 2
                • nickN
                  nick
                  last edited by

                  any luck @rialejo ?
                  I may try 3.5 instead of 4...

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

                    @nick said:

                    any luck @rialejo ?
                    I may try 3.5 instead of 4...

                    There is no 3.5. The 3 series was renamed MT and is meant for a completely different purpose. If you want 4, but an older version, you need the 2 series.

                    Elastix MT is for multi-tenant hosting environments.

                    Elastix 4 is the as of yet unreleased updated to Elastix 2.5 which is a standard single tenant PBX.

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

                      Oh yeah, Elastix 4 just dropped. I've only worked with RC3. Getting this up and running will be a much higher priority now. Stay tuned 😉

                      1 Reply Last reply Reply Quote 1
                      • rialejoR
                        rialejo
                        last edited by

                        @nick cool! so now we must to undertund why that step is not working... No, not yet... im was tring to edit the password but im not sure about the file that content that... i mean in some parts say a command with a file address... but giveme no such file:

                        sqlite3 /var/www/db/acl.db "UPDATE acl_user SET md5_password='5f4dcc3b5aa765d61d8327deb882cf99' WHERE name='admin'"

                        nickN 1 Reply Last reply Reply Quote 0
                        • nickN
                          nick @rialejo
                          last edited by

                          @rialejo I've seen this fix --- it looks promising, but in my asterisk database, I don't have a table called acl_users. ..getting close.

                          1 Reply Last reply Reply Quote 0
                          • rialejoR
                            rialejo
                            last edited by

                            @nick That was my point... I suppose that exist any file that have this specific information to edit... now the work it’s to find it, to edit like the command say... until now I can’t find anything else... if have lucky I will post here...

                            1 Reply Last reply Reply Quote 0
                            • rialejoR
                              rialejo
                              last edited by rialejo

                              @nick I think that i have the solution!

                              I copied from the other Elastix 2.5 the file with size 0 in the Elastix 4, and paste on it... is not the most fabulous solution but works... help me to check if all its working... because its the firt time that I open it...

                              The file address is : /var/www/db

                              the file that i copied was:
                              acl.db
                              iptables.db
                              menu.db
                              register.db
                              dashboard.db
                              samples.db
                              settings.db

                              It was for my case, maybe it dont copy whit the same issue...

                              Try and let me know!!

                              I´m thinking that the best is to run the Elastix 4 over VirtualBox, and copy the file from there and paste on the final server... in my case is in a hosted server... just to be sure that all the file match perfect with the version.

                              Regards!

                              1 Reply Last reply Reply Quote 0
                              • nickN
                                nick
                                last edited by

                                I can confirm that replacing all of these files with their equivalent versions from a working version of Elastix 2.5 does indeed allow me to log in, and I can (for the first time) see Elastix 4.

                                Not overly comfortable with this as a "solution" but thanks for sharing 🙂

                                1 Reply Last reply Reply Quote 0
                                • nickN
                                  nick
                                  last edited by

                                  I almost immediately begin experiencing errors such as:
                                  "Error de conexion a la base de datos - Array ( [0] => HY000 [1] => 8 [2] => attempt to write a readonly database )"

                                  and it is does not seem possible to install addons such as "Call Center" ... Addons menu has error "Query Error SELECT * FROM action_tmp"

                                  When installing "Call Center": The column 'has_account' does not exist and could not be created

                                  The backend does look very nice though.

                                  rialejoR 1 Reply Last reply Reply Quote 1
                                  • rialejoR
                                    rialejo @nick
                                    last edited by

                                    @nick For that reason, I recommend to copy from the same version but in a VirtualBox... that´s the common and easy way to run and get all the file that can match exactly with this installation... untill now it is the only way that i know to full run...

                                    Regards!

                                    1 Reply Last reply Reply Quote 0
                                    • nickN
                                      nick
                                      last edited by

                                      So in order to get Elastix 4 running, all I need is a copy of Elastix 4 that is running. Gotcha.

                                      rialejoR 1 Reply Last reply Reply Quote 0
                                      • rialejoR
                                        rialejo @nick
                                        last edited by

                                        @nick

                                        Im not sure where you are trying to install the Elastix 4, in my case im installing over hosted server... so I need to use a Repo and all this kind of things that is totally diferent if you install the Elastix 4 in a virtual machine on VirtualBox in your current PC... Install Elastix over virtualbox its too easy and simple and it dont take more than 4 minute to have all working. When you have this installation running, you can connect by ssh, coppy the file arround db and paste on the installation in the hosted solution... that was my point.

                                        1 Reply Last reply Reply Quote 0
                                        • nickN
                                          nick
                                          last edited by

                                          I'm trying on DIgital Ocean - maybe I'll give virtualbox a try tonight

                                          1 Reply Last reply Reply Quote 0
                                          • nickN
                                            nick
                                            last edited by

                                            Installed Elastix 4 via VM-Player. Can confirm that installation of Call Centre add-on is smooth until the progress bar finishes, then it is not installed, and produces an error when trying to restart the installation. Can successfully create and register extensions in the virtual machine.

                                            Copied the contents of /var/www/db from this install to a fresh, rpm-based install on remote server.
                                            Can login, and create extensions, but cannot register them. Also unable to install call centre add-on.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 9
                                            • 10
                                            • 3 / 10
                                            • First post
                                              Last post