By isam8 on
Just finished a FRESH Drupal 7.7 install and enabled modules and tried the Updater that downloads the updates -
Download worked well, but when it was time to apply the updates, I got this Error Message:
UpdaterException: Unable to determine the type of the source directory. in Updater::factory() (line 99 of /hermes/web07d/b935/pow.greenscreenmemoriesc/htdocs/includes/updater.
I've been unable to find a Post that describes anyone actually solving this issue.
This is very early in the installation to have an issue, I would think. Can anyone help?
Thanks,
Lyn
Comments
Did you figure this out?
Did you figure this out?
How I worked it out...
The site I'm working is not live, but I noticed updates for Drupal 7.12 to 7.14 and updates for about 9 modules. I backed up my DB via PHPMySQL, then upgraded the core to 7.14. When I attempted to update the Modules through the site interface (site/admin/reports/updates/update) I got this error. I had not previously put the site into maintenance mode (since It's not live yet) but I had clicked the option to go ahead and do the updates in maintenance mode.
Having chosen that option, the site was now in maintenance mode, and I just went through the process again, and it worked. Make sure you backup your DB before updating your modules.
Hope this helps someone.
Getting the same exception error
Since my website was moved from another isp/server i have been getting this message so i assume there is a line somewhere telling the updater to look at an old location ?
i have looked at updater.inc but i cant determine any file locations easily
the message i get is
UpdaterException: Unable to determine the type of the source directory. in Updater::factory() (line 99 of /var/sites/s/service-wcabx.org/public_html/includes/updater.inc).
nb. message also occurs in maintenance mode
-
i have manually downloaded some updates , extracted and uploaded by ftp but its still guess work and id rather use the updater for majority of updates
can anyone advise ?
I have exactly the same
I have exactly the same problem:
I tried to update while being on Maintenance Mode.
any suggestions will be appreciated.
Changing the temporary
Changing the temporary directory at admin/config/media/file-system fixed it for me. My site was a sub-domain and the path /tmp didn't make sense. I changed it to sites/default/tmp and created that folder.
See: https://glamanate.com/blog/fixing-updaterexception-unable-determine-type...
Worked for me
Thanks Katy, this solution worked for me as well. You saved me and others a lot of time )
Thank you Katy! As the
Thank you Katy! As the article states, if you simply delete the contents of the temp field, the server's default folder should appear when you save the config.
-------------------------------------------
Interactive Worlds and Immersive Obsessions
http://www.asifproductions.com
Fixed by changing the Temporary directory setting
same problem here http://starmessagesoftware.com
Under /admin/config/media/file-system
the "Private file system path" had "../non-public"
and the "Temporary directory" has "/tmp"
I create a folder "../non-public/tmp" with permissions 755,
I changed the "Temporary directory" to "../non-public/tmp"
and it got fixed.