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 | Demo | Docs | Install
  1. Cloudron Forum
  2. Change Detection
  3. Cloudron deploying wrong/old code? is it possible?

Cloudron deploying wrong/old code? is it possible?

Scheduled Pinned Locked Moved Change Detection
23 Posts 3 Posters 36 Views 3 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.
  • D Offline
    D Offline
    dgtlmoon
    wrote last edited by dgtlmoon
    #5

    @girish our version from pip does not show the bug that the user has reported at https://github.com/dgtlmoon/changedetection.io/issues/3591

    changedetection.io                       0.50.38
    
    *******************************
    Content-Type: text/plain; charset="utf-8"
    MIME-Version: 1.0
    Content-Transfer-Encoding: quoted-printable
    X-Application: changedetection.io
    Subject: ChangeDetection Notificatie - https://changedetection.io/time.php
    From: "changedetection.io" <me@localhost>
    To: me@localhost
    Message-ID: <176218308420.466622.10852343540499566928@localhost>
    Date: Mon, 03 Nov 2025 16:18:04 +0100
    
    https://changedetection.io/time.php heeft een wijziging:
    ---
    (changed) 1762182602.7904
    (into) 1762183083.0323
    ---
    
    

    the notification email is perfect, no weird placeholders

    it's still possible we have the bug on our side and something is missing from the issue report, but this part is heavily automated tests (1000+ lines checking this)

    1 Reply Last reply
    1
    • D Offline
      D Offline
      dgtlmoon
      wrote last edited by
      #6
      CD_VERSION=0.50.38; curl -sL https://github.com/dgtlmoon/changedetection.io/archive/refs/tags/${CD_VERSION}.tar.gz | tar --strip-components 1 -xvzf -
      
      changedetection.io-0.50.38/docs/package.json
      changedetection.io-0.50.38/docs/proxy-example.jpg
      changedetection.io-0.50.38/docs/restock-overview.png
      changedetection.io-0.50.38/docs/restock-settings.png
      changedetection.io-0.50.38/docs/scheduler.png
      changedetection.io-0.50.38/docs/screenshot-diff.png
      changedetection.io-0.50.38/docs/screenshot-notifications.png
      changedetection.io-0.50.38/docs/screenshot.png
      changedetection.io-0.50.38/docs/visualselector-anim.gif
      changedetection.io-0.50.38/docs/web-page-change-conditions.png
      changedetection.io-0.50.38/requirements.txt
      changedetection.io-0.50.38/runtime.txt
      changedetection.io-0.50.38/setup.py
      ...
      

      then

      
      $ ./changedetection.py -d /tmp
      2025-11-03 16:23:38.541 | DEBUG    | changedetectionio.content_fetchers:<module>:62 - Falling back to selenium as fetcher
      2025-11-03 16:23:38.625 | DEBUG    | changedetectionio.queue_handlers:__init__:53 - RecheckPriorityQueue initialized successfully
      2025-11-03 16:23:38.625 | DEBUG    | changedetectionio.queue_handlers:__init__:358 - NotificationQueue initialized successfully
      2025-11-03 16:23:38.626 | INFO     | changedetectionio.flask_app:<module>:90 - System locale default is ('en_AU', 'UTF-8')
      2025-11-03 16:23:38.626 | SUCCESS  | changedetectionio:main:131 - changedetection.io version 0.50.38 starting.
      ...
      

      then I send a test SMTP notification by following https://changedetection.io/time.php (plaintext document)

      *******************************
      Content-Type: text/plain; charset="utf-8"
      MIME-Version: 1.0
      Content-Transfer-Encoding: quoted-printable
      X-Application: changedetection.io
      Subject: ChangeDetection Notificatie - https://changedetection.io/time.php
      From: "changedetection.io" <me@localhost>
      To: me@localhost
      Message-ID: <176218348959.467872.404048423206685716@localhost>
      Date: Mon, 03 Nov 2025 16:24:49 +0100
      
      https://changedetection.io/time.php heeft een wijziging:
      ---
      (changed) 1762183083.0323
      (into) 1762183488.7614
      ---
      
      *******************************
      

      everything works perfect

      1 Reply Last reply
      1
      • imc67I Offline
        imc67I Offline
        imc67
        translator
        wrote last edited by
        #7

        In the Cloudron app the output in the email is:

        https://changedetection.io/time.php heeft een wijziging: --- @changed_PLACEMARKER_OPEN1762182459.6731@changed_PLACEMARKER_CLOSED @changed_into_PLACEMARKER_OPEN1762182761.7355@changed_into_PLACEMARKER_CLOSED ---
        
        1 Reply Last reply
        0
        • D Offline
          D Offline
          dgtlmoon
          wrote last edited by
          #8

          @imc67 I would need to SSH into that machine.... is it possible? πŸ™‚ πŸ™‚

          imc67I 1 Reply Last reply
          0
          • D dgtlmoon

            @imc67 I would need to SSH into that machine.... is it possible? πŸ™‚ πŸ™‚

            imc67I Offline
            imc67I Offline
            imc67
            translator
            wrote last edited by
            #9

            @dgtlmoon said in Cloudron deploying wrong/old code? is it possible?:

            @imc67 I would need to SSH into that machine.... is it possible? πŸ™‚ πŸ™‚

            I think its better that @girish is trying to reproduce on a Cloudron server (or you can use the Cloudron demo yourself)

            1 Reply Last reply
            0
            • D Offline
              D Offline
              dgtlmoon
              wrote last edited by
              #10

              @girish is it possible that when the cloudron image updates, the old container is running still or something? @imc67 I'm almost 100% certain a fresh install would work....

              imc67I 1 Reply Last reply
              0
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote last edited by girish
                #11

                @imc67 Did I understand correctly that I should send a test email and this will reproduce the bug?

                Works for me.. but still playing around. It seems the new default format is HTML Color but in your github issue it is HTML. That doesn't seem to matter though.

                image.png

                imc67I 1 Reply Last reply
                0
                • girishG girish

                  @imc67 Did I understand correctly that I should send a test email and this will reproduce the bug?

                  Works for me.. but still playing around. It seems the new default format is HTML Color but in your github issue it is HTML. That doesn't seem to matter though.

                  image.png

                  imc67I Offline
                  imc67I Offline
                  imc67
                  translator
                  wrote last edited by imc67
                  #12

                  @girish said in Cloudron deploying wrong/old code? is it possible?:

                  @imc67 Did I understand correctly that I should send a test email and this will reproduce the bug?

                  Works for me.. but still playing around. It seems the new default format is HTML Color but in your github issue it is HTML. That doesn't seem to matter though.

                  image.png

                  steps to reproduce:

                  1. create a watcher on https://changedetection.io/time.php
                  2. set it to Chrome and settings like this:
                    SchermΒ­afbeelding 2025-11-03 om 12.41.10.png
                  3. set it to check for every 5 minutes
                  4. notification method: email via mailtos://user:pw@domain.xx?smtp=mail.domain.xx&user=x@x.xx
                  1 Reply Last reply
                  0
                  • D dgtlmoon

                    @girish is it possible that when the cloudron image updates, the old container is running still or something? @imc67 I'm almost 100% certain a fresh install would work....

                    imc67I Offline
                    imc67I Offline
                    imc67
                    translator
                    wrote last edited by imc67
                    #13

                    @dgtlmoon said in Cloudron deploying wrong/old code? is it possible?:

                    I'm almost 100% certain a fresh install would work....

                    If I make a backup in Changedetection, delete the app, reinstall fresh and restore the backup will everything also general settings en mailtos: work again?

                    imc67I 1 Reply Last reply
                    0
                    • girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote last edited by
                      #14

                      @imc67 that works for me as well.

                      image.png

                      I think it's probably related to some migration logic from older version. I am trying a Change Detection from 2-3 weeks ago and see if it's reproducible .

                      imc67I 1 Reply Last reply
                      0
                      • girishG girish

                        @imc67 that works for me as well.

                        image.png

                        I think it's probably related to some migration logic from older version. I am trying a Change Detection from 2-3 weeks ago and see if it's reproducible .

                        imc67I Offline
                        imc67I Offline
                        imc67
                        translator
                        wrote last edited by
                        #15

                        @girish said in Cloudron deploying wrong/old code? is it possible?:

                        trying a Change Detection from 2-3 weeks ago

                        mine was from January 2023 πŸ™‚

                        1 Reply Last reply
                        0
                        • imc67I imc67

                          @dgtlmoon said in Cloudron deploying wrong/old code? is it possible?:

                          I'm almost 100% certain a fresh install would work....

                          If I make a backup in Changedetection, delete the app, reinstall fresh and restore the backup will everything also general settings en mailtos: work again?

                          imc67I Offline
                          imc67I Offline
                          imc67
                          translator
                          wrote last edited by
                          #16

                          well this doesn't work!! There is a way to make a backup and download a zipfile but, I uninstalled, fresh install and wanted to import the backup zip ... there is no functionality for that or I completely missed it 😞

                          So I imported on the new app a app-backup, after that the issue is still there

                          girishG 1 Reply Last reply
                          0
                          • imc67I imc67

                            well this doesn't work!! There is a way to make a backup and download a zipfile but, I uninstalled, fresh install and wanted to import the backup zip ... there is no functionality for that or I completely missed it 😞

                            So I imported on the new app a app-backup, after that the issue is still there

                            girishG Offline
                            girishG Offline
                            girish
                            Staff
                            wrote last edited by
                            #17

                            @imc67 said in Cloudron deploying wrong/old code? is it possible?:

                            well this doesn't work!! There is a way to make a backup and download a zipfile but, I uninstalled, fresh install and wanted to import the backup zip ... there is no functionality for that or I completely missed it 😞

                            You have to manually upload to the server's file system and import it from there. you didn't miss this, it's not implemented (well, so far, we haven't planned to implement it).

                            imc67I 1 Reply Last reply
                            0
                            • imc67I Offline
                              imc67I Offline
                              imc67
                              translator
                              wrote last edited by
                              #18

                              Beside the old app (imported with issue) I created a fully new one and checked: this one works!!!

                              So there must be something during almost 3 years of updating that went wrong

                              1 Reply Last reply
                              0
                              • girishG girish

                                @imc67 said in Cloudron deploying wrong/old code? is it possible?:

                                well this doesn't work!! There is a way to make a backup and download a zipfile but, I uninstalled, fresh install and wanted to import the backup zip ... there is no functionality for that or I completely missed it 😞

                                You have to manually upload to the server's file system and import it from there. you didn't miss this, it's not implemented (well, so far, we haven't planned to implement it).

                                imc67I Offline
                                imc67I Offline
                                imc67
                                translator
                                wrote last edited by
                                #19

                                @girish I meant the backup inside ChangeDetection, there you can create a backup and export it as zip. But inside ChangeDetection I don't see a function to import that zip ... or I overlooked in the hurry

                                1 Reply Last reply
                                0
                                • imc67I Offline
                                  imc67I Offline
                                  imc67
                                  translator
                                  wrote last edited by
                                  #20

                                  Ok, I "solved" it by creating a new app on a new domain, manually match all settings and watches, tested (WORKED!) and then did a Cloudron backup and imported that backup on the app at the original domain (of the "faulty" app).

                                  Result: I have a freshly new app with previous settings on the original app-domain.

                                  Case closed for me ... but the issue is not really solved for all those that didn't do this.

                                  1 Reply Last reply
                                  0
                                  • D Offline
                                    D Offline
                                    dgtlmoon
                                    wrote last edited by
                                    #21

                                    https://github.com/dgtlmoon/changedetection.io/issues/3576 this is kinda similar but the user reports it as solved

                                    1 Reply Last reply
                                    0
                                    • D Offline
                                      D Offline
                                      dgtlmoon
                                      wrote last edited by
                                      #22

                                      let me verify an old tag install then upgrade...

                                      1 Reply Last reply
                                      0
                                      • D Offline
                                        D Offline
                                        dgtlmoon
                                        wrote last edited by
                                        #23

                                        Tried old 0.45.9, - Plaintext test

                                        • Set up "mailto://me@localhost" on test SMTP server as "Global notification setting", and "Text" notification type
                                        • Watch: Added the time.php test with "system default" notification format

                                        shut down, switch to 0.50.38, start up, updates ran,
                                        SMTP test was OK no placeholders

                                        @imc67 can you email me your url-watches.json again? then i can compare what settings are different maybe

                                        1 Reply Last reply
                                        0
                                        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