• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • ⚠️ Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • ✅ Confirm that the server meets the System Requirements
    • 🔥 Check for any available Hotfix - your issue could be already reported/fixed
    • 📚 Read documentation - It will be required to Debug and understand Errors for a faster support response

How to upgrade Chevereto V3(3.20.20) to V4(4.0.9) with docker image ?

Version
v3.20.20
PHP version
7.4.33 in v3.20.20 docker image
Database driver
MySQL
Database version
5.7.36
Web browser
chrome

baichaohua

Chevereto Member
Hi , I have been using chevereto v3.20.20 by the docker image . And now I`d like to use the V4.0.9 .
So I build the Chevereto V4.0.9 image in docker . But when I run the new docker container , and want to longin , i got something wrong .
Just like the error codes beblow :

Code:
2023-11-22 16:02:28 Chevere\Throwable\Exceptions\ErrorException thrown in /var/www/html/content/legacy/themes/Peafowl/snippets/footer.js.php:91
2023-11-22 16:02:28
2023-11-22 16:02:28 # Message [Code #2]
2023-11-22 16:02:28 Undefined array key "captcha"
2023-11-22 16:02:28
2023-11-22 16:02:28 # Incident ID:655db5945c0d0
2023-11-22 16:02:28
2023-11-22 16:02:28 # Time
2023-11-22 16:02:28 2023-11-22T08:02:28+00:00 [1700640148]
2023-11-22 16:02:28
2023-11-22 16:02:28 # Stack trace
2023-11-22 16:02:28 ------------------------------------------------------------
2023-11-22 16:02:28 #0 /var/www/html/content/legacy/themes/Peafowl/snippets/footer.js.php:91
2023-11-22 16:02:28 {main}()
2023-11-22 16:02:28 ------------------------------------------------------------
2023-11-22 16:02:28 #1 /var/www/html/app/src/Legacy/G/functions-render.php:32
2023-11-22 16:02:28 require(string(length=66))
2023-11-22 16:02:28 ------------------------------------------------------------
2023-11-22 16:02:28 #2 /var/www/html/app/src/Legacy/functions-render.php:64
2023-11-22 16:02:28 Chevereto\Legacy\G\include_theme_file(string(length=18))
2023-11-22 16:02:28 ------------------------------------------------------------
2023-11-22 16:02:28 #3 /var/www/html/content/legacy/themes/Peafowl/footer.php:26
2023-11-22 16:02:28 Chevereto\Legacy\show_theme_inline_code(string(length=18))
2023-11-22 16:02:28 ------------------------------------------------------------
2023-11-22 16:02:28 #4 /var/www/html/app/src/Legacy/G/functions-render.php:32
2023-11-22 16:02:28 require(string(length=54))
2023-11-22 16:02:28 ------------------------------------------------------------
2023-11-22 16:02:28 #5 /var/www/html/app/src/Legacy/G/functions-render.php:44
2023-11-22 16:02:28 Chevereto\Legacy\G\include_theme_file(string(length=6))
2023-11-22 16:02:28 ------------------------------------------------------------
2023-11-22 16:02:28 #6 /var/www/html/content/legacy/themes/Peafowl/views/login.php:59
2023-11-22 16:02:28 Chevereto\Legacy\G\include_theme_footer()
2023-11-22 16:02:28 ------------------------------------------------------------
2023-11-22 16:02:28 #7 /var/www/html/app/src/Legacy/G/Handler.php:391
2023-11-22 16:02:28 require(string(length=59))
2023-11-22 16:02:28 ------------------------------------------------------------
2023-11-22 16:02:28 #8 /var/www/html/app/src/Legacy/G/Handler.php:167
2023-11-22 16:02:28 Chevereto\Legacy\G\Handler->loadTemplate()
2023-11-22 16:02:28 ------------------------------------------------------------
2023-11-22 16:02:28 #9 /var/www/html/app/legacy/load/web.php:501
2023-11-22 16:02:28 Chevereto\Legacy\G\Handler->__construct(bool(true), Closure(#266), Closure(#18))
2023-11-22 16:02:28 ------------------------------------------------------------
2023-11-22 16:02:28 #10 /var/www/html/app/legacy/entrypoints/index.php:25
2023-11-22 16:02:28 require_once(string(length=37))
2023-11-22 16:02:28 ------------------------------------------------------------
2023-11-22 16:02:28 #11 /var/www/html/index.php:12
2023-11-22 16:02:28 require_once(string(length=46))
2023-11-22 16:02:28 ------------------------------------------------------------
2023-11-22 16:02:28
2023-11-22 16:02:28 # Server
2023-11-22 16:02:28 Linux 26631fcffa85 6.4.16-linuxkit #1 SMP PREEMPT_DYNAMIC Wed Oct 25 15:08:07 UTC 2023 x86_64
2023-11-22 16:02:28
2023-11-22 16:02:28 192.168.65.1 - - [22/Nov/2023:08:02:28 +0000] "GET /login HTTP/1.1" 200 40479 "http://localhost:8688/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"
2023-11-22 16:02:35 Chevere\Throwable\Exceptions\ErrorException thrown in /var/www/html/content/legacy/themes/Peafowl/snippets/footer.js.php:91
2023-11-22 16:02:35
2023-11-22 16:02:35 # Message [Code #2]
2023-11-22 16:02:35 Undefined array key "captcha"
2023-11-22 16:02:35
2023-11-22 16:02:35 # Incident ID:655db59b818d4
2023-11-22 16:02:35
2023-11-22 16:02:35 # Time
2023-11-22 16:02:35 2023-11-22T08:02:35+00:00 [1700640155]
2023-11-22 16:02:35
2023-11-22 16:02:35 # Stack trace
2023-11-22 16:02:35 ------------------------------------------------------------
2023-11-22 16:02:35 #0 /var/www/html/content/legacy/themes/Peafowl/snippets/footer.js.php:91
2023-11-22 16:02:35 {main}()
2023-11-22 16:02:35 ------------------------------------------------------------
2023-11-22 16:02:35 #1 /var/www/html/app/src/Legacy/G/functions-render.php:32
2023-11-22 16:02:35 require(string(length=66))
2023-11-22 16:02:35 ------------------------------------------------------------
2023-11-22 16:02:35 #2 /var/www/html/app/src/Legacy/functions-render.php:64
2023-11-22 16:02:35 Chevereto\Legacy\G\include_theme_file(string(length=18))
2023-11-22 16:02:35 ------------------------------------------------------------
2023-11-22 16:02:35 #3 /var/www/html/content/legacy/themes/Peafowl/footer.php:26
2023-11-22 16:02:35 Chevereto\Legacy\show_theme_inline_code(string(length=18))
2023-11-22 16:02:35 ------------------------------------------------------------
2023-11-22 16:02:35 #4 /var/www/html/app/src/Legacy/G/functions-render.php:32
2023-11-22 16:02:35 require(string(length=54))
2023-11-22 16:02:35 ------------------------------------------------------------
2023-11-22 16:02:35 #5 /var/www/html/app/src/Legacy/G/functions-render.php:44
2023-11-22 16:02:35 Chevereto\Legacy\G\include_theme_file(string(length=6))
2023-11-22 16:02:35 ------------------------------------------------------------
2023-11-22 16:02:35 #6 /var/www/html/content/legacy/themes/Peafowl/views/403.php:22
2023-11-22 16:02:35 Chevereto\Legacy\G\include_theme_footer()
2023-11-22 16:02:35 ------------------------------------------------------------
2023-11-22 16:02:35 #7 /var/www/html/app/src/Legacy/G/Handler.php:391
2023-11-22 16:02:35 require(string(length=57))
2023-11-22 16:02:35 ------------------------------------------------------------
2023-11-22 16:02:35 #8 /var/www/html/app/src/Legacy/G/Handler.php:167
2023-11-22 16:02:35 Chevereto\Legacy\G\Handler->loadTemplate()
2023-11-22 16:02:35 ------------------------------------------------------------
2023-11-22 16:02:35 #9 /var/www/html/app/legacy/load/web.php:501
2023-11-22 16:02:35 Chevereto\Legacy\G\Handler->__construct(bool(true), Closure(#276), Closure(#18))
2023-11-22 16:02:35 ------------------------------------------------------------
2023-11-22 16:02:35 #10 /var/www/html/app/legacy/entrypoints/index.php:25
2023-11-22 16:02:35 require_once(string(length=37))
2023-11-22 16:02:35 ------------------------------------------------------------
2023-11-22 16:02:35 #11 /var/www/html/index.php:12
2023-11-22 16:02:35 require_once(string(length=46))
2023-11-22 16:02:35 ------------------------------------------------------------
2023-11-22 16:02:35
2023-11-22 16:02:35 # Server
2023-11-22 16:02:35 Linux 26631fcffa85 6.4.16-linuxkit #1 SMP PREEMPT_DYNAMIC Wed Oct 25 15:08:07 UTC 2023 x86_64



I read the docs , want to know how to upgrade frome V3 to V4 with docker image , but seems there was no solution for me .

Could you please tell me how to fix my problem ?
@Rodolfo
 
Which image are you using and does it works if you run a brand new V4 install?
Thanks for your reply .
I follow the docs (V3 and V4) , build the v3.20.20 docker image ,and v4.0.9 docker image .
If i run ad brand new V4 install , it works very well . Only i upgrade from V3.20.20 to v4.0.9 by docker image , the problem arise.
By the way , if i want to upgrade from v3 to v4 through the docker way , what should i do ? It seems no guide in the upgrade docs.
The upgrade docs show other ways ,not the docker way .
Looking forward to your reply .
 
If new V4 install works fine then the issue is on the filesystem. You are trying to preserve software's files from V3 (a theme maybe?) which is not compatible with V4.
 
Back
Top