why admin-account didnt create?

40 views
Skip to first unread message

slapik

unread,
May 8, 2012, 3:54:31 AM5/8/12
to Free...@googlegroups.com
hi!

I have little question. I successfully installed FreePybx, but cant login in web-interface.

Afrer some investigation I look in DB
pbx=# select * from admin_users;
 id | username | password | first_name | last_name | last_login | remote_addr | session_id
 | active
----+----------+----------+------------+-----------+------------+-------------+-----------
-+--------

No any row in admin_users after "paster setup-app development.ini"
Where is my mistake?

WBR, Slava
sorry my English )

freepybx

unread,
May 8, 2012, 6:06:33 PM5/8/12
to Free...@googlegroups.com
in the websetup.py, uncomment the insert_data() line to create defaults and add a default admin account etc.

Mehul Bhatt

unread,
Jul 25, 2012, 11:31:06 PM7/25/12
to Free...@googlegroups.com
Hi 

Same problem i have, how can i add admin account

Mehul Bhatt

unread,
Jul 25, 2012, 11:31:52 PM7/25/12
to Free...@googlegroups.com
Hi 

Same problem i have, how can i add admin account

On Tuesday, May 8, 2012 10:54:31 AM UTC+3, slapik wrote:

Evelio

unread,
Sep 22, 2012, 7:28:55 PM9/22/12
to Free...@googlegroups.com

Hello I have the same issue.. The I uncommented the line insert_dada() no good...
File "/usr/local/www/FreePyBX/freepybx/websetup.py", line 43, in <module>
    insert_data()
NameError: name 'insert_data' is not defined

(www)freeswitch@vpbx:~/FreePyBX$ paster setup-app development.ini
Traceback (most recent call last):
  File "/usr/local/www/bin/paster", line 8, in <module>
    load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
  File "/usr/local/www/lib/python2.6/site-packages/PasteScript-1.7.5-py2.6.egg/paste/script/command.py", line 104, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/local/www/lib/python2.6/site-packages/PasteScript-1.7.5-py2.6.egg/paste/script/command.py", line 143, in invoke
    exit_code = runner.run(args)
  File "/usr/local/www/lib/python2.6/site-packages/PasteScript-1.7.5-py2.6.egg/paste/script/appinstall.py", line 68, in run
    return super(AbstractInstallCommand, self).run(new_args)
  File "/usr/local/www/lib/python2.6/site-packages/PasteScript-1.7.5-py2.6.egg/paste/script/command.py", line 238, in run
    result = self.command()
  File "/usr/local/www/lib/python2.6/site-packages/PasteScript-1.7.5-py2.6.egg/paste/script/appinstall.py", line 456, in command
    self, config_file, section, self.sysconfig_install_vars(installer))
  File "/usr/local/www/lib/python2.6/site-packages/PasteScript-1.7.5-py2.6.egg/paste/script/appinstall.py", line 591, in setup_config
    mod = import_string.try_import_module(mod_name)
  File "/usr/local/www/lib/python2.6/site-packages/Paste-1.7.5.1-py2.6.egg/paste/util/import_string.py", line 81, in try_import_module
    return import_module(module_name)
  File "/usr/local/www/lib/python2.6/site-packages/Paste-1.7.5.1-py2.6.egg/paste/util/import_string.py", line 67, in import_module
    mod = __import__(s)
  File "/usr/local/www/FreePyBX/freepybx/websetup.py", line 43, in <module>
    insert_data()
NameError: name 'insert_data' is not defined

shadowy m

unread,
Dec 23, 2013, 5:14:43 PM12/23/13
to Free...@googlegroups.com
I have same problem as everyone else.  Can't log in.  Very frustrating after going through a very painful install procedure that misses steps and only half explains others.  I think the maintainer likes to torment people.  

ivon pint

unread,
Jan 8, 2014, 9:36:55 AM1/8/14
to Free...@googlegroups.com
Hi,

I'm completing a bash script for centos 6 with all the gotchas. I will need help from the maintainer or way smarter people than me to help fix the bugs with the logos then we can publish our findings for everyone here an in the future who wants to install this

shadowy m

unread,
Feb 13, 2014, 6:24:49 PM2/13/14
to Free...@googlegroups.com
I did eventually get it working.  I cannot remember the details but it was something fairly simple.  I think I had to go into the file that had all the user/password info and change that or make it the same as the database but manually checking both.  Unfortunately after I got the GUI working I was a bit underwhelmed.  The project seems like it has been abandoned and since the pylons project has been abandoned with no straightforward upgrade to Pyramid I decided it wasn't work pursuing.

I have put in a bunch of hours getting the abandoned WikiPBX project running on the latest version of Django which went surprisingly smooth.  So I think that direction looks more promising to me now.
Reply all
Reply to author
Forward
0 new messages