Tagged: 

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1233454

    I’ve just found out that Enold does not check automatically for updates. So, I can’t see updates in my maintenance system (mainwp). Instead, I would have to login and check for updates manually for each customer site using Enfold. Can I fix this somehow? Can I trigger the update check using a cronjob?

    • This topic was modified 3 years, 8 months ago by DFME.
    #1233691

    Hey DFME,

    I’m not sure if updates from Envato/Themeforest are compatible with MainWP, but updates should appear in the backend if you have registered the theme and added a token to the theme options? https://kriesi.at/documentation/enfold/theme-registration/

    Best regards,
    Rikard

    #1233700

    Hi Rikard,
    the updates via mainwp run ok. The problem is, that the theme is not always checked automatically for updates. Please, see the attached screenshot. The first screenshot shows the updates panel (today): No update available. After manually checking it clearly shows that there IS an update:
    https://ibb.co/rx7dZQd
    Some sites run the update check automatically, others don’t. So, I would rather use a cronjob to be safe. Is this possible?

    #1233715

    I don’t see a pattern. I have several sites on the same server using pretty much the same configuration. Some check automatically for updates, others don’t. I can update some site via mainwp, others fail.This is very annoying. Would you please dig into it? This is very likely not a problem with Envato. I use the Betheme (via Envato) on at least 20 sites. The updates run with no problems at all. All Enfold tokens are validated and ok.

    #1234308

    Hi,

    Thank you for the info.

    Have you tried clearing the transients in the database? Does it display in the mainwp dashboard after manually checking for updates in the theme options? Unfortunately, we are not that familiar with the mainwp platform, so this will probably require additional assistance from the plugin developers.

    You can use this plugin to clear the database transients.

    // https://wordpress.org/plugins/transients-manager/

    Look for the transient with your Envato username and the entry named “item_” followed by the item ID.

    Best regards,
    Ismael

    #1234322

    I tested it again. The issue is not caused by mainwp. Today, I checked manually for updates for the Enfold theme and checkd again in mainwp. It shows the available update. So, the problem is Enfold not performing the update checks automatically. Actually, this was my very first question: How can I trigger the update check without logging in? Some sites do perfom the update check. Does it depend on how often somebody logs in? I am pretty sure that my customers do not check for updates. Neither do I.

    So, I would like to repeat my question: Can I trigger the update check via a cronjob. Please let me know.

    Thanks,

    Mike

    #1234840

    Hi,

    So, I would like to repeat my question: Can I trigger the update check via a cronjob. Please let me know.

    This should be possible, but it will require modifications that are beyond the scope of support. Currently, the theme only checks for theme updates when a user access the admin or during an AJAX call.

    It’s possible that the database transient or entry called avia_theme_latest_version still contains an older version or a version that is equal to the installed version, so it assumes that the installation contains the latest version or that a newer version is not available. Again, deleting the database transients should help you in this case.

    Best regards,
    Ismael

    #1234847

    Currently, the theme only checks for theme updates when a user access the admin or during an AJAX call.

    Well, this would easily explain, why some sites don’t show updates. Some customers almost never log in. The same is true for me, since I use remote maintenance whenever possible. The update check should not rely on user access to the dashboard but on the wp-cron. It would be even better if you could provide an URL that could be called via a cronjob. Is this a problem due to Envato restrictions?

    #1235569

    Hi,

    Thank you for the info. We will forward this thread to our channel for further considerations, and maybe provide more info about the theme updater in case we missed anything else. For now, you will have to do the update check manually if necessary.

    Best regards,
    Ismael

    #1235609

    I would appreciate that.

    Your description is not very clear. It reads:

    Once you have entered and verified your Envato Personal Token Key WordPress will check for updates every 12 Hours and notify you here, if one is available.

    This is not quite true, if I have to log in first.

    The system check is not running smoothly. Today, I checked a customer site and logged in. It said: Version 4.7.4, no update available. Seriously? I had to check manually TWICE for the available update to show.

    Mainwp, on the other hand, showed the new version, but was not able to perform the pending update.Please, check with Envato. This is very annoying and time-consuming and not acceptable for a premium theme.

    #1236360

    Hi,

    I have forwarded your concern to our channel and post the question so that we can clarify or confirm how the updater actually works, or if it does check for updates every 12 hours. Maybe I just misread the code or missed something.

    Thank you for your patience.

    Best regards,
    Ismael

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.