News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Cant upgrade to 4.0.36 File::copy: Copy failed.

Started by josh, 25.10.2023 10:46:13

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

josh

Hi

Am on 4.0.35 trying to upgrade to 4.0.36 but fails with File::copy: Copy failed.

test site on windows wampserver.

  •  

Arno

Hi,
have to tried to repeat the update?

I have here not any result like yours on a few test installation. Also two with xampp and windows.

Edit:
you could activate the Joomla debug option to get more details.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

josh

Hi Arno,

Apologies should have mentioned a few things i have tried.

Tried numerus times using the Update facility of Joomla 5, have also tried instaliing by uploading the extension. all produce thesame result.
Checked that no database updates are pending, and everything is 'Checked In', cleaned cache and Joomla caching is disabled.
Tried firefox,chrome and edge.

I had to modify afew files in jdownloads manually, to fix some bugs, I used notepad++ for this, wondering if afile permission/ownership has changed, could this cause such issue? if so is there a facility in to check/reset file folder permissions?

turning on j5 full debug, shows no errors.
41 statements were executed, 4 of which were duplicates, 37 unique58.23ms202.02KB
UniquesDuplicates 1Duplicates 2
SELECT @@SESSION.sql_mode;200?s1.59KB\libraries\vendor\joomla\database\src\Mysqli\MysqliDriver.php:308Copy
SELECT `data`
FROM `j5db7665_session`
WHERE `session_id` = ?373?s1.65KBParams\libraries\vendor\joomla\session\src\Handler\DatabaseHandler.php:250Copy
SHOW FULL COLUMNS FROM `j5db7665_users`1.44ms2.3KB\libraries\vendor\joomla\database\src\Mysqli\MysqliDriver.php:587Copy
SELECT *
FROM `j5db7665_users`
WHERE `id` = :userid516?s4.62KBParams\libraries\src\Table\User.php:106Copy
SELECT `g`.`id`,`g`.`title`
FROM `j5db7665_usergroups` AS `g`
INNER JOIN `j5db7665_user_usergroup_map` AS `m` ON `m`.`group_id` = `g`.`id`
WHERE `m`.`user_id` = :muserid613?s2.34KBParams\libraries\src\Table\User.php:134Copy
SELECT `session_id`
FROM `j5db7665_session`
WHERE `session_id` = :session_id LIMIT 1475?s1.65KBParams\libraries\src\Session\MetadataManager.php:187Copy
UPDATE `j5db7665_session`
SET `guest` = :guest
, `time` = :time
, `userid` = :user_id
, `username` = :username
, `client_id` = :client_id
WHERE `session_id` = :session_id2.8ms1.01KBParams\libraries\src\Session\MetadataManager.php:316Copy
SELECT `extension_id` AS `id`,`element` AS `option`,`params`,`enabled`
FROM `j5db7665_extensions`
WHERE `type` = 'component' AND `state` = 0 AND `enabled` = 1638?s17.71KB\libraries\src\Component\ComponentHelper.php:399Copy
SELECT `id`,`rules`
FROM `j5db7665_viewlevels`529?s2.25KB\libraries\src\Access\Access.php:955Copy
SELECT `b`.`id`
FROM `j5db7665_user_usergroup_map` AS `map`
LEFT JOIN `j5db7665_usergroups` AS `a` ON `a`.`id` = `map`.`group_id`
LEFT JOIN `j5db7665_usergroups` AS `b` ON `b`.`lft` <= `a`.`lft` AND `b`.`rgt` >= `a`.`rgt`
WHERE `map`.`user_id` = :userId554?s1.66KBParams\libraries\src\Access\Access.php:868Copy
SELECT `folder` AS `type`,`element` AS `name`,`params` AS `params`,`extension_id` AS `id`
FROM `j5db7665_extensions`
WHERE `enabled` = 1 AND `type` = 'plugin' AND `state` IN (0,1) AND `access` IN (:preparedArray1,:preparedArray2,:preparedArray3,:preparedArray4)
ORDER BY `ordering`1.43ms4.91KBParams\libraries\src\Plugin\PluginHelper.php:294Copy
SELECT `value`
FROM `j5db7665_admintools_storage`
WHERE `key` = 'cparams'356?s848B\administrator\components\com_admintools\src\Helper\Storage.php:120Copy
SELECT `option`,`view`,`query`
FROM `j5db7665_admintools_wafexceptions`383?s976B\plugins\system\admintools\src\Utility\Cache.php:196Copy
SELECT *
FROM `j5db7665_kunena_configuration`
WHERE `id` = 1297?s936B\libraries\kunena\src\Config\KunenaConfig.php:1709Copy
SELECT sampleData
FROM j5db7665_kunena_version
ORDER BY id DESC LIMIT 1244?s872B\libraries\kunena\src\Forum\KunenaForum.php:374Copy
SHOW TABLES9.94ms24.83KB\libraries\vendor\joomla\database\src\Mysqli\MysqliDriver.php:635Copy
SELECT `id`,`name`,`rules`,`parent_id`
FROM `j5db7665_assets`
WHERE `name` IN (:preparedArray1,:preparedArray2,:preparedArray3,:preparedArray4,:preparedArray5,:preparedArray6,:preparedArray7,:preparedArray8,:preparedArray9,:preparedArray10,:preparedArray11,:preparedArray12,:preparedArray13,:preparedArray14,:preparedArray15,:preparedArray16,:preparedArray17,:preparedArray18,:preparedArray19,:preparedArray20,:preparedArray21,:preparedArray22,:preparedArray23,:preparedArray24,:preparedArray25,:preparedArray26,:preparedArray27,:preparedArray28,:preparedArray29,:preparedArray30,:preparedArray31,:preparedArray32,:preparedArray33,:preparedArray34,:preparedArray35,:preparedArray36,:preparedArray37,:preparedArray38,:preparedArray39,:preparedArray40,:preparedArray41,:preparedArray42,:preparedArray43,:preparedArray44,:preparedArray45)934?s10.91KBParams\libraries\src\Access\Access.php:357Copy
SELECT `s`.`template`,`s`.`params`,`s`.`inheritable`,`s`.`parent`
FROM `j5db7665_template_styles` AS `s`
LEFT JOIN `j5db7665_extensions` AS `e` ON `e`.`type` = 'template' AND `e`.`element` = `s`.`template` AND `e`.`client_id` = `s`.`client_id`
WHERE `s`.`client_id` = 1 AND `s`.`home` = '1'
ORDER BY `s`.`home`589?s1.04KB\administrator\components\com_templates\src\Model\StyleModel.php:743Copy
SELECT *
FROM `j5db7665_extensions`
WHERE `element` = :element AND `type` = :type LIMIT 1723?s4.74KBParams\libraries\src\Extension\ExtensionHelper.php:490Copy
SELECT u.*,`e`.`manifest_cache`
FROM `j5db7665_updates` AS `u`
LEFT JOIN `j5db7665_extensions` AS `e` ON `e`.`extension_id` = `u`.`extension_id`
WHERE `u`.`extension_id` != 0 AND `u`.`extension_id` != 0 AND `u`.`extension_id` != :eid
ORDER BY `u`.`name` asc LIMIT 20904?s3.21KBParams\libraries\src\MVC\Model\BaseDatabaseModel.php:164Copy
SELECT COUNT(*)
FROM `j5db7665_updates` AS `u`
LEFT JOIN `j5db7665_extensions` AS `e` ON `e`.`extension_id` = `u`.`extension_id`
WHERE `u`.`extension_id` != 0 AND `u`.`extension_id` != 0 AND `u`.`extension_id` != :eid672?s2.05KBParams\libraries\src\MVC\Model\BaseDatabaseModel.php:197Copy
SELECT id, home, template, s.params
FROM j5db7665_template_styles as s
LEFT JOIN j5db7665_extensions as e ON e.element=s.template AND e.type='template' AND e.client_id=s.client_id
WHERE s.client_id = 0 AND s.home = '1' AND e.enabled = 1615?s1.04KB\plugins\system\t3\includes\core\t3.php:386Copy
SELECT *
FROM `j5db7665_template_styles`
WHERE `client_id` = 0 AND `home` = 1389?s1.29KB\plugins\system\t4\src\t4\Helper\TemplateStyle.php:87Copy
SELECT *
FROM j5db7665_wf_profiles
WHERE published = 1
ORDER BY ordering ASC1.13ms2.38KB\components\com_jce\editor\libraries\classes\application.php:225Copy
SELECT *
FROM j5db7665_wf_profiles
WHERE published = 1
ORDER BY ordering ASC1.87ms2.38KB\components\com_jce\editor\libraries\classes\application.php:225Copy
SELECT `enabled`
FROM `j5db7665_extensions`
WHERE `type` = 'plugin' AND `folder` = 'system' AND `element` = 'languagefilter'546?s872B\libraries\src\Language\Multilanguage.php:82Copy
SELECT DISTINCT a.id, a.title, a.name, a.checked_out, a.checked_out_time, a.note, a.state, a.access, a.created_time, a.created_user_id, a.ordering, a.language, a.fieldparams, a.params, a.type, a.default_value, a.context, a.group_id, a.label, a.description, a.required, a.only_use_in_subform,l.title AS language_title, l.image AS language_image,uc.name AS editor,ag.title AS access_level,ua.name AS author_name,g.title AS group_title, g.access as group_access, g.state AS group_state, g.note as group_note
FROM j5db7665_fields AS a
LEFT JOIN `j5db7665_languages` AS l ON l.lang_code = a.language
LEFT JOIN j5db7665_users AS uc ON uc.id=a.checked_out
LEFT JOIN j5db7665_viewlevels AS ag ON ag.id = a.access
LEFT JOIN j5db7665_users AS ua ON ua.id = a.created_user_id
LEFT JOIN j5db7665_fields_groups AS g ON g.id = a.group_id
WHERE
(`a`.`context` = :context AND `a`.`state` = :state) AND
(`a`.`group_id` = 0 OR `g`.`state` = :gstate) AND `a`.`only_use_in_subform` = :only_use_in_subform
ORDER BY a.ordering ASC1.04ms5.5KBParams\libraries\src\MVC\Model\BaseDatabaseModel.php:164Copy
SELECT DISTINCT `type`
FROM `j5db7665_extensions`323?s1008B\administrator\components\com_installer\src\Helper\InstallerHelper.php:45Copy
SELECT DISTINCT `folder`
FROM `j5db7665_extensions`
WHERE `folder` != :folder
ORDER BY `folder`1.78ms2.06KBParams\administrator\components\com_installer\src\Helper\InstallerHelper.php:74Copy
SELECT `element`,`name`,`client_id`,`extension_id`
FROM `j5db7665_extensions`
WHERE `type` = 'language' AND `state` = 0 AND `enabled` = 1388?s1.07KB\libraries\src\Language\LanguageHelper.php:218Copy
SELECT `m`.`id`,`m`.`title`,`m`.`module`,`m`.`position`,`m`.`content`,`m`.`showtitle`,`m`.`params`,`mm`.`menuid`
FROM `j5db7665_modules` AS `m`
LEFT JOIN `j5db7665_modules_menu` AS `mm` ON `mm`.`moduleid` = `m`.`id`
LEFT JOIN `j5db7665_extensions` AS `e` ON `e`.`element` = `m`.`module` AND `e`.`client_id` = `m`.`client_id`
WHERE
(
(
(`m`.`published` = 1 AND `e`.`enabled` = 1 AND `m`.`client_id` = :clientId AND `m`.`access` IN (:preparedArray1,:preparedArray2,:preparedArray3,:preparedArray4)) AND
(`m`.`publish_up` IS NULL OR `m`.`publish_up` <= :publishUp)) AND
(`m`.`publish_down` IS NULL OR `m`.`publish_down` >= :publishDown)) AND
(`mm`.`menuid` = :itemId OR `mm`.`menuid` <= 0)
ORDER BY `m`.`position`,`m`.`ordering`1.69ms2.91KBParams\libraries\src\Cache\Controller\CallbackController.php:51Copy
SELECT a.*,(
SELECT COUNT(`s`.`id`)
FROM `j5db7665_guidedtour_steps` AS `s`
WHERE `s`.`tour_id` = `a`.`id` AND `s`.`published` = 1) AS `steps_count`,`uc`.`name` AS `editor`,`l`.`title` AS `language_title`,`l`.`image` AS `language_image`,`ag`.`title` AS `access_level`
FROM `j5db7665_guidedtours` AS `a`
LEFT JOIN `j5db7665_users` AS `uc` ON `uc`.`id` = `a`.`checked_out`
LEFT JOIN `j5db7665_languages` AS `l` ON `l`.`lang_code` = `a`.`language`
LEFT JOIN `j5db7665_viewlevels` AS `ag` ON `ag`.`id` = `a`.`access`
WHERE `a`.`published` = :published AND `a`.`access` IN (:preparedArray1,:preparedArray2,:preparedArray3,:preparedArray4)
ORDER BY a.ordering ASC5.7ms5.19KBParams\libraries\src\MVC\Model\BaseDatabaseModel.php:164Copy
SELECT `language_extension`,`language_client_id`,`condition_file`,`condition_method`
FROM `j5db7665_postinstall_messages`
WHERE `enabled` = 1410?s12.05KB\libraries\src\Cache\Controller\CallbackController.php:51Copy
SELECT `a`.*,`u`.`name` AS `user_from`
FROM `j5db7665_messages` AS `a`
INNER JOIN `j5db7665_users` AS `u` ON `u`.`id` = `a`.`user_id_from`
WHERE `a`.`user_id_to` = :id AND `a`.`state` = :state
ORDER BY a.date_time DESC516?s2.84KBParams\libraries\src\MVC\Model\BaseDatabaseModel.php:164Copy
SELECT a.id, a.title, a.menutype, CASE COALESCE(SUM(m.home), 0) WHEN 0 THEN '' WHEN 1 THEN CASE m.language WHEN '*' THEN 'class:icon-home' ELSE CONCAT('image:', l.lang_code) END ELSE 'image:mod_languages/icon-16-language.png' END AS icon
FROM j5db7665_menu_types AS a
LEFT JOIN j5db7665_menu AS m ON m.menutype = a.menutype AND m.home = 1 LEFT JOIN j5db7665_languages AS l ON l.lang_code = m.language
WHERE a.client_id = 0
GROUP BY a.id, a.title, a.menutype, m.language, l.lang_code
ORDER BY a.ordering ASC789?s1.07KB\administrator\components\com_menus\src\Helper\MenusHelper.php:816Copy
SELECT title, menutype
FROM j5db7665_menu_types
WHERE client_id = 1
ORDER BY ordering ASC280?s912B\administrator\components\com_menus\src\Helper\MenusHelper.php:816Copy
SELECT `m`.*,`e`.`element`
FROM `j5db7665_menu` AS `m`
LEFT JOIN `j5db7665_extensions` AS `e` ON `m`.`component_id` = `e`.`extension_id`
WHERE
(`m`.`menutype` = :menutype AND `m`.`client_id` = 1 AND `m`.`id` > 1) AND
(`e`.`enabled` = 1 OR `e`.`enabled` IS NULL)
ORDER BY `m`.`lft`1.12ms38.41KBParams\administrator\components\com_menus\src\Helper\MenusHelper.php:354Copy
SELECT SUM(CASE WHEN `a`.`next_execution` <= :now THEN 1 ELSE 0 END) AS due_count,SUM(CASE WHEN `a`.`locked` IS NULL THEN 0 ELSE 1 END) AS locked_count
FROM `j5db7665_scheduler_tasks` AS `a`
WHERE `a`.`state` = 1417?s1.71KBParams\administrator\components\com_scheduler\src\Model\TasksModel.php:466Copy
SHOW TABLES7.49ms24.83KB\libraries\vendor\joomla\database\src\Mysqli\MysqliDriver.php:635Copy
SELECT `session_id`
FROM `j5db7665_session`
WHERE `session_id` = ?279?s1.65KBParams\libraries\vendor\joomla\session\src\Handler\DatabaseHandler.php:277Copy
UPDATE `j5db7665_session`
SET `data` = ?
, `time` = ?
WHERE `session_id` = ?6.84ms

  •  

Arno

Hi,
thanks for the test and the results.

QuoteI used notepad++ for this, wondering if afile permission/ownership has changed, could this cause such issue? if so is there a facility in to check/reset file folder permissions?
Yes, that would be possible, of course. Nevertheless, I will try something else. A new file was added during the last update. Maybe this change has something to do with it. In the special version attached below, I removed this file from the installation package (for a test).
Please try the installation again with it.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

josh

Hi

Just tried installing the special download..
Same error
  •  

Arno

Bad news. I have now idea what could be the reason in your case.  ::)
You could check if there are entries in the installation log of jDownloads.

One possibility would be to copy the directories/files manually. However, I have never done this myself and therefore do not know the possible negative problems.
It would also have to be considered whether all the old directories would have to be deleted beforehand, or whether it would be sufficient to overwrite the original ones.
Of course, not without first creating appropriate backups!

Possibly the manually made changes to the jDownloads files are the cause. But this is all speculative.

Maybe I could also get access (via PM) to the backend?
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •