Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me

TOPIC: Can't install or update extensions

Can't install or update extensions 11 months 1 week ago #49043

  • shirin
  • shirin's Avatar
  • OFFLINE
  • OSTar
  • Posts: 97
  • Karma: 0
Hi,

I can't install any extensions on my live site or update existing extensions. I get errors. Install gives an error:

JFolder::create: Could not create directory
Warning: Failed to move file!

when I tried update the existing extension I get an error:

-1 - An error has occurred.

Copy failed

the last thing I had done in the website is create a module for news flash, and before that I had installed AKeeba. I have tried unpublishing Akeeba, and cleared the cache. but still getting the same error.

Please help!

thanks,
Shirin
Shirin
Please become a member of OSTraining to reply to this post.

Can't install or update extensions 11 months 1 week ago #49046

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
HI Shirin,

This is usually a problem related to permissions on the tmp folder. Look at this tutorial and see if it helps.

www.ostraining.com/blog/joomla/jfoldercreate/

Let us know.
Ed
Please become a member of OSTraining to reply to this post.

Can't install or update extensions 11 months 1 week ago #49047

  • shirin
  • shirin's Avatar
  • OFFLINE
  • OSTar
  • Posts: 97
  • Karma: 0
Hi,

the tmp folder is fine, the permissions is 755 and ownership is correct too.

but when I look in the joomla admin->system info-> the following shows unwrittable

-configure.php
-tmp
-log
Shirin
Please become a member of OSTraining to reply to this post.

Can't install or update extensions 11 months 1 week ago #49049

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
Look in your global configuration and find the paths to the tmp and log files. Make sure the paths are correct in the global configuration. They may be pointing to the wrong place.

Ed
Please become a member of OSTraining to reply to this post.

Can't install or update extensions 11 months 1 week ago #49052

  • shirin
  • shirin's Avatar
  • OFFLINE
  • OSTar
  • Posts: 97
  • Karma: 0
the paths are correct, pointing to the right location
Shirin
Please become a member of OSTraining to reply to this post.

Can't install or update extensions 11 months 1 week ago #49053

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
Can you send login information to This email address is being protected from spambots. You need JavaScript enabled to view it. . I will take a look at your settings.

add a post here so I know to chekc my email.

Ed
Please become a member of OSTraining to reply to this post.

Can't install or update extensions 11 months 1 week ago #49054

  • shirin
  • shirin's Avatar
  • OFFLINE
  • OSTar
  • Posts: 97
  • Karma: 0
ok. I just sent you an email

thanks
Shirin
Please become a member of OSTraining to reply to this post.

Can't install or update extensions 11 months 1 week ago #49056

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
Hi Shirin,

You have three problems that need to be fixed. If you go to Extension Manager and look at Warnings (screenshot attached) you will see that the tmp directory is not writeable and you have a memory limit problem. You can fix the memory limit problem using this tutorial.

www.ostraining.com/blog/joomla/installation-problems/

The second problem is the permission on the configuatation.php file. It's best on a live site to set this to 444 for security, but while you're making these changes set it to 644.

Third thing is to triple check the location of your tmp folder. You've got two warnings that relate to that. The problem with the location may be fixed after you change the permission on configuration.php. Even though you are typing it in global configuration, it may not be getting saved because the path doesn't get written to the file.

Try these fixes and see if it makes a difference.

Ed
Please become a member of OSTraining to reply to this post.

Can't install or update extensions 11 months 1 week ago #49057

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
Oops I forgot the screen shots. (bad habit of mine :)
Please become a member of OSTraining to reply to this post.

Can't install or update extensions 11 months 1 week ago #49079

  • shirin
  • shirin's Avatar
  • OFFLINE
  • OSTar
  • Posts: 97
  • Karma: 0
Hi,

I have checked the path for the tmp and logs it is correct, even in the config file.
on the server file manager the permissions for tmp and logs is 755, and when i see it using ftp it is 755. but when I look in Joomla admin panel->system info it shows unwritable.
Also, I can't find my php.ini file. I looked in the Joomla Admin->system info-> php information and the path it says is

/php52/php.ini

this folder doesn't exist in the root directory, I did a search for the php.ini file and can't find it.

Can the joomla install be corrupted? I have not done any changes recently to Joomla versions, the only thing I had done was to install AKeeba.

Shirin
Please become a member of OSTraining to reply to this post.

Can't install or update extensions 11 months 1 week ago #49083

  • shirin
  • shirin's Avatar
  • OFFLINE
  • OSTar
  • Posts: 97
  • Karma: 0
ok I was wrong the path of the files some how got changed, I don't know how.

but now the files path is correct, and I made the configuration.php writable. I cleared the cache, now tmp folder is writable but the logs folder is unwritable. It shows that way in Joomla admin, but the folder it self has permissions set to 755.

I was able to install the extension, so that's good. I have found the way to access the php.ini file.

so the only thing will be to figure out why the log folder is unwrtiable

thanks for the help
Shirin
Please become a member of OSTraining to reply to this post.

Can't install or update extensions 11 months 1 week ago #49085

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 16762
  • Thank you received: 379
  • Karma: 55
Hi Shirin,

Give our "Admin Tools - Change Folder and File Permissions" tutorial a try for an easy way to fix permissions:
www.ostraining.com/blog/joomla/admin-too...nd-file-permissions/

For the logs folder, try the full path to the logs folder. For example, /home/youraccount/public_html/logs

Seems like it might a bug of Joomla showing it as unwritable when just "logs" is used.

By the way, are templates able to install now?

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Can't install or update extensions 11 months 6 days ago #49185

  • shirin
  • shirin's Avatar
  • OFFLINE
  • OSTar
  • Posts: 97
  • Karma: 0
Hi,

I will try the tutorial.

I had tried the full path for the logs but still was getting unwritable. I will try again.

Yes I can install extensions and do the update for some extensions.

Thanks
Shirin
Please become a member of OSTraining to reply to this post.

Can't install or update extensions 11 months 6 days ago #49187

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 16762
  • Thank you received: 379
  • Karma: 55
Hi Shirin,

Great! You're welcome! :)

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Can't install or update extensions 11 months 6 days ago #49193

  • shirin
  • shirin's Avatar
  • OFFLINE
  • OSTar
  • Posts: 97
  • Karma: 0
Hi,

I changed the logs path to the complete path but I still get unwritable in the system info in Joomla. I also changed the tmp path to the complete path, doing so made it unwritable. and I could no longer install extensions. So I changed it back to just tmp, then I was able to install the admin tools like in the tutorial.

I ran the admin tools fix permissions. when I look in the permission configuration of the admin tools, it shows logs to be 755. but it still shows unwritable in the system info.

I don''t know how to fix that. If any one has any other ideas, please do let me know.

thanks
Shirin
Please become a member of OSTraining to reply to this post.

Can't install or update extensions 11 months 6 days ago #49195

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 16762
  • Thank you received: 379
  • Karma: 55
Hi Shirin,

What did you use for the full path? Please edit out the account name from the full path.

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Can't install or update extensions 11 months 6 days ago #49197

  • shirin
  • shirin's Avatar
  • OFFLINE
  • OSTar
  • Posts: 97
  • Karma: 0
I have tried shortening it but it doesn't work. Can you log in and see in systems info what can I remove from the path?

Let me know and I will send you an email with the login info. also I will need to know your email address

thanks
Shirin
Please become a member of OSTraining to reply to this post.

Can't install or update extensions 11 months 5 days ago #49218

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3106
  • Thank you received: 7
  • Karma: 0
Shirin,

Nick meant to put the path in the message so we could see what you're using. Just edit out the true names of the directories so others can't see them.

Usually the path to the log file is identical to the path to the tmp file except it ends with /log instead of /tmp.

If you don't ever read the log files, not having them won't affect the operation of your site. The log files are only a record of events that can aid in troubleshooting, so they are nice to have, but not essential to to the operation.

Ed
Please become a member of OSTraining to reply to this post.

Sign Up for OSTraining

Powered by Kunena Forum

Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.

Copyright 2013 Open Source Training, LLC. All rights reserved.