Announcement

Collapse
No announcement yet.

Need Help in Upgrading for 6.1.10 to 7.0.9

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Need Help in Upgrading for 6.1.10 to 7.0.9

    Hello ,

    I am using espo crm 6.1.10 with more than 20 Custom Entity. Now i want to upgrade my espo crm to latest version i.e. 7.0.9 . I tried to Upgrade through Cli but i am unable to upgrade . Please Guide me to upgrade my espo crm to latest version with custom entity without any error. i am using cyberpanel on ubuntu in linode server.

    Thanks in Advance

  • #2
    First thing make sure you backup your current version in case something goes wrong you could always recover back up. When you tried to update using CLI what was the output ? Can you share more info
    Rabii
    Web Dev

    Comment


    • #3
      rabii Hello Rabin after upgrading to 7.0.9 i got error while mass update

      in log file

      [2022-03-09 16:56:16] ERROR: (0) Field 'category' has no type.; POST /MassAction; line: 74, file: /home/companyn/public_html/best/application/Espo/ORM/Defs/FieldDefs.php [] []
      [2022-03-09 16:56:19] ERROR: (0) Field 'category' has no type.; POST /MassAction; line: 74, file: /home/companyn/public_html/best/application/Espo/ORM/Defs/FieldDefs.php [] []

      I dont understand what is this

      Please Help

      Thanks in Advance

      Comment


      • rabii
        rabii commented
        Editing a comment
        It seems that you have a field called "Category" which doesn't have a type, meaning system can't determine what type if the field category. did you have any custom code in your previous version ? You need to verify the Category field it is the one causing the issue.

    • #4
      [2022-03-09 17:37:13] DEBUG: API (0) Field 'category' has no type.; PUT /Lead/622826d5af40986be; Input data: {"citizenshipNumber":"aa"}; Route pattern: /{controller}/{id}; Route params: Array ( [controller] => Lead [action] => update [id] => 622826d5af40986be ) [] []
      [2022-03-09 17:37:13] ERROR: (0) Field 'category' has no type.; PUT /Lead/622826d5af40986be; line: 74, file: /home/companyn/public_html/best/application/Espo/ORM/Defs/FieldDefs.php :: #0 /home/companyn/public_html/best/application/Espo/Core/FieldProcessing/NextNumber/BeforeSaveProcessor.php(143): Espo\ORM\Defs\FieldDefs->getType() #1 /home/companyn/public_html/best/application/Espo/Core/FieldProcessing/NextNumber/BeforeSaveProcessor.php(58): Espo\Core\FieldProcessing\NextNumber\BeforeSavePro cessor->getFieldList('Note') #2 /home/companyn/public_html/best/application/Espo/Hooks/Common/NextNumber.php(49): Espo\Core\FieldProcessing\NextNumber\BeforeSavePro cessor->process(Object(Espo\Entities\Note), Array) #3 /home/companyn/public_html/best/application/Espo/Core/HookManager.php(129): Espo\Hooks\Common\NextNumber->beforeSave(Object(Espo\Entities\Note), Array, Array) #4 /home/companyn/public_html/best/application/Espo/Core/Repositories/Database.php(272): Espo\Core\HookManager->process('Note', 'beforeSave', Object(Espo\Entities\Note), Array) #5 /home/companyn/public_html/best/application/Espo/ORM/Repository/RDBRepository.php(165): Espo\Core\Repositories\Database->beforeSave(Object(Espo\Entities\Note), Array) #6 /home/companyn/public_html/best/application/Espo/Core/Repositories/Database.php(139): Espo\ORM\Repository\RDBRepository->save(Object(Espo\Entities\Note), Array) #7 /home/companyn/public_html/best/application/Espo/ORM/EntityManager.php(303): Espo\Core\Repositories\Database->save(Object(Espo\Entities\Note), Array) #8 /home/companyn/public_html/best/application/Espo/Services/Stream.php(1737): Espo\ORM\EntityManager->saveEntity(Object(Espo\Entities\Note), Array) #9 /home/companyn/public_html/best/application/Espo/Tools/Stream/HookProcessor.php(420): Espo\Services\Stream->handleAudited(Object(Espo\Modules\Crm\Entities\ Le ad), Array) #10 /home/companyn/public_html/best/application/Espo/Tools/Stream/HookProcessor.php(406): Espo\Tools\Stream\HookProcessor->afterSaveStreamNotNew1(Object(Espo\Modules\Crm\ En tities\Lead), Array) #11 /home/companyn/public_html/best/application/Espo/Tools/Stream/HookProcessor.php(337): Espo\Tools\Stream\HookProcessor->afterSaveStreamNotNew(Object(Espo\Modules\Crm\E nt ities\Lead), Array) #12 /home/companyn/public_html/best/application/Espo/Tools/Stream/HookProcessor.php(93): Espo\Tools\Stream\HookProcessor->afterSaveStream(Object(Espo\Modules\Crm\Entitie s\ Lead), Array) #13 /home/companyn/public_html/best/application/Espo/Hooks/Common/Stream.php(48): Espo\Tools\Stream\HookProcessor->afterSave(Object(Espo\Modules\Crm\Entities\Lead ), Array) #14 /home/companyn/public_html/best/application/Espo/Core/HookManager.php(129): Espo\Hooks\Common\Stream->afterSave(Object(Espo\Modules\Crm\Entities\Lead ), Array, Array) #15 /home/companyn/public_html/best/application/Espo/Core/Repositories/Database.php(290): Espo\Core\HookManager->process('Lead', 'afterSave', Object(Espo\Modules\Crm\Entities\Lead), Array) #16 /home/companyn/public_html/best/application/Espo/Modules/Crm/Repositories/Lead.php(48): Espo\Core\Repositories\Database->afterSave(Object(Espo\Modules\Crm\Entities\Lead ), Array) #17 /home/companyn/public_html/best/application/Espo/ORM/Repository/RDBRepository.php(186): Espo\Modules\Crm\Repositories\Lead->afterSave(Object(Espo\Modules\Crm\Entities\Lead ), Array) #18 /home/companyn/public_html/best/application/Espo/Core/Repositories/Database.php(139): Espo\ORM\Repository\RDBRepository->save(Object(Espo\Modules\Crm\Entities\Lead), Array) #19 /home/companyn/public_html/best/application/Espo/ORM/EntityManager.php(303): Espo\Core\Repositories\Database->save(Object(Espo\Modules\Crm\Entities\Lead), Array) #20 /home/companyn/public_html/best/application/Espo/Core/Record/Service.php(714): Espo\ORM\EntityManager->saveEntity(Object(Espo\Modules\Crm\Entities\Lea d) ) #21 /home/companyn/public_html/best/application/Espo/Core/Controllers/RecordBase.php(224): Espo\Core\Record\Service->update('622826d5af40986...', Object(stdClass), Object(Espo\Core\Record\UpdateParams)) #22 /home/companyn/public_html/best/application/Espo/Core/Api/ActionProcessor.php(97): Espo\Core\Controllers\RecordBase->putActionUpdate(Object(Espo\Core\Api\RequestWra pp er), Object(Espo\Core\Api\ResponseWrapper)) #23 /home/companyn/public_html/best/application/Espo/Core/Api/RequestProcessor.php(136): Espo\Core\Api\ActionProcessor->process('Lead', 'update', Object(Espo\Core\Api\RequestWrapper), Object(Espo\Core\Api\ResponseWrapper)) #24 /home/companyn/public_html/best/application/Espo/Core/Api/RequestProcessor.php(111): Espo\Core\Api\RequestProcessor->proceed(Object(Espo\Core\Api\RequestWrapper), Object(Espo\Core\Api\ResponseWrapper)) #25 /home/companyn/public_html/best/application/Espo/Core/Api/RequestProcessor.php(82): Espo\Core\Api\RequestProcessor->processInternal(Object(Espo\Core\Api\Route), Object(Espo\Core\Api\RequestWrapper), Object(Espo\Core\Api\ResponseWrapper)) #26 /home/companyn/public_html/best/application/Espo/Core/Api/Starter.php(103): Espo\Core\Api\RequestProcessor->pr... [] []

      Comment

      Working...
      X