Hello, I’m at a stage now where It’s been a rocky road moving towards a successful upgrade. I ended up with the error “PBX version below 12.0alpha1 is required, you have 12.0.65” for the V2-12 Upgrader. I googled this and followed what tm1000 said here Upgrade from 5.211.65 to 6.12.65, next I tried to see if there were any further updates available and updated what was available. I had been warned that PHP-MBSTRING was not installed so i did a Yum install for that
Now I have a screen that doesn’t look right: screenshot: http://snag.gy/z00zq.jpg - is this a warning that the upgrade has not been done properly or just a small thing to be fixed? How do I go about fixing the GUI (and any other issues that are given away by how the screen looks) and to make sure that everything is appropriately up to date please?
Many thanks and Kind Regards,
You’re missing a dependency; install the package php-mbstring from your linux CLI. Otherwise it looks like things are going well assuming that asterisk fire is that it hasn’t been running long.
Hi Overkill, I did install php-mbstring (yum install php-mbstring)
[root-Deleted] yum install php-mbstring
Loaded plugins: fastestmirror, kmod
Loading mirror speeds from cached hostfile
base | 2.0 kB 00:00
extras | 1.3 kB 00:00
pbx | 1.3 kB 00:00
schmooze-commercial | 1.3 kB 00:00
updates | 1.3 kB 00:00
Setting up Install Process
Package php-mbstring-5.3.28-3.shmz65.4.125.x86_64 already installed and latest version
Nothing to do
then try these:
amportal a r
service httpd restart
Thanks for this, I ran those and there were no returned complaints. The main page is still a bit of a mess and looking the same as before though? I also found this - [error] [client 192.168.1.69] File does not exist: /var/www/html/admin/assets/dashboard/less/cache/lessphp_xxx
Also when running: service httpd graceful I got:
Warning: DocumentRoot [/var/www/html/restapps/] does not exist
httpd: apr_sockaddr_info_get() failed for [computername]
httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
Those errors are pretty google-able. Also, as a side note, try browsing in Chrome or IE instead. It should look like one of the screens at the bottom of this post.
File does not exist = weird…not sure what to do here. On my box, there are 3 files - lessphp_xxx.css, lessphp_xxx.list, and lessphp_xxx.cache. You might want to touch the file(s) that are missing, followed by amportal chown and amportal a r, and maybe it will get written to? cat the file to see if freepbx put something there. If not, maybe try moving all the files in there to /tmp and running amportal a r to see if they get magically written. Otherwise, move them back to the correct directory and watch for future errors/problems
restapps does not exist - Try running “amportal a ma upgradeall” followed by “amportal chown” and “amportal a r” until it says something to the effect of “up to date”. There were some known bugs in a few old versions that were fixed very quickly. If you don’t have a license for it, uninstall the restful API stuff. We don’t keep any commercial modules installed we don’t have a license for because of random things that kept cropping up as a result. If it isn’t currently installed, install it to remove this error and then try uninstalling to see if it comes back.
httpd errors are related to your hosts file, see the googled result here - linux - httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName - Stack Overflow
Half window on 1080p resolution:
Hi, I did try to Google them
"restapps does not exist - Try running "amportal a ma upgradeall"
followed by “amportal chown” and “amportal a r” until it says
something to the effect of “up to date”" - I’ve done that now but no
If you don’t have a license for it, uninstall the restful API stuff.
We don’t keep any commercial modules installed we don’t have a
license for because of random things that kept cropping up as a
result. If it isn’t currently installed, install it to remove this
error and then try uninstalling to see if it comes back. - This is
now removed but it is still an error within terminal and FreePBX
httpd errors are related to your hosts file, see the googled result
here - http://stackoverflow.com/questions/9541460/httpd-could-not-reliably-determine-the-servers-fully-qualified-domain-name-us
- I don’t understand this - my hostname is called Centos and it’s ip
is on 192.168.1.61 - which files should I amend and what should I
put in them please?
Been struggling all afternoon with this
Thanks for all your help.
The second answer on the link I sent you covers it (assuming you don’t want to point a domain like pbx1.yourdomain.com at your internal/external IP). Basically, add ServerName localhost to your httpd.conf or apache2.conf file (whichever you have) and this should fix it. This isn’t critical but I’m all for reducing the annoyance messages on your platform.
amportal a ma list
and post the results here. You may have a couple other modules installed that are causing it. This is also not the end of the world, and if you create the directory (mkdir /var/www/html/restapps/ && amportal chown && service httpd restart) you can at least get rid of the message.
Thanks ever so much for your reply - I did actually manage to resolve a lot of these problems earlier this morning by reinstalling again! I’m pleased to report the system is up to date now. Thanks for all of your help