Chart of Accounts not available on ERPNext: v7.0.0-beta

I installed ERPNext: v7.0.0-beta on digital ocean and I can´t see Chart of Accounts, the system throw this message “Page Accounts Browser not found”.
How can I solve this?
Thanks!

I had a similar issue but recent developer branch updates solved the issue. Make sure that ERPNext, Frappe and Bench are all on Developer Branch
Then
bench update
bench update --patch

HTH

I wrote bench update but it show me this:

/home/frappe/frappe-bench# bench update
INFO:bench.utils:updating bench
remote: Counting objects: 249, done.
remote: Compressing objects: 100% (43/43), done.
remote: Total 249 (delta 139), reused 121 (delta 121), pack-reused 85
Receiving objects: 100% (249/249), 52.60 KiB | 0 bytes/s, done.
Resolving deltas: 100% (172/172), completed with 51 local objects.
error: Unable to append to .git/logs/refs/remotes/origin/develop:
Permission denied
From GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps
! 253f72f…cd5206a develop → origin/develop (unable to update local
ref)

  • [new branch] fix/test → origin/fix/test
    error: Unable to append to .git/logs/refs/remotes/origin/master: Permission
    denied
    ! 494177d…29a8b72 master → origin/master (unable to update local
    ref)
  • [new branch] v1.x-new-versioning → origin/v1.x-new-versioning
    Traceback (most recent call last):
    File “/usr/local/bin/bench”, line 9, in
    load_entry_point(‘bench==3.0.0’, ‘console_scripts’, ‘bench’)()
    File “/home/frappe/bench-repo/bench/cli.py”, line 40, in cli
    bench_command()
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 716, in
    call
    return self.main(*args, **kwargs)
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 696, in
    main
    rv = self.invoke(ctx)
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1060,
    in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 889, in
    invoke
    return ctx.invoke(self.callback, **ctx.params)
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 534, in
    invoke
    return callback(*args, **kwargs)
    File “/home/frappe/bench-repo/bench/commands/update.py”, line 34, in
    update
    update_bench()
    File “/home/frappe/bench-repo/bench/utils.py”, line 193, in update_bench
    exec_cmd(“git pull”, cwd=cwd)
    File “/home/frappe/bench-repo/bench/utils.py”, line 99, in exec_cmd
    raise CommandFailedError(cmd)
    bench.utils.CommandFailedError: git pull

Ok there has been some big update’s in Ver7. I would try this first:

Go to bench-repo folder
git pull origin
Go back to frappe-bench folder
Run bench update
If you are develop branch, you might be asked to run bench update --upgrade. This is because we have changed the version of frappe and erpnext in the develop branch to v7.0.0-beta

Make sure that ERPNext, Frappe and Bench are all on Developer Branch

You may need to read this article as well:

HTH

I tried with git pull origin and I also did it with sudo but the system
throw this:

/home/frappe/bench-repo# git pull origin
Updating 253f72f…cd5206a
error: Your local changes to the following files would be overwritten by
merge:
bench/config/common_site_config.py
Please, commit your changes or stash them before you can merge.
Aborting

And this is the code of bench/config/common_site_config.py:

import os, multiprocessing, getpass, json, urlparse

default_config = {
‘restart_supervisor_on_update’: False,
‘auto_update’: False,
‘serve_default_site’: True,
‘rebase_on_pull’: False,
‘update_bench_on_update’: True,
‘frappe_user’: getpass.getuser(),
‘shallow_clone’: True,
‘background_workers’: 1
}

def make_config(bench_path):
make_pid_folder(bench_path)
bench_config = get_config(bench_path)
bench_config.update(default_config)
bench_config.update(get_gunicorn_workers())
update_config_for_frappe(bench_config, bench_path)

    put_config(bench_config, bench_path)

def get_config(bench):
return get_common_site_config(bench)

def get_common_site_config(bench_path):
config_path = get_config_path(bench_path)
if not os.path.exists(config_path):
return {}
with open(config_path, ‘r’) as f:
return json.load(f)

def put_config(config, bench=‘.’):
config_path = get_config_path(bench)
with open(config_path, ‘w’) as f:
return json.dump(config, f, indent=1, sort_keys=True)

def update_config(new_config, bench=‘.’):
config = get_config(bench=bench)
config.update(new_config)
put_config(config, bench=bench)

def get_config_path(bench):
return os.path.join(bench, ‘sites’, ‘common_site_config.json’)

def get_gunicorn_workers():
‘’‘This function will return the maximum workers that can be
started depending upon
number of cpu’s present on the machine’‘’
return {
“gunicorn_workers”: multiprocessing.cpu_count()
}

def update_config_for_frappe(config, bench_path):
ports = make_ports(bench_path)

    for key in ('redis_cache', 'redis_queue', 'redis_socketio'):
            if key not in config:
                    config[key] =

“redis://localhost:{0}”.format(ports[key])

    for key in ('webserver_port', 'socketio_port'):
            if key not in config:
                    config[key] = ports[key]


    # TODO Optionally we need to add the host or domain name in case

dns_multitenant is $

def make_ports(bench_path):
benches_path = os.path.dirname(os.path.abspath(bench_path))

    default_ports = {
            "webserver_port": 8000,
            "socketio_port": 9001,
            "redis_queue": 11000,
            "redis_socketio": 12000,
            "redis_cache": 13000
    }

    # collect all existing ports
    existing_ports = {}
    for folder in os.listdir(benches_path):
            bench = os.path.join(benches_path, folder)
            if os.path.isdir(bench):
                    bench_config = get_config(bench)
                    for key in default_ports.keys():
                            value = bench_config.get(key)

                            # extract port from redis url
                            if value and (key in ('redis_cache',

‘redis_queue’, 'redis_s$
value =
urlparse.urlparse(value).port

                            if value:
                                    existing_ports.setdefault(key,

[]).append(value)

    # new port value = max of existing port value + 1
    ports = {}
    for key, value in default_ports.items():
            existing_value = existing_ports.get(key, [])
            if existing_value:
                    value = max(existing_value) + 1

            ports[key] = value

    return ports

def make_pid_folder(bench_path):
pids_path = os.path.join(bench_path, ‘config’, ‘pids’)
if not os.path.exists(pids_path):
os.makedirs(pids_path)

Sorry @FBM looks like it has gone a bit messy… Not sure what install file you used… Anyway I would delete bench/config/common_site_config.py and then try again.

I tried with bench update --upgrade.

/home/frappe/frappe-bench# bench update --upgrade
INFO:bench.utils:updating bench
Already up-to-date.
Requirement already satisfied (use --upgrade to upgrade): Pillow in ./env/lib/python2.7/site-packages
INFO:bench.app:pulling frappe
From GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript

  • branch develop → FETCH_HEAD
    Updating dea30f8…45c8e63
    error: Your local changes to the following files would be overwritten by merge:
    frappe/desk/page/setup_wizard/setup_wizard.json
    Please, commit your changes or stash them before you can merge.
    Aborting
    Traceback (most recent call last):
    File “/usr/local/bin/bench”, line 9, in
    load_entry_point(‘bench==3.0.0’, ‘console_scripts’, ‘bench’)()
    File “/home/frappe/bench-repo/bench/cli.py”, line 40, in cli
    bench_command()
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 716, in call
    return self.main(*args, **kwargs)
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 696, in main
    rv = self.invoke(ctx)
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 534, in invoke
    return callback(*args, **kwargs)
    File “/home/frappe/bench-repo/bench/commands/update.py”, line 60, in update
    _update(pull, patch, build, bench, auto, restart_supervisor, requirements, no_backup, upgrade, force=force)
    File “/home/frappe/bench-repo/bench/commands/update.py”, line 76, in _update
    pull_all_apps(bench_path=bench_path)
    File “/home/frappe/bench-repo/bench/app.py”, line 121, in pull_all_apps
    remote=remote, branch=get_current_branch(app, bench_path=bench_path)), cwd=app_dir)
    File “/home/frappe/bench-repo/bench/utils.py”, line 88, in exec_cmd
    raise CommandFailedError(cmd)
    bench.utils.CommandFailedError: git pull upstream develop

@FBM

It seems your local repo is not clean.

goto frappe-bench/app/frappe and execute git status command and post output here.