How to update Frappe Framework

Hello There,

I am using Frappe HelpDesk by docker-compose built via command python3 easyinstall.py

Currently frappe framework: v15.90.1

How to update frappe framework to latest?

Thanks so much :heart:

Thong Nguyen

I tried edit version in apps.json but unsuccessful!

[root@support ~]# docker ps -a
CONTAINER ID   IMAGE                            COMMAND                  CREATED         STATUS                     PORTS                                                                          NAMES
50898213cbb6   mcuadros/ofelia:latest           "/usr/bin/ofelia dae…"   9 minutes ago   Up 9 minutes                                                                                              docker-cron-1
3441479a5de2   ghcr.io/frappe/helpdesk:stable   "nginx-entrypoint.sh"    9 minutes ago   Up 9 minutes                                                                                              docker-frontend-1
d1237663bd58   ghcr.io/frappe/helpdesk:stable   "bench schedule"         9 minutes ago   Up 9 minutes                                                                                              docker-scheduler-1
b693c0058594   ghcr.io/frappe/helpdesk:stable   "node /home/frappe/f…"   9 minutes ago   Up 9 minutes                                                                                              docker-websocket-1
39d1b55e5ebf   ghcr.io/frappe/helpdesk:stable   "/home/frappe/frappe…"   9 minutes ago   Up 9 minutes                                                                                              docker-backend-1
4be0959f2f9e   ghcr.io/frappe/helpdesk:stable   "bench worker --queu…"   9 minutes ago   Up 9 minutes                                                                                              docker-queue-short-1
2633bbed02e3   ghcr.io/frappe/helpdesk:stable   "bench worker --queu…"   9 minutes ago   Up 9 minutes                                                                                              docker-queue-long-1
17215af06127   ghcr.io/frappe/helpdesk:stable   "bash -c 'ls -1 apps…"   9 minutes ago   Exited (0) 9 minutes ago                                                                                  docker-configurator-1
a3d60149a816   redis:alpine                     "docker-entrypoint.s…"   9 minutes ago   Up 9 minutes               6379/tcp                                                                       docker-redis-queue-1
6b6746396164   redis:alpine                     "docker-entrypoint.s…"   9 minutes ago   Up 9 minutes               6379/tcp                                                                       docker-redis-cache-1
fde9ce1b4f38   traefik                          "/entrypoint.sh --pr…"   9 minutes ago   Up 9 minutes               0.0.0.0:80->80/tcp, [::]:80->80/tcp, 0.0.0.0:443->443/tcp, [::]:443->443/tcp   docker-proxy-1
bda9cf1ee947   mariadb:10.6                     "docker-entrypoint.s…"   9 minutes ago   Up 9 minutes (healthy)     3306/tcp                                                                       docker-db-1
[root@support ~]# 
[root@support ~]# 
[root@support ~]# cat frappe_docker/sites/apps.json 
{
    "frappe": {
        "resolution": {
            "commit_hash": "329243f6467d6856e12a8af430ec9d4054d99816",
            "branch": "develop"
        },
        "required": [],
        "idx": 1,
        "version": "15.91.3"
    },
    "telephony": {
        "is_repo": true,
        "resolution": {
            "commit_hash": "00ca23964ac5847464ce9e03f8f9b32543dff006",
            "branch": "develop"
        },
        "required": [],
        "idx": 2,
        "version": "0.0.1"
    },
    "hrms": {
        "is_repo": true,
        "resolution": {
            "commit_hash": "440d8b64ac358cf74c7379c9ea6d2a058ec216d8",
            "branch": "develop"
        },
        "required": [],
        "idx": 3,
        "version": "15.53.0"
    },
    "helpdesk": {
        "is_repo": true,
        "resolution": {
            "commit_hash": "99682ad5fdf8bf0ef90df46e4ead7ae6d48ea52c",
            "branch": "main"
        },
        "required": [],
        "idx": 4,
        "version": "1.17.4"
    }
}

follow instructions in Creating new custom app in the dockerized instance is not possible · Issue #1640 · frappe/frappe_docker · GitHub
Put this in apps.json instead: -
{ “url”: "GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript, “tag”: “v16.0.0-beta.2” }
Remember v16 is in beta so things will break

1 Like

Thanks so much for your reply :heart:

sorry made a mistake…
the apps.json is for all the apps you want to install
however for the main framework there is a line in the easy-install.py at line 607

you need to change that to a tag and not a branch (have not experimented with it yet)

This means that if I change version-15 to HEAD or main, then after running the python3 easy.py command, it will use the latest GitHub source to build. Right?

I tried changing to develop or another. but Frappe Framework is still version 15.90.1, not 15.92.0 latest.

try this - in line 607 change to default=”v15.92.0”
let me know if it works otherwise you will have wait for frappe team to link version-15/develop branch to v15.92.0 tag

I tried. Tool still runs with v15.90.1 :smiling_face_with_tear:

One more thing… at the root directory there are 3 files frappe-compose, frappe-passwords and frappe.env
delete them manually and then try again

1 Like

Ya! I have tried, but the same. I think in image=ghcr.io/frappe/helpdesk:stable installed v15.90.1

:joy:

Try now.. i saw in github it was updated

1 Like