Page 1 of 1

Proftpd on Amahi 10

Posted: Sat Mar 31, 2018 10:51 am
by rdagijones
I am upgrading an Amahi server to Amahi 10. I have an office copier scanning to the old HDA by ftp (It's old and ftp is the only way.) I notice that Proftpd is not yet available.
I am wondering if there is a way to
  • backup the mysql tables of the old setup,
  • created the "proftpd" database on the new HDA and
  • manually install proftpd and proftpd-adm?
I have done a little reading on installing Proftpd and Proftpd-adm and it is difficult to discern so I am hoping that there is an easier way. the office is just stuck without the ability to scan to the server until I work this out.

Re: Proftpd on Amahi 10

Posted: Mon Apr 02, 2018 8:05 am
by bigfoot65
I have done a little reading on installing Proftpd and Proftpd-adm and it is difficult to discern so I am hoping that there is an easier way.
Backing up the database and restoring it could be done fairly easily. As for installing the software manually, I have not seen the guidance you mentioned.

To backup the database, you could use adminer App or phpmyadmin App. It can also be done via command line as well:

Code: Select all

mysqldump -uproftpd -pproftpd proftpd > proftpd.sql
Use the following command to create the user and restore the database:

Code: Select all

hda-create-db-and-user proftpd

Code: Select all

mysql -uproftpd -pproftpd proftpd < proftpd.sql

Re: Proftpd on Amahi 10

Posted: Sun May 06, 2018 6:46 am
by rdagijones
The guide that I am using for installing Proftpd on Amahi 10 is http://proftpd-adm.sourceforge.net/page_install.php

Just to clarify, does anyone else already have a script for installing this? (What's the status on the one-click app? No point in doing this if it is almost ready.)

If I have to install it manually, would I follow the directions for installing proftpd and proftpd-adm from source?

Re: Proftpd on Amahi 10

Posted: Wed May 09, 2018 5:44 pm
by bigfoot65
(What's the status on the one-click app? No point in doing this if it is almost ready.)
We have not taken a look at this app. Working on Amahi 11, so this may not get any attention.

Have not had anyone ask about this app, so anticipate there is little or no interest.

If you would like to take a stab at fixing the proftpd App, please let me know. I can give you access.

Re: Proftpd on Amahi 10

Posted: Fri May 11, 2018 8:35 am
by rdagijones
The proftpd Amahi app is the same as one that I referenced in this posting. The Amahi app uses proftpd and proftpd-adm which is a web interface for proftpd. I would like access to the app, especially the install script that runs in the background. There are a few hurdles that I am trying to get passed and that script could help quite a bit. If I get it upgraded I will freely submit it to the App repository.

Re: Proftpd on Amahi 10

Posted: Fri May 11, 2018 9:22 am
by bigfoot65
You now have access.

Looks as if there was a special package loaded for this among other things.

Re: Proftpd on Amahi 10

Posted: Fri May 11, 2018 7:29 pm
by rdagijones
Any special tips that you can give me to see the package contents and how to see what happens in the "background" during the install?

Re: Proftpd on Amahi 10

Posted: Sat May 12, 2018 8:16 am
by bigfoot65
Look at the file that is downloaded.

Also the install script will show how the files are installed and manipulated.

If I get some bandwidth in the future, I will take a look at it. However not sure when that might be.

Re: Proftpd on Amahi 10

Posted: Thu May 17, 2018 5:13 am
by rdagijones
Is the download location in /var/hda/web-apps/proftpd? If not where would I look for files and install script?

Re: Proftpd on Amahi 10

Posted: Thu May 17, 2018 5:49 am
by bigfoot65
If not where would I look for files and install script?
You have to log into amahi.org and should be able to see it in the My Apps section.

I gave you access to make updates to the app. There is nothing on the HDA that would help.