BUG UCP Links in Incredible PBX

mkoenig

New Member
Joined
Apr 6, 2011
Messages
18
Reaction score
1
I was unable to get to any menus at first until I ran update-passwords. As for the kennosoft menus, I am unable to enter any "User" menu. I am prompted to enter a user name and password and nothing works. Under the "Admin" menu, I am able to enter "Incredible PBX Administration" and "Webmin" after entering the password I updated for admin. Nothing else works. Here is a look at the menus.
upload_2015-11-9_18-54-8.png
upload_2015-11-9_18-54-32.png

How do I manage these? Is there any documentation? Where do I go from here? Is it something only with rentpbx?
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,169
Reaction score
5,199
Have you read the tutorial on Nerd Vittles??
 

mkoenig

New Member
Joined
Apr 6, 2011
Messages
18
Reaction score
1
I found the following in http://nerdvittles.com/?p=14612#app35

6. Implementing Apache Authentication with Incredible PBX


With the exception of the Incredible GUI and WebMin, all web-based applications included in Incredible PBX require successful authentication with the Apache admin password to gain access. When you installed Incredible PBX, you should have created an Apache admin account. If not, issue the following command using a secure password after logging in as root:

htpasswd -b /etc/pbx/wwwpasswd admin newpassword

So I issued the above command and restarted httpd. Is there some place else I can look?
 

Mike Halsey

New Member
Joined
Nov 5, 2015
Messages
2
Reaction score
0
In the User menus section only the Voicemail button requires a user/password combo. I'm guessing this'll be the User login PLUS the Voicemail password you set up for the User. The remaining items don't require a password....well at least not on my setup.

Most of the Admin modules need the Root username and password you setup for the server to access them.

Hope this helps.
 

mkoenig

New Member
Joined
Apr 6, 2011
Messages
18
Reaction score
1
The point that I am trying to make is that my system IS asking for a user name and password when I click on any one of these buttons. What I am trying to figure out is WHY and how to fix it? What is wrong with this brand new install? This behavior was "out of the box" and not something that was changed by me or anyone else.

Ward was talking about a tutorial and I replied with http://nerdvittles.com/?p=14612#app35 this one. I followed the instructions and that did not help. I was able to get User Control to work by following another tutorial. Is there other documentation that explains these menus "under the covers" so that I can have some chance of resolving and using the other buttons in these menus. (The admin and webmin do work just fine.)
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,169
Reaction score
5,199
Incredible PBX Administration admin password is set with /root/admin-pw-change
WebMin account is root with your root user password
The remaining icons require Apache credentials as you have documented above
With UCP you need to first enter your Apache credentials followed by a user account and password as you have documented above

NOTE: Some Linux flavors don't like htpasswd -b syntax. On those systems, use the following and create a password when prompted:

htpasswd /etc/pbx/wwwpassswd admin

Another hint: Kennonsoft menus that you've reproduced above don't tell anything about which type of Incredible PBX build you are using. That's what status is for.
 
Last edited:

mkoenig

New Member
Joined
Apr 6, 2011
Messages
18
Reaction score
1
My apologies on the version. See below. I created a password with htpasswd /etc/pbx/passswd admin it created an ascii file with a password. In the same directory there is also a wwwpasswd file with an admin password. I have also included picture of the box that pops up. I have tried these passwords. No joy.
upload_2015-11-10_8-23-44.png
upload_2015-11-10_8-33-10.png
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,169
Reaction score
5,199
Typo on my part. Should have been -> htpasswd /etc/pbx/wwwpassswd admin

What option are you accessing on port 443??
 

mkoenig

New Member
Joined
Apr 6, 2011
Messages
18
Reaction score
1
I was looking at /var/log/httpd/ssl_error_log and can see the following:

[Tue Nov 10 06:12:19 2015] [error] [client 12.12.12.12] user admin: authentication failure for "/recordings": Password Mismatch, referer: https://123.123.123.123/

So it seems to recognize admin as a user but doesn't like the password. I have two questions: 1) Where is it looking for the password?, and 2) Why is it asking for the password?
 

mkoenig

New Member
Joined
Apr 6, 2011
Messages
18
Reaction score
1
I'm sorry Ward, what do you mean by option on port 443? Are you referring to one of the menu items? This happens on all of the menu items. The user and password are only accepted for Incredible PBX Admin and Linux Webmin. All the others create an error. The ssl_error_log might be a clue?
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,169
Reaction score
5,199
For security, Voicemail & Recordings has been superseded by User Control Panel which is accessible through the UCP button in the GUI.
 

mkoenig

New Member
Joined
Apr 6, 2011
Messages
18
Reaction score
1
But where are the passwords stored? How does kennonsoft access/store/retrieve passwords? Where do I go to update/change/access this information? How do I access the pbxinaflash menus when it is asking for passwords that I don't seem to have?
 

mkoenig

New Member
Joined
Apr 6, 2011
Messages
18
Reaction score
1
That refers back to this post, and if you mean /etc/pbx/passwd or /etc/pbx/wwwpasswd neither one of those work. I do see this in my /var/log/httpd/error_log file:

[Tue Nov 10 07:48:30 2015] [error] [client xxx.xxx.xx.x] PHP Warning: simplexml_load_file(): I/O warning : failed to load external entity "<? echo $uiconfig[2] ?>" in /var/www/html/index_custom.php on line 268, referer: http://xx.xxx.xxx.xx/index.php
[Tue Nov 10 07:48:30 2015] [error] [client xxx.xxx.xx.x] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/index_custom.php on line 270, referer: http://serverip/index.php
 
Last edited by a moderator:

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,169
Reaction score
5,199
Sounds like your install is hosed. Contact RentPBX for assistance in rebuilding the image and show them this thread.
 

jerrm

Guru
Joined
Sep 23, 2015
Messages
838
Reaction score
405
I'm not sure there isn't an issue. Using a brand new, fresh install from Scientific IncrediblePBX13.iso(downloaded 10/25) install:upload_2015-11-10_11-25-31.png

Both upload_2015-11-10_11-10-9.png and upload_2015-11-10_11-11-15.png link to http://192.168.0.135/recordings/ , which pops up an apache/browser password prompt and requires apache credentials, then lands on:upload_2015-11-10_11-17-7.png.

Shouldn't they link to http://192.168.0.135/ucp/ and land at: upload_2015-11-10_11-19-56.png without an apache/browser popup?

I'm coming from RasPBX and just beginning to work Incredible, so I may be misunderstanding the intent.
 
Last edited:

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,169
Reaction score
5,199
Yes. We will fix that, and it's the reason I recommended accessing UCP through the FreePBX GPL GUI interface.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,169
Reaction score
5,199
First, make sure User Management and UCP modules are installed in Module Admin -> Check Online.

For a quick fix, issue the following commands:
Code:
cd /var/www/html
mv recordings recordings2
ln -s ucp recordings
 
Last edited:

Members online

No members online now.

Forum statistics

Threads
25,782
Messages
167,509
Members
19,203
Latest member
frapu
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top