Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. box:scheduler could not run task wpcron : Contanier ID-wpcron not found

box:scheduler could not run task wpcron : Contanier ID-wpcron not found

Scheduled Pinned Locked Moved Solved Support
cronmigration
3 Posts 2 Posters 16 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    p44
    translator
    wrote last edited by p44
    #1

    Hi all,

    I just moved a Cloudron instance (9.1.3, Ubuntu 24.04.4 LTS) between two VPS.

    One app is LAMP and I had configured a cron job, that is not working.

    Box log show me this error:

    box:scheduler could not run task wpcron : Contanier ID-wpcron not found
    

    It seems that cron job is configured for old container name and not new created name after import.

    Any suggestion to solve?

    Thanks a lot

    Edit: I restarted app but nothing to do...

    J 1 Reply Last reply
    1
    • P Offline
      P Offline
      p44
      translator
      wrote last edited by p44
      #3

      @joseph thanks a lot for your prompt answer.

      I migrated and after 24 hours I saw this problem.

      So, right now what other I did:

      • I enabled LAMP recovery mode
      • I disabled LAMP recovery mode
      • I rebooted whole VPS (not only LAMP app)

      Problem is solved after those further steps.

      Migration script could be improved to update cron job container ID if any cron job configured in a specific app.

      1 Reply Last reply
      1
      • P p44

        Hi all,

        I just moved a Cloudron instance (9.1.3, Ubuntu 24.04.4 LTS) between two VPS.

        One app is LAMP and I had configured a cron job, that is not working.

        Box log show me this error:

        box:scheduler could not run task wpcron : Contanier ID-wpcron not found
        

        It seems that cron job is configured for old container name and not new created name after import.

        Any suggestion to solve?

        Thanks a lot

        Edit: I restarted app but nothing to do...

        J Online
        J Online
        joseph
        Staff
        wrote last edited by
        #2

        @p44 I think if you wait for a bit (like 2-3 minutes after restore), it will work.

        1 Reply Last reply
        1
        • P Offline
          P Offline
          p44
          translator
          wrote last edited by p44
          #3

          @joseph thanks a lot for your prompt answer.

          I migrated and after 24 hours I saw this problem.

          So, right now what other I did:

          • I enabled LAMP recovery mode
          • I disabled LAMP recovery mode
          • I rebooted whole VPS (not only LAMP app)

          Problem is solved after those further steps.

          Migration script could be improved to update cron job container ID if any cron job configured in a specific app.

          1 Reply Last reply
          1
          • P p44 has marked this topic as solved

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search