I am creating a package, but my files are failing to copy.

Below is what the first part of the manifest looks like. Note: I also have a folder in the package zip file called Files with all the files.

The error I am getting is:

"Failed to copy cache/upgrades/temp/VP9U4G/Files/custom/Extention/application/Ext/EntryPointRegistry/UploadContactsToTargetListByJCCCids.php to custom/Extention/application/Ext/EntryPointRegistry/UploadContactsToTargetListByJCCCids.php"

Below first part of manifest.php

===========

<?php

$manifest = array (
0 =>
array (
'acceptable_sugar_versions' =>
array (
0 => '9.0.3',
),
),
1 =>
array (
'acceptable_sugar_flavors' =>
array (
0 => 'PRO',
),
),
'readme' => '',
'key' => 'JCCC',
'author' => 'JCCC',
'description' => '',
'icon' => '',
'is_uninstallable' => true,
'name' => 'Courses',
'published_date' => '2020-08-18',
'type' => 'module',
'version' => 1,
'remove_tables' => 'prompt',
);


$installdefs['copy'] = array(
array(
'from' => '<basepath>/Files/custom/Extention/application/Ext/EntryPointRegistry/UploadContactsToTargetListByJCCCids.php',
'to' => 'custom/Extention/application/Ext/EntryPointRegistry/UploadContactsToTargetListByJCCCids.php',
),
array(
'from' => '<basepath>/Files/custom/Extention/modules/Accounts/Ext/clients/base/layouts/subpanels/_overrideAccount_subpanel_accounts_contacts_1.php',
'to' => 'custom/Extention/modules/Accounts/Ext/clients/base/layouts/subpanels/_overrideAccount_subpanel_accounts_contacts_1.php',
),
array(
'from' => '<basepath>/Files/custom/Extention/modules/Accounts/Ext/clients/base/layouts/subpanels/_overrideAccount_subpanel_accounts_fut_college_leads.php',
'to' => 'custom/Extention/modules/Accounts/Ext/clients/base/layouts/subpanels/_overrideAccount_subpanel_accounts_fut_college_leads.php',
),

Parents
  • Hi Amy,

    Could you provide the package, or a directory listing of the Files directory of the package. The error you are receiving occurs when the file does not exist at the Copy Path. This could be due to Case Sensitive file system, or because the file does not exist in the package at that location. Providing the package or the directory structure as you see it in your local environment is the best way to resolve the issue.

Reply
  • Hi Amy,

    Could you provide the package, or a directory listing of the Files directory of the package. The error you are receiving occurs when the file does not exist at the Copy Path. This could be due to Case Sensitive file system, or because the file does not exist in the package at that location. Providing the package or the directory structure as you see it in your local environment is the best way to resolve the issue.

Children
No Data