Support

Akeeba Backup for Joomla!

#14172 Installation issue (Unreadable directory)

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Monday, 03 December 2012 01:29 CST

user70544

Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes

Joomla! version: Joomla! 2.5.8
PHP version: 5.3.6
MySQL version: 5.0.92-log
Host: domainsmadeeasy.com
Akeeba Backup version: Core 3.6.9 (2012-11-10)
Server: Windows NT P3NW8SH165 6.0 build 6002 (Windows Server 2008 Standard Edition Service Pack 2) i586


Description of my issue:

Dear Nicholas

I have read more than 30 pages of the support forum, PDF manuals (which are great by the way) and could not find the solution for my problem, I have tried all your recommendations in the posts but, the only two things I was sure about are 1) you provide excellent support to your subscribers. 2) I needed to register to get this support :-)

I installed Akeeba backup core and the installation went fine, run the wizard, made the backup and it all seemed ok until I unzipped the backup to find that it is only the DB and no other files (I wondered why it was so small!) so I went to the forums and started testing and the site started throwing the 500 error and all other stuff and finally it gave me this error 3 times:

(Unreadable directory D:Hosting9821728html) I also installed Admin Tools hoping to find a solution but that gave me the following (Warning: PHP reports an empty path as the base directory of your site)

So I called the hosting support and checked with them about space and PHP and all was in order

Once this problem is solve I want to upgrade to the pro version unless you suggest otherwise.

Thank you in advance

nicholas
Akeeba Staff
Manager

Hello Nadir,

Since you are using Windows hosting Admin Tools cannot help you. It can only work on Linux systems where there is a notion of permissions. Under Windows PHP does report fake permissions (which mean nothing) but you cannot modify them. Windows is using ACL privileges to manage access to directories.

The first thing I would try is using the manual installation procedure (see the installation troubleshooter, towards the end of the page). If this works, you have a problem with your temporary directory.

If this doesn't work, try following the instructions on the same troubleshooting page under "Enable FTP" and be very, very careful about which FTP Root you specify. If in doubt, follow my instructions regarding FileZilla; you can't go wrong with it. Then try a manual installation again. Don't try the install from package.

If this still give you an error, please post back.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user70544

Thank you for your reply, I tried both methods and they both failed with the same error as befor, I have attached two log files.

Please note that I did not uninstall befor doing the manual install if that is a requierment the I will re do it.

any other ideas?

nicholas
Akeeba Staff
Manager

Hm, two point I have to make.

First, why are you sending me a log file? If you have the Core version you shouldn't have the System Restore Points plugin which takes an automatic backup before a component upgrade, unless you have an ancient version. However, those ancient versions shouldn't even really be capable of installing on Joomla! 2.5.

Which brings me to point number two. Whenever in doubt, uninstall before you reinstall. If you don't want to lose your settings, or if you're not sure if the uninstallation really worked, you can follow the scenic route. Remove the following folders:
- administrator/components/com_akeeba EXCEPT the administrator/components/com_akeeba/backup directory and the administrator/components/com_akeeba/akeeba/serverkey.php file. If you remove that directory and that file you will lose your existing backups and/or settings.
- components/com_akeeba
- administrator/modules/mod_akadmin
- media/com_akeeba
- plugins/system/plg_srp
- plugins/system/plg_akeebaupdatecheck
- plugins/system/plg_aklazy
- plugins/system/plg_oneclickaction
Now you can re-install Akeeba Backup.

If even this doesn't help I will have to make the ticket private and ask you for connection information to your site.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user70544

OK, This site is still under development and I did not want to add the content befor I have a backup system and a working backup so I think I can remove all directories above and I will install the Pro version and get back to you.

 

PS, What about the DB tables?

nicholas
Akeeba Staff
Manager

The db tables are safe to leave alone. The installation SQL files check if each table exists before creating it.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user70544
I am currently uploading the PRO files to the temp dir, just to confirm actions regarding the previos step;

/administrator/components/com_akeeba (removed all of it)
/media/akeeba_strapper (removed it)

The following where not found on the server??

- administrator/modules/mod_akadmin
- plugins/system/plg_srp
- plugins/system/plg_akeebaupdatecheck
- plugins/system/plg_aklazy
- plugins/system/plg_oneclickaction

nicholas
Akeeba Staff
Manager

OK, that's correct. The directories in my instructions try to encompass all possible Akeeba Backup versions which could run on Joomla! 2.5. It's natural that some of them are not there.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user70544

I'm sorry to say that it did not work, same error still, I have attached the log + a screen shot!

nicholas
Akeeba Staff
Manager

You have to talk to your host. I am 100% sure that PHP is unable to list the contents of the site's root directory. Each folder has Read, Write and Browse privileges under Windows (under slightly different names in each release). In your case the site's root has read (and probably write) privileges for the web user, but not browse privileges. You must ask your host to fix that. I can't fix it, you can't fix it. We are not Administrators on your host's server.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user70544

OK, I will contact them again now quoting what you said, but, do you have a special function in your app that is causing this issue to come out as this problem only occurs in the Akeeba backup, I did not have any problem with all the extensions that I have installed so far??

nicholas
Akeeba Staff
Manager

No other extension has the need to list the contents of the site's root directory, that's why. You will only see this issue with backup and file browser components. Other components work on a predefined set of files with known paths. Akeeba Backup has to make a list of all files and folders in your site so that it can back them up.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user70544

This was their previous reply:

Thank you for contacting Online Support.  In order for us to troubleshoot the issue please provide us with specific steps to duplicate and the domain name you are working with.  In the meantime, we recommend creating a directory and storing the PHP sessions (in your php5.ini file for example). 
;Save your session path below
sessions.save_path = “path goes here”

 

What do you suggest?

nicholas
Akeeba Staff
Manager

I think that their automated reply is:

  1. unrelated to your issue
  2. too generic
  3. showing that they're using PHP in CGI mode
  4. including a solution to a common problem which arises from their inability to configure the server properly

If that was my site I would run like hell and go to a proper host. But please do remember that I am picky and a geek. What I think is not always what you should think or do ;)

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user70544

I am a technical person as well (Networking/communications) but this is the first time that I ever used Joomla and I am building my own website and I am using this hosting company basically cause it is free to me but I intend to move the site later on to my own servers or to a proper hosting company and I do not want to invest much at this stage, besides Akeeba Backup will help me easily do that :-)

nicholas
Akeeba Staff
Manager

You chose the most difficult platform to deploy your first Joomla! site :) Windows Server is a great platform as long as you have full control of the server and Microsoft certification on managing such servers. Any other scenario and you're putting obstacles in your way for no apparent reason. Linux servers are much easier to use in a shared server / VPS or no dedicated IT team scenario.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user70544

Tell me about it :-) , I have a couple of questions until i get a proper answer from the hosting co,
1) does Admin Tools Pro support all its functions on a Windows installation and what's it's lemitations, I would appreciate a link to that doc


2)I use Debian at the office, do you recommend it for Joomla or is there a better linux/bsd for Joomla in terms of compatability and security?

thanks in advance.

 

nicholas
Akeeba Staff
Manager

Hello Nadir,

1. Some features are not expected to work at all under Windows, namely everything which has to do with permissions. Windows have no notion of permissions, they are using ACLs which can only be set up by Administrators of the Windows server machine.

If you are using IIS then the .htaccess Maker will also not work. Since IIS has poor support for URL rewriting all features hinging on URL rewrite (e.g. URL redirection, most options under Link & SEO Tools) will also not work properly.

2. Any Linux distro is as good as any other. Sane server setup is all it takes, but that's very well beyond the scope of our support forum. My personal bias is towards Ubuntu Server which is based on Debian. I guess that pretty much wraps it up. Yes, Debian is a good distro. Just make sure you follow best practices setting up your server.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user70544

Hello again
I got a BS response from the hosting company and they are not co-operative at all, I will change registrar and move my domains to another place, I had read somewhere on your site (I think in some of the support tickets) about an excellent hosting company, can you recommend one that you know will work flawlessly with your "sexy software"?? as I need to get this backup and site running ASAP.

nicholas
Akeeba Staff
Manager

I can give you some recommendations, but you should take a look at their offerings and your needs before committing to one of them.

Rochen has been around forever and is the only host to sport the official Joomla! host badge. I'm their customer and very happy with them. That said, they're a little pricey, some of their support personel (mostly the new guys out East) does give BS replies and they do suffer from intermittent but not too frequent routing issues (which I think have to do with their colocation provider). Definitely not recommended for shared hosting.

iRedHost is a very stable hosting provider, albeit expensive and geared towards geeks. You get Webmin as your control panel. No cPanel and fancy stuff. You have to know what you're doing and pay quite a lot.

CloudAccess.net, better known as the Joomla! Demo provider, is a very decent and speedy host. The downside is that they control panel is integrated in Joomla!'s administrator. If you can't log in to admin, you're screwed. They are fixing that, but I don't know their ETA. They have a strange pricing plan. The first site is about 20$ per month, each additional site another 5$ per month. It's very pricey if you only have one site, it's a good deal if you have over 4 sites.

SiteGround. That's honestly my personal favourite. Originally a so and so company, they made huge strides over the last couple of years. Right now they're the fastest host I've ever used and they have a very good security model (each shared hosting account runs in its own chroot environment). Oh, just to give you an idea: their stock shared hosting server was faster than my consumer grade machine with Core i7 2.3GHz, 16GB 1600MHz RAM and blazing fast SSD. Their stock shared server was about 50% faster than my machine. That's a normally loaded live server versus a zero load machine. My jaw dropped. The biggest bottleneck I had was that my 20MBps ADSL connection was too slow to catch up with their server :) Given their low price and huge space / bandwidth allowance it's a no brainer.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user70544

Hello again,
I really appreciate your great support with this issue, I have moved the hosting to siteground and they have transferred and configured the site for me, I have updated the ftp settings, run the config wizard, run a backup and it worked :-))

I am attaching the backup log file as I need your confirmation that it is OK, I will of course test the backup but what worries me is an error in the log that says:
WARNING |121202 19:52:41|PHP WARNING on line 124 in file <root>/administrator/components/com_akeeba/akeeba/drivers/mysql.php:
WARNING |121202 19:52:41|mysql_close(): 31 is not a valid MySQL-Link resource

and how to get rid of it.
Thanks again
Nadir

nicholas
Akeeba Staff
Manager

Ignore that, it's normal

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!