GithubHelp home page GithubHelp logo

Comments (11)

ngolatka avatar ngolatka commented on June 21, 2024

Hello @tobiasolge, did you try this command already?

composer remove dhl/shipping-m2

from dhl-shipping-m2.

tobiasolge avatar tobiasolge commented on June 21, 2024

how come, that there still is a cronjob running?

from dhl-shipping-m2.

tobiasolge avatar tobiasolge commented on June 21, 2024

and why are orders, that are not paid marked as paid by the cron?

from dhl-shipping-m2.

powli avatar powli commented on June 21, 2024

@tobiasolge:

Which cron job is running? Also how do you determine the orders being marked as paid?

from dhl-shipping-m2.

tobiasolge avatar tobiasolge commented on June 21, 2024

@powli
job_code: postdirekt_addressfactory_autoprocess_job
This happened on pay in advance orders. In these cases, we create an invoice manually.
For some orders an invoice was created automatically. The timestamp on the invoice is the same as the finished_at from that cron.

from dhl-shipping-m2.

tobiasolge avatar tobiasolge commented on June 21, 2024

There seem to be some more problems.
We have the following errors:
Error: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento2.nrshipping_order_item' doesn't exist, query was: SELECT main_table.*, extension_attribute_nrshipping_country_of_manufacture.country_of_manufacture AS extension_attribute_nrshipping_country_of_manufacture_country_of_manufacture, extension_attribute_nrshipping_export_description.export_description AS extension_attribute_nrshipping_export_description_export_description, extension_attribute_nrshipping_hs_code.hs_code AS extension_attribute_nrshipping_hs_code_hs_code FROM sales_order_item AS main_table LEFT JOIN nrshipping_order_item AS extension_attribute_nrshipping_country_of_manufacture ON main_table.item_id = extension_attribute_nrshipping_country_of_manufacture.item_id LEFT JOIN nrshipping_order_item AS extension_attribute_nrshipping_export_description ON main_table.item_id = extension_attribute_nrshipping_export_description.item_id LEFT JOIN nrshipping_order_item AS extension_attribute_nrshipping_hs_code ON main_table.item_id = extension_attribute_nrshipping_hs_code.item_id WHERE ((order_id = ''))

from dhl-shipping-m2.

mam08ixo avatar mam08ixo commented on June 21, 2024

Hi @tobiasolge, I am not sure what you are asking for. How to remove a package from a project was already explained before:

composer remove dhl/shipping-m2

Obviously, there is still code in your project that

  • executes cron jobs (none of our cron jobs marks orders as paid by the way, this is not a payment module) and
  • attempts to access database tables that you have removed.

So the first step for you is to remove the module files completely from the project.

Second step is data cleanup. Given you receive that SQL error, I assume you cleaned up the database already. If not, restore a dump or compare the schema files with your database to detect any leftovers. Schema files:

from dhl-shipping-m2.

tobiasolge avatar tobiasolge commented on June 21, 2024

Hi, yes, but there is still a cronjob running....
job code: postdirekt_addressfactory_autoprocess_job

from dhl-shipping-m2.

mam08ixo avatar mam08ixo commented on June 21, 2024

Then I suggest you find out why it is still running. Something cache? Cron schedule still stored in configuration files/table?

from dhl-shipping-m2.

tobiasolge avatar tobiasolge commented on June 21, 2024

we do have nothing, that scheduled that cron.

from dhl-shipping-m2.

mam08ixo avatar mam08ixo commented on June 21, 2024

That's good news! When it is not scheduled, then it does not run.

from dhl-shipping-m2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.