Packages (Login)
I've registered my trixbox. I have a valid username and password for the forums (obviously). But I still can not access packages. I get invalid username/password everytime I try to log in! Any ideas?
I've increased the max in the php file to 60 from 30. I've done yum -y update.
Thanks
Kerry
I have exactly the same issue as above forum member. I login to trixbox packages with username / password I use here, and get the invalid username / password message box. My internet is a 10 Mbit guaranteed international bandwidth link with NTT so I am sure it is neither an internet route nor DNS error.
I have logged into my account here 2 times and changed my password (in addition to the initial forced change) and that has not worked either.
After 6 hours of frustration, I am almost ready to wipe the box and install Trixbox 2.0 which is on my other 3 boxes and gives me no headaches at all.
Please advise.
Regards
WorldCentrex
I was finally able to recreate this issue after upgrading a trixbox 2.0 to a trixbox 2.2 via the update script.
Please try deleting the following file:
1.) /var/www/html/maint/cache/guidRegistered
then try to login.
Please post your results.
Please don't forget to refresh, clear cache and all that stuff. I know this has been driving a few of you crazy. Hopefully this works.
Let us cross our fingers, yes?!?!
Mike
Hi Everyone,
I have freshly installed Trixbox 2.2.3 but I cannot Install/Update Packages since it would give me a pop up error msg that says:
"There is a problem with your network setup. We cannot show you available packages becasue we cannot connect to the internet from this box. Please make the necessary adjustment to allow this box access to the internet."
I have checked my router and firewall settings, I still can't get through. At one point I had turned off the firewall since I'm currently on a home network testing this Trixbox but still no go. The TB is currently set as DMZ on my router so I supposed all the ports it needed should be open. I have updated the system by typing "yum -y update", I can also connect to the TB using a softphone outside my LAN which proves that this TB is connected to the internet.
I think the root cause of this issue is the fact that my ISP has a transparent proxy which I cannot bypass and they have implemented a content filter which I cannot disable.
Is there any work-around regarding this issue? Are there any updates that can fix this problem with content filters and proxies? How can I install the packages thru CLI? As I mentioned above, I can update using yum -y update so I believe I can install the packages thru CLI..
Any help regarding this issue is greatly appreciated.
Toplok
I installed sever, updated packages and then changed the ip address. After that I have been uable to see the packages.
>There is a problem with yournetwork setup.
>We cannot show you teh available packages because we cannot connect to the internet from this box.
I am able to connect to the internet from the command line, perform yum updates, ping trixbox.org.
deleting the guidRegistered file has not worked.
any suggestions ?
I installed TB about a week and a half ago to experiment with. Everything was fine, I was able to see the packages. Yesterday i started with a clean install, and now i cannot see the packages. I used the exact same configuration and the same CD to install as I did last time.
I hope this problem is resolved soon.....
-Jason
I have not been able to login since shortly after the release of 2.2. I was able to update things with the packaged page ONCE, cannot remember what I updated, maybe it was when I went to 2.2, not sure.
Anyway, its very annoying. I can login just fine at trixbox.org, but not from the packages page on my trixbox server.
Until today at 6pm est, i have not been able to login with my TB UN and PW. I have just tried and the page for the packages loaded an empty form field. I see the buttons for update and install and delete, but no package list is showing up.
---
Jason Williams
printedgoods.com
jason@printedgoods.com
770-477-9997
I too am unable to log in to get the update packages though I can login to the forum OK.
I can see the file in the /var/www/html/maint/cache directory, but there does not seem to be a bash command that will delete it.
I've tried delete, rm, del, but get the response that there is no command. I also tried shred which seemed to be accepted, but the file is still in the directory.
How do I delete it?
TKS
I too am having the same problem. I have tried everything EXCEPT
"edit the file:
/var/www/html/maint/includes/functions/captureSoapIPURLList.php
it contains the following code:
<?php
$url = array('http://trixbox.com', 'http://66.28.209.215');
?>
change trixbox.com to trixbox.org"
--------------------------------------------------------------------------------------
I do not know how to do this. I do not see that file in Config Edit. I do not have the phpmyadmin module installed because i do not have access to the packages. Could someone please advise me on how to get in and edit that file (/var/www/html/maint/includes/functions/captureSoapIPURLList.php) or suggest another solution. I was able to get into the packages a week ago, the only thing that has changed is my ISP. I tried OpenDNS and still no luck. I have VOIP active so my box knows it has an active internet connection. Thanks in advance :)
I received the following error before getting a valid registration key:
Warning: fopen(/var/www/html/.regData): failed to open stream: Permission denied in /var/www/html/maint/modules/27_registrationTool/index.php on line 53
Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/html/maint/modules/27_registrationTool/index.php on line 54
Warning: fclose(): supplied argument is not a valid stream resource in /var/www/html/maint/modules/27_registrationTool/index.php on line 55
using Trixbox 2.2.3-1
I was able to update the packages but the next GUI login asked to enter registration data again - got the same error.
I had saved the Registration Key so I created the /var/www/html/.regDate file and inserted the Registration Key value (I had saved). Rebooted machine, login, everything worked.
Hi Greg,
At this point if you cannot login to the package manager then you have a problem that changing from .com to .org shouldn't solve.
Here's what I would try first:
1.) You need to either SSH into your trixbox or connect a keyboard and monitor to your trixbox and login.
2.) change directories:
cd /var/www/html/maint/cache
3.) remove guidRegistered from that folder:
rm guidRegistered
4.) Try to login to the package manager.
Also, please post the errors if any that you are seeing in response to your attempt to login.
Hi Greg,
At this point if you cannot login to the package manager then you have a problem that changing from .com to .org shouldn't solve.
Here's what I would try first:
1.) You need to either SSH into your trixbox or connect a keyboard and monitor to your trixbox and login.
2.) change directories:
cd /var/www/html/maint/cache
3.) remove guidRegistered from that folder:
rm guidRegistered
4.) Try to login to the package manager.
Also, please post the errors if any that you are seeing in response to your attempt to login.
First I could not register the TB. Finally it appeared to register. The login and password box on the upper right disappeared. When I click on Packages the "USE MUST LOGIN" window still appears.
I checked /var/www/html/maint/cache and there is no file 'guidRegistered' so I'm clueless as to what is happening. By looking at the threads, it has not been a good week for the Package Manager working. Any idears would be appreciated.
Keith
Thanks so much for your response. I used putty to connect to my box as the "root" user. Once i entered i ran the "cd /var/www/html/maint/cache" command. I was then able to use rm guidRegistered to remove the file. It asked me if i wanted to clear it and i typed "y". It appeared that it was deleted as i tried to delete it again and it said no such file or directory found the second time. Although I did this, trixbox was still telling me that my login/username was incorrect. I am lost at this point :(. Anymore help would be very much appreciated. :)
Hello Michael,
I really appreciate you helping me. After a nice reboot of the box I logged in just fine, but only one problem. My gateway is 192.168.1.1 (static) for my box (router) but everytime i restart the box the gateway changes to 192.168.1.254. I changed this in the web interface to 192.168.1.1, would it be better to change this via ssh? Again I really appreciate all your help! :)
I had previously done this:
open /var/www/html/maint/includes/yumOutput.php
you will see on top:
<?php
include_once('includes/application_top.php');
//if(file_exists('cache/session')){
if(isset($_SESSION'tb_login')){
include 'includes/functions/genYumArray.php';
?>
Change it to:
<?php
include_once('includes/application_top.php');
//if(file_exists('cache/session')){
//if(isset($_SESSION'tb_login')){
if(1){
include 'includes/functions/genYumArray.php';
?>
So I went back and UN-did it.
Then I
rm guidRegistered
Then I re-Registered on the register page and .....................
IT WORKED!!
I have had a hard drive failure and some other problem, so I have had the OPPORTUNITY of doing 2 different trixbox installs in the last couple of weeks. I just change the max_execution_time setting in php.ini and everything else just works great for me.
It looks like if there were a change in the max_execution time in that packages file, everything would work great.
--James
having same problem, when i try to login from web page of trixbox. i am getting "network problem", while i can ping from CLI to www.trixbox.org.
i removed the above mentioned file
i changed the permission of directory
i changed php code
but getting same problem
I've setup a username and password on the trixbox site and can successfully login and see the packages in the repository... I've submitted the trixbox registration using both the pop-up form and pull-down menu at least 3 different times but every time I initially browse to the trixbox server web interface I get that same Registration Request pop-up. Is there a .conf file or field that can be flagged manually to stop this??? Any other suggestions??? Although not critical it's definitetly annoying.
Hello PWDasterisk,
When you register the box, you will no longer need to login to see the packages in the package manager. Let me repeat this just to be clear. After registering your trixbox, the login and password box will disappear and you will not have to login to see the packages in the package manager.
Now here are a couple of questions:
1.) When you click on the registration drop down menu, do you see a registration key?
2.) When you login to the user interface, do you continue to stay logged in when you navigate around the trixbox UI, or are you logged out automatically?
Another possible solution for someone having registration issues to try:
Michael Hayden (hbmus080) one of the UI developers worked with me on a registration issue and the problem turned out to be that the html directory was owned by root and is supposed to be owned by asterisk therefore the registration process didn't have permission to write to the directory...
after a "chown asterisk:asterisk /var/www/html" the registration process worked fine.
I have 2.2.4, all updates done completed.
1) chown asterisk:asterisk /var/www/html - doesn't work
2) "cd /var/www/html/maint/cache
rm guidRegistered" - doesn't work
3) <?php
$url = array('http://trixbox.com', 'http://66.28.209.215');
?>
change trixbox.com to trixbox.org" - doesn't work
4) <?php
$url = array('http://trixbox.org', 'http://66.234.135.90');
?>
change of IP - doesn't work
5) php.ini: parameter Max_Execution_Time from 30 to 60 (even to 300) - doesn't work
6) yum update tbm-GUIcore - updates nada - registration still doesn't work
7) no routing issues/ DNS issues
8) am now running trixbox-update.sh - updates are in progress - will let the forum know results.
9) restarting services / rebooting the system doesn't help any combination of the above.
Kerryg please help! I'm so desparate to have this running as I need to combat our wonderful echo on our TDM2400p - I'm prepared to spend now - I've spent tons of time trying to get this going.
Many thanks!!
Something is just wrong with the package manager. I've worked on computers for over 20 years, worked for a ISP and built and maintained DNS servers so know in fine detail how they work. Ours suddenly stopped working this week (worked last week and I've upgraded NOTHING). DNS works just fine.
I have two boxes that both worked last week and this week I can't login on anymore. Two different networks and ISP sources.
Take a look at the posting at http://www.trixbox.org/forums/trixbox-forums/help/unable-login-pa...
then search for a message from cak007 about editing a file.
My specific error is that it say's that I have a invalid login and password which all worked last week and NOTHING has changed. I also sniffed the network packets and that is what the server is returning.
So if that is the EXACT error you are getting not a error at some line, etc try it.
Thank you fskrotzki that worked for me and thanks to cak007
http://www.trixbox.org/forums/trixbox-forums/help/unable-login-pa...


Member Since:
2007-05-24