• Hello,

    I have a multinetwork site setup and woostores running on all sites. Now, when I update woocommerce on main site, I need all of my subsite’s databases to automatically update.

    Is there a way to automate this process?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support mouli a11n

    (@mouli)

    Hi there,
    All your sites actually use the same database. The sub sites are differentiated by different table prefixes within the same database.
    When you update WooCommerce on the multisite it should update the database as needed.
    Are you seeing indications that it is not doing this such as database update warning in the dashboard of the sub sites?

    Thread Starter Vidish

    (@vidishp)

    @mouli Thank you for your reply.

    I have subsite’s database tables like wp_23_posts etc.. but when I update my main site’s database, I want to update all subsite’s data. I don’t want to go to each subsite and update it manually.

    Currently, I need to login to each subsite and update database. I need to automate this process for all subsites.

    jessepearson

    (@jessepearson)

    Automattic Happiness Engineer

    @vidishp Due to plugins can be activated network wide or on a site by site basis, it’s not wise for the WooCommerce plugin to assume all sites on a network are up to date with the current WooCommerce version and then push database updates to all sites. Database updates are typically also a manual process due to we recommend backing up first.

    I am sure a custom solution could be created to solve the issue, but you may need to reach out to a developer for that: https://woocommerce.com/customizations/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Update all woocommerce sub sites database under network’ is closed to new replies.