[RELEASE] Installatron (DirectAdmin auto script installer)

Ah, the fun.. yes, the fun :D

And nonetheless, .6 is here: :)

Changed structure of a few core modules.
software.dat format changed; can no longer be mismatched with unsupported versions of the iTron core.
Updating scheme for software.dat revised.
installatron.sh now can determine the latest version of iTron.
You may now safely install software on the "root" of any domain.
Fixed title instances where no initial "/" is used on the path (used to break iTron).
Switched .gif images directory over to installatron.com (fixing 404 errors).
Fixed DB error from occurring when a database name was too long (now it's truncated instead).
Played with a few bug fixes for the Installatron setup problems we've been having. *cross fingers*

Enjoy :cool:


Oh yes, almost forgot- after upgrading, you'll notice two instances of Installatron @ HTM_XSERV. Simply rm -fr /usr/local/directadmin/xserv/mod_installatron to fix this. (I wanted a clean start for everyone with .6 - helps limit odd bugs.)
 
Last edited:
One additional feature request I was thinking about.

Is it possible to have this option available to SOME users, or offered to a specific plan?

For instance, subscribers to Plan "A" do not have access to installatron, while subscribers to Plan "B", "C" and "D" DO ?

Just a thought.

Joe
 
hostpc.com said:
One additional feature request I was thinking about.
Is it possible to have this option available to SOME users, or offered to a specific plan?
That likely won't make the initial 1.0 release, but it is planned for one of the next releases.
 
Well, I don't see why such couldn't be added in the near future. Soon after 1.0 I'd like to add administrative configurable "title groups"(or something) - where you can create a 'group', choose which users are to be in the group, and decide which titles should be accessible by users in the group. I *think* this is possible with the current DA API, but I'm not completely positive. More on that later. :)

As for adding additional titles to software.dat, that's what I'm working on right now :)
 
0.6 is definitely a solid release...works good!

phpNuke is also working very good!

Just ask me when you need the 30$ and I'll ship it to you :)
 
I'm getting this after login

|=...|\ Warning: chooser(/usr/local/directadmin/xserv/mod_itron/software.dat): failed to open stream: No such file or directory in /usr/local/directadmin/xserv/mod_itron/init.php on line 23 Warning: chooser(): Failed opening '/usr/local/directadmin/xserv/mod_itron/software.dat' for inclusion (include_path='.:/usr/local/lib/php') in /usr/local/directadmin/xserv/mod_itron/init.php on line 23 Warning: file(/usr/local/directadmin/xserv/mod_itron/installations.dat): failed to open stream: No such file or directory in /usr/local/directadmin/xserv/mod_itron/main.php on line 22 Warning: Invalid argument supplied for foreach() in /usr/local/directadmin/xserv/mod_itron/main.php on line 24

Oh yeah I'm using FreeBSD 4.8 :confused:
 
okok

I did this
# chmod 774 /usr/local/dirsctadmin/xserv/mod_itron/software.dat

&

# chmod 776 /usr/local/dirsctadmin/xserv/mod_itron/installations.dat

now it looks ok but does have this

|=...|\

Does anyone know what that means?
 
Last edited:
I am new at a lot of this and first to admit it.

Now I followed the directions in the first post I believe to the letter.

I installed from root. Entered the commands as posted. The script "appears" to be installed, but when I go to install to a domain from a reseller account that has multiple domains, I get a error which, others have reported, as follows:

No usable domains can be found for installation of this software.

I have tried using a variety of combinations including domainname.com:2222/HTM_XSERV, Server IP address, and even tried logging in as reseller then moving to the User Menu and executing from there. All give the same error.

I got this error once when I used the Reseller/User login approach

Unable to Locate that domain
Details
none

The screen I first get when I go to Installatrons' page is as follows;

Installatron v.5.1 [go]
Script auto installation system.Installatron v.6 [go]
Installatron provides DirectAdmin users with the ability to easily install and upgrade a growing list of web scripts.

Should that 5.1 installation be removed??

Anyway...after all that babble...is there any suggestions that I can try so I can get this awesome looking script working?

Should I uninstall and then reinstall?? Try chmod on certain files?? Any suggestions appreciated.
 
Yeppers I sure did Joe. Copy/Paste infact. (I'm a bad copy/paste user). Although I am wondering if doing it from root was right ... or wrong
 
iTec did you click on the [go] next to the .6 ?

If so what errors are you getting now?
 
It is when I click on the .6 option that I end up with the

No usable domains can be found for installation of this software.

Error.

If I click on the 5.1 version (Did it once for the heck of it) got the following error

Warning: file_get_contents(/usr/local/directadmin/xserv/mod_installatron/software.dat): failed to open stream: No such file or directory in /usr/local/directadmin/xserv/mod_installatron/init.php on line 233 Warning: file(/usr/local/directadmin/xserv/mod_installatron/installations.dat): failed to open stream: No such file or directory in /usr/local/directadmin/xserv/mod_installatron/init.php on line 59 Warning: Invalid argument supplied for foreach() in /usr/local/directadmin/xserv/mod_installatron/init.php on line 61

I have been basically working around with version 6. And as I said, I did a straight copy/paste of the commands so not sure where I went wrong.
 
OKOK

I guess I didn't read as much of your posts as I should have. This is what I meant in one of my earlier posts about the terminology and the instructions. I'll speak in terms of what Direct Admin calls users;
1) admins
2)resellers
3)users

When you run installatron.sh enter the name of a user(3) and that users password. Then log into installatron with that user and you will get the option to install under that domain.

lordphi1 has been working on making this more useable and allowing different "users" to login and install under different domains but I don't think that it's working yet.

I hope this helps. I still don't have it working but I got farther then you so I hope you get it to work now. :)

cheers
 
When you run installatron.sh enter the name of a user(3) and that users password. Then log into installatron with that user and you will get the option to install under that domain.
You are supposed to run the installatron.sh script with an admin user name, not just a user.
 
Eagle1 said:
You are supposed to run the installatron.sh script with an admin user name, not just a user.
When I use an admin user I get a blank window when I login. Just a blank direct admin page with nothing in the middle frame. :confused:
 
That used to happen to me. I had to create an admin user called admin and use the original admin password from the install of Direct Admin. Then I would install Installatron with the admin username.

Since version .6, I haven't had to do that. I just use the admin username i use to delegate the server and it works fine.
 
Back
Top