[RELEASE] Installatron (DirectAdmin auto script installer)

please... again.... :)

I love this program. But what I REALLY REALLY need is...

MAILMAN!!! :D :cool: ;) :D I'm not sure if you could do this with installatron but it would be really really worth the $$$. Hell I think you'd sell installatron based on Mailman installation alone.

I still love it though ;)

I'm going to pay right now :)

-brandt
 
??

I get this when installing 1.0

expr: syntax error
[: unexpected operator
chown: -R: No such file or directory

Successfully installed Installatron v1.0!

--
I'm using FreeBSD 4.8 and I had installed some betas but never had it working so ??? What should I try?

tia
B
 
I'm looking at Mailman. It's interesting, but a big down side is that it's written in Python. DA doesn't come built with Python. Know of a good Perl/PHP mailing list?

And regarding that error, I suppose my bash scripting isn't cross platform :D

I'll reply when you can re-wget the installer and give it another go. Make sure to rm -fr /usr/local/bin/directadmin/xserv before doing so.
 
Okay. Give it another shot. If it's a no-go paste this into SSH and tell me what the output is:
Code:
expr substr "errors stink" 1 5
Remember to rewget installatron.sh and to rm -fr /usr/local/bin/directadmin/xserv.

Sorry about this error :\
 
well?

I removed xserv and re did wget. Upon install I got this.

expr: syntax error
chown: -R: No such file or directory

Successfully installed Installatron v1.0!

[root@lucie ~]# expr substr "errors stink" 1 5
expr: syntax error
[root@lucie ~]#


I give you ssh if you want. :)
PM me
 
Do you have any idea how to use substr on FreeBSD? :D Bah.

I'll figure it out. Use this form and I'll take you up on the SSH offer. I don't need root.

Thanks :)
 
I have iTron 1.1 pretty much ready. I think I'm going to go a head and release it.

I'd like to fix this FreeBSD installation problem first though..
 
Will you consider a link to click, that will automatically update to the latest version of iTron (like DA does), not just the software list.

Or is this out of question?
 
Version 1.1 out. Changes below. Note still no FreeBSD installer fix (I have no where to test!)

Modifications were made to the final phase of the install system.
This was a required change for the new packages we're putting together.
Added one-click update for future versions.


Also phpAdsNew is up :)
 
Last edited:
Alright. If you're on freebsd, it should work now. Changed my substr stuff to awk.

Rewget, rm -fr /usr/local/bin/directadmin/xserv, install
 
One problem

in installatron.sh near the end where you chown -r xserv to the admin user ther is a typo. I changed this:

# transfer all ownership over to the administrative user
chown $INSTALL_USR -R $DA_ROOT/xserv

to this:
# transfer all ownership over to the administrative user
chown -R $INSTALL_USR $DA_ROOT/xserv

It's just a matter of where the -R is and now the install works.Now to try it out :)
 
Auto Updates

Does Installatron automatically update scripts (patches)?

Example: if there is an expoit found in one of the scripts Installatron installs and a patch is introduced will Installatron automatically patch all scripts already installed or is there a feature in Installatron where the admin can click a button and have all scripts on the server that installatron installed updated to the newest scripts or patched or??)?

If not the problem I see is users installing ever available script just because they can (which they will), then an exploit in one of the scripts that installatron installed is found and the admin has to manualy patch thousands of scripts across dozens of servers (another formmail exploit nightmare:-(
 
Right now iTron only installs packages. It can not update anything. However, for a future version, I'm working on an update feature for some of our packages. Packages like phpBB and ipB will come first.

I suppose we can also implement a global force-update feature, but what happens when a user makes mods to his her installation? I see more disadvantages to a global updating system than advantages.

And speaking of the advantages, if your box is set up securely, it's only your user who's in danger, not anyone else. Traditionally speaking, programs like iTron do not update their installations.
 
Auto Update

l0rdphi1 said:
Right now iTron only installs packages. It can not update anything. However, for a future version, I'm working on an update feature for some of our packages. Packages like phpBB and ipB will come first.

I suppose we can also implement a global force-update feature, but what happens when a user makes mods to his her installation? I see more disadvantages to a global updating system than advantages.

And speaking of the advantages, if your box is set up securely, it's only your user who's in danger, not anyone else. Traditionally speaking, programs like iTron do not update their installations.


If phpbb or any other script that mails anything ends up with an exploit spammers will have a hay day thus effecting "Everone" :-(

I think some type of auto updater is necessary. Maybe the updater can rename the old script and install the new? Maybe the user should have to enter an email address when they first use Itron where they can be notified by Itron that the above took place??

The problem is if you put a bunch of scripts in front of users they "Will" install them even if they never use them, then you have tons of scripts sitting around that arent being used or maintained by anyone and if (when) an exploit comes along????
 
No packages?

If I log in as a site User. And it says this:

None exist. If you're an administrator, please update your packages via the above link.

??? Well I'll look through the forum and see if I can figure it out but... ?????
 
Back
Top