Can't open "Modify Reseller admin"

ditto

Verified User
Joined
Apr 27, 2009
Messages
1,980
When I login to DA as admin user, and then click on "List administrators" and then click on the "admin" user name in the table, and then click on "Modify Reseller admin", I get this error message:

Unable to read packages file
Details
Unable to open ./data/admin/packages.list for reading.

Does anybody know what the problem is, and what I can do to fix it?
 
Have you created any packages for adding resellers? It appears that DirectAdmin is requiring a package for editing the admin user. A bug? I don't know, but try adding an unlimited package to see if that allows you to edit the admin.

Jeff
 
I have now tested your suggestion, and it solved the problem!

On the "Admin level" under "Manage Reseller Packages" I added a package called "AdminPlaceboPackage", I did not set it to unlimited, because I am not going to use the packages to anything.

Then I was suddenly able to edit the "Modify Reseller admin" page!

Now that I have edited that page, I think about if I should delete the "AdminPlaceboPackage" or not? I think I will delete it, cause I don't need it, I think?
 
Hello,

I've looked into this further and have confirmed that by default, the packages.list file does not exist. I've added code to the installer, for the next release of DA, such that it creates the empty packages.list file to prevent that error.

You do not need to have any packages to edit an Admin, but the packages.list file must exist.

A simple workaround until the next release of DA:
Code:
cd /usr/local/directadmin/data/admin
touch packages.list
chown diradmin:diradmin packages.list
John
 
Question: Why would you want to modify Reseller admin?
 
Sounds like a bug in the plugin.

Well, I have no opinion on that. But as it turns out (after a lot of other trouble with the plugin), they have only tested the plugin on systems that use mod_ruid, and it did not work correctly with permissions on my system (I get permission denied when using clients like TortoiseSVN to make a "SVN Commit...". I am running PHP as CLI, but I told them I could either configure my system to use suPHP or change it to run PHP as CGI, but because they could not guarantee that the plugin would work other then on system using mod_ruid, I had to uninstall the plugin, and have asked for a full refund. Because I don't want to use mod_ruid.

They should have told me up front before bying the plugin that it only was tested on system using mod_ruid. I wasted a lot of time installing and configuring Apache to use SVN.
 
Back
Top