BUG: PureAdmin User Management

124 views
Skip to first unread message

Bryan Buschmann

unread,
Oct 15, 2007, 10:29:47 PM10/15/07
to Pureadmin Discussions
Found this on a new install of PureFTPD, not sure if this is the place
to report it.

Bug Report:
1) Provide some means to reproduce the error.
2) What version of pureadmin.
3) Report the operating system, distribution and version of it you're
using
4) Also report what version of pureftpd you're using

1) Off of a fresh installation of PureAdmin/PureFTPD, attempt to
modify a user by changing their information. Clicking Save Changes
does not commit changes or close tab focus. Clicking Cancel Changes
commits the changes and removes tab focus back to user list.

2) PureAdmin v0.3

3) Linux 2.6, Ubuntu 7.04

4) pure-ftpd 1.0.21-8ubuntu1

Bryan Buschmann

unread,
Oct 15, 2007, 10:57:30 PM10/15/07
to Pureadmin Discussions
Ok, probably not a bug, a misconfiguration error somewhere...

Canceling will commit the changes within the view of the PureAdmin
screen but will not actually make the changes (assumedly within the
PureDB itself). I can't see any immediate error messages regarding
this, just the above functionality. If anyone has any troubleshooting
tips I'd appreciate some assistance.

-Bryan

Isak Savo

unread,
Oct 16, 2007, 12:13:35 PM10/16/07
to pureadmin-...@googlegroups.com
2007/10/16, Bryan Buschmann <br...@torchdragon.com>:

>
> Found this on a new install of PureFTPD, not sure if this is the place
> to report it.

It's the correct place.

> Bug Report:
> 1) Provide some means to reproduce the error.
> 2) What version of pureadmin.
> 3) Report the operating system, distribution and version of it you're
> using
> 4) Also report what version of pureftpd you're using
>
> 1) Off of a fresh installation of PureAdmin/PureFTPD, attempt to
> modify a user by changing their information. Clicking Save Changes
> does not commit changes or close tab focus. Clicking Cancel Changes
> commits the changes and removes tab focus back to user list.

It should.. sounds like a bug. Do you get any error messages in the
debug window?

> 2) PureAdmin v0.3

Try upgrading to v0.4 - maybe it has been fixed.

-Isak

Isak Savo

unread,
Oct 16, 2007, 12:14:55 PM10/16/07
to pureadmin-...@googlegroups.com
2007/10/16, Bryan Buschmann <br...@torchdragon.com>:

Hmm.. Yeah, "Cancel" should not write anything to the db - but the
view should be restored.. Must be a bug

-Isak

Isak Savo

unread,
Jun 30, 2008, 6:41:21 AM6/30/08
to bretthi...@gmail.com, pureadmin-...@googlegroups.com
On Sun, Jun 29, 2008 at 5:04 AM, <bretthi...@gmail.com> wrote:
> Im having this issue also, pure admin is not committing any changes
> (the log and active users works fine though)
>
> Im running ubuntu 8.10
>

Did you see any error messages in the debug window?

-Isak

kdlg...@gmail.com

unread,
Aug 2, 2008, 5:13:24 PM8/2/08
to Pureadmin Discussions
> Did you see any error messages in the debug window?
>
> -Isak

Same issue being experienced here, using Ubuntu Hardy Heron (8.04) and
PureAdmin v0.3 as installed by the Package Manager.

Due to this error I logged in as root and ran through all the steps on
https://help.ubuntu.com/community/PureFTP, same issue still ongoing.
I'm a novice so it's entirely possible I'm doing something dumb.


Contents of my debug window (logged from the point of starting
pureadmin through trying to save user after entering info):

[NFO] Will not restore window geometry, option turned off
[NFO] PureAdmin started!
[WRN] Error getting user information for kgates: User kgates not found
[WRN] Error getting user information for kgates: User kgates not found
[ERR] dirbrowser_set_directory: assertion `g_file_test (directory,
G_FILE_TEST_IS_DIR)' failed
[ERR] dirbrowser_btnpress_event: assertion
`gtk_tree_selection_get_selected (sel, &model, &iter)' failed
[ERR] dirbrowser_cursor_changed: assertion
`gtk_tree_selection_get_selected (sel, &store, &iter)' failed
[ERR] dirbrowser_btnpress_event: assertion
`gtk_tree_selection_get_selected (sel, &model, &iter)' failed
[ERR] Invalid information structure
[ERR] Error saving user: Couldn't get information from GUI

kdlg...@gmail.com

unread,
Aug 2, 2008, 5:27:31 PM8/2/08
to Pureadmin Discussions
Just updated to v0.4 via the Package file at
http://purify.sourceforge.net/index.php?page=download and, sadly, am
now completely unable to open the Manage Users screen. On choosing
Manage Users via the button or menu option I get the prompt to "Add a
dedicated ftp system group" (despite this already at least presumably
being done by hand with above steps), but upon clicking "Yes" the
prompt closes and the Manage Users window does not open. Debug log at
this point states:

[WRN] Couldn't take action:
[WRN] Child '/usr/sbin/groupadd' returned abnormally: 9

kdlg...@gmail.com

unread,
Aug 2, 2008, 5:32:25 PM8/2/08
to Pureadmin Discussions
This second error was due to that group name already existing most
likely, deleted both ftpuser & ftpgroup and reran Pureadmin v0.4 as
root, the prompts for creating a user and group worked normally.
However, the original problem is still occurring with being unable to
edit any user details after adding a user, same error in debug log:

[WRN] Error getting user information for kgates: User kgates not
found
[ERR] dirbrowser_set_directory: assertion `g_file_test (directory,
G_FILE_TEST_IS_DIR)' failed
[ERR] dirbrowser_btnpress_event: assertion
`gtk_tree_selection_get_selected (sel, &model, &iter)' failed
[ERR] dirbrowser_cursor_changed: assertion
`gtk_tree_selection_get_selected (sel, &store, &iter)' failed
[ERR] dirbrowser_btnpress_event: assertion
`gtk_tree_selection_get_selected (sel, &model, &iter)' failed
[ERR] Invalid information structure
[ERR] Error saving user: Couldn't get information from GUI


Seems like a perfect utility for what I am after, but I'm at wits end
in setting it up at this point and giving up for the time being. :[

Isak Savo

unread,
Aug 3, 2008, 4:03:49 AM8/3/08
to pureadmin-...@googlegroups.com
On Sat, Aug 2, 2008 at 11:13 PM, <kdlg...@gmail.com> wrote:
>
>> Did you see any error messages in the debug window?
>>
>> -Isak
>
> Same issue being experienced here, using Ubuntu Hardy Heron (8.04) and
> PureAdmin v0.3 as installed by the Package Manager.

Yeah, 0.3 is known to be buggy.

>
> Contents of my debug window (logged from the point of starting
> pureadmin through trying to save user after entering info):
>
> [NFO] Will not restore window geometry, option turned off
> [NFO] PureAdmin started!
> [WRN] Error getting user information for kgates: User kgates not found
> [WRN] Error getting user information for kgates: User kgates not found

Hmm, this line is weird. What do you see when you run (from the terminal):
sudo pure-pw list

-Isak

kdlg...@gmail.com

unread,
Aug 4, 2008, 4:06:45 PM8/4/08
to Pureadmin Discussions
> > [NFO] Will not restore window geometry, option turned off
> > [NFO] PureAdmin started!
> > [WRN] Error getting user information for kgates: User kgates not found
> > [WRN] Error getting user information for kgates: User kgates not found
>
> Hmm, this line is weird.

Appreciate the response. :) Getting an FTP server up and running for
myself & coworkers has been an exercise I've wanted to do for some
time.


> What do you see when you run (from the terminal):
> sudo pure-pw list
>
> -Isak

I see only the following line:

guest /home/ftpusers/guest/./



Please note that currently if I leave my terminal open and attempt to
open Manage Users I receive the following:

groupadd: group ftpgroup exists
useradd: unknown group 1002


This creates a group named ftpgroup despite my having deleted ftpgroup
in Ubuntu's System -> Administration -> Users and Groups (although
there is a popup box warning files may be remaining in the system). I
do not have a user named ftpuser.

kdlg...@gmail.com

unread,
Aug 4, 2008, 4:27:29 PM8/4/08
to Pureadmin Discussions
Just uninstalled both pureftpd & pureadmin via the Synaptic Package
Manager (with the "remove configuration files" (is this the same as --
purge?) option chosen), deleted ftpgroup from Users & Groups,
reinstalled pureftpd from the autopackage file on http://purify.sourceforge.net
, ran "sudo pureadmin", clicked Users and Groups, nothing happens in
the GUI, the lines

groupadd: group ftpgroup exists
useradd: unknown group 1002

appear in an open terminal window. Trying to research how to delete
users & groups through the terminal since it seems possible doing it
through Ubuntu's (GNOME's?) GUI menu isn't doing the job.

Isak Savo

unread,
Aug 5, 2008, 6:51:17 PM8/5/08
to pureadmin-...@googlegroups.com
On Mon, Aug 4, 2008 at 10:27 PM, <kdlg...@gmail.com> wrote:
>
> Just uninstalled both pureftpd & pureadmin via the Synaptic Package
> Manager (with the "remove configuration files" (is this the same as --
> purge?) option chosen), deleted ftpgroup from Users & Groups,
> reinstalled pureftpd from the autopackage file on http://purify.sourceforge.net
> , ran "sudo pureadmin", clicked Users and Groups, nothing happens in
> the GUI, the lines
>
> groupadd: group ftpgroup exists
> useradd: unknown group 1002

Sounds like a bug in pureadmin.. What happens if you create the group
and user + create home ftp folder like the ubuntu guide stated (I read
it through and the information there is correct.

If you then start pureadmin, it should find the correct system
accounts and not ask you to create them.

> appear in an open terminal window. Trying to research how to delete
> users & groups through the terminal since it seems possible doing it
> through Ubuntu's (GNOME's?) GUI menu isn't doing the job.

You can use the groupdel and userdel commands (I think that's the name
of them, I'm on vacation now and have no access to a linux system)

-Isak

Reply all
Reply to author
Forward
0 new messages