ErrorException (E_ERROR) Class 'sipstation' not found

Hello,

This is a brand new installation. The only thing I activated that is “special” is “iSymphony”, which works.

Yesterday, when I stopped working on my Freepbx install, I was re-creating the extension. This morning, I added the desktop agents for Isymphony and stopped and started the service. Then decided I would go take a look at my extensions as they don’t all show in iSymphony, and here’s the page that was waiting for me on my Freepbx fresh and clean SNG7 install.

ErrorException (E_ERROR) Class ‘sipstation’ not found

Frankly, I have no idea what causes these issues on my system, but they keep coming. I thought it was the conversion tool that was bringing some old stuff back from my 32 bit version, but on this install: i did not use the conversion tool and went straight with the ISO install of SNG7.

When I log in into the CLI, I see that the system has numerous System Updates available and numerous Modules as well… I had done all of those PRIOR to creating my extensions! It’s as if my VM had reverted to a previous state… by itself.

I did execute “checkpoints” on my hyper-V virtual machine, so I can revert to a previous state; I’m more curious to understand what could be causing the issue shown here.

Thanks!

Uninstall the SipStation module unless you are connecting to SipStation trunks.

From the bash prompt run:

fwconsole ma list

and note the status of the sipstaion module. If it is disabled pending upgrade, run:

fwconsole ma --edge upgrade core
fwconsole ma --edge upgrade sipstation

and watch the console for any errors.

edit - fixed commands

Hi,

fwconsole ma list shows that SIPSTATION is enabled and at version 13.0.014.5

Running fwconsole ma --edge upgrade core worked. (successfully installed)

Running fwconsole ma upgrade sipstation failed with response:

“sipstation is the same as the online version, unable to upgrade”

A reboot did not fix it. I could run fwconsole uninstall sipstation, but since I have people here that help me: I’d rather wait for further instructions to avoid getting deeper in the problem rather than getting out of it.

Thanks!

If you are not using Sipstaion, uninstalling the module should resolve, but it would be nice to figure out what is up for the benefit of others. Perhaps @tm1000 has an idea.

I will wait for @tm1000 's input prior to uninstalling.

I also believe there would be a benefit to others if this issue was figured out. That is what this place is for! Finding solution and hopefully, make them permanent!

Thanks

You neglected to run --edge with the sipstation module update. Which is why it said the version was the same.

That did fix the problem, but while experiencing the issue, I discovered the following lines that got wondering: why is this line (|SERVER_ADMIN|[email protected]|) mentioning the previous hostname? I have replaced the hostname in that installation to freepbxV5.companyname.local. The other thing I noticed is that the DNS servers keep getting overwritten to my DHCP ones even though I replace them with

127.0.0.1
8.8.8.8
8.8.4.4

  • Any way to lock those DNS configs in?

Below, more information regarding the possible hostname situation (might be very normal too!)

SCRIPT_URL /admin/config.php
SCRIPT_URI http://10.0.0.47/admin/config.php
HTACCESS on
HTTP_HOST 10.0.0.47
HTTP_CONNECTION keep-alive
HTTP_USER_AGENT Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
HTTP_UPGRADE_INSECURE_REQUESTS 1
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.9,fr;q=0.8
HTTP_COOKIE lang=en_US; searchHide=1; PHPSESSID=uo8el99fggsej40c0fh3s3ugb4; _ga=GA1.1.84192050.1517821861; lang=en_US
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
SERVER_SIGNATURE
SERVER_SOFTWARE Apache/2.4.6 (Sangoma) OpenSSL/1.0.1e-fips PHP/5.6.33
SERVER_NAME 10.0.0.47
SERVER_ADDR 10.0.0.47
SERVER_PORT 80
REMOTE_ADDR 10.0.0.123
DOCUMENT_ROOT /var/www/html
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /var/www/html
SERVER_ADMIN [email protected]
SCRIPT_FILENAME /var/www/html/admin/config.php
REMOTE_PORT 54551
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1

:

SERVER_ADMIN is not the same as the hostname. Its a PHP setting.

DHCP settings will override your local DNS settings. You want to set a static IP.

You guys are awesome. But you knew that already.

Thank you for your assistance!

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.