Can't finish "Your system is being updated. Please refresh again after a few moments"

Screenshot%20from%202019-11-04%2013-43-09

website_theme.css:1 Failed to load resource: the server responded with a status of 503 (SERVICE UNAVAILABLE)
website_script.js:1 Failed to load resource: the server responded with a status of 503 (SERVICE UNAVAILABLE)
2(index):1 Failed to load resource: the server responded with a status of 503 (SERVICE UNAVAILABLE)
website_theme.css:1 Failed to load resource: the server responded with a status of 503 (SERVICE UNAVAILABLE)

bench migrate

Probably migration is failing for some reason

website_theme.css:1 Failed to load resource: the server responded with a status of 503 (SERVICE UNAVAILABLE)
website_script.js:1 Failed to load resource: the server responded with a status of 503 (SERVICE UNAVAILABLE)
2(index):1 Failed to load resource: the server responded with a status of 503 (SERVICE UNAVAILABLE)
website_theme.css:1 Failed to load resource: the server responded with a status of 503 (SERVICE UNAVAILABLE)

bench build

again same problem after bench build

bench set-maintenance-mode off

Also restart bench and supervisor

1 Like

again same problem

Let’s clarify, what is the current error you receive ?

As which user did you install, and as which user are you updating? Looks like a permissions problem on some of the files, so you would probably have to do something like this…

sudo chown -R FrappeUserThatYouCreated:FrappeGroupOfThatUser /path/to/frappe/installation

now i face this problem “redis_socketio.1 stopped”

Try this…

sudo supervisorctl stop all
sleep 10
sudo killall -9 redis-server
sudo supervisorctl start all

xit, bye bye…
10:41:21 system | redis_cache.1 stopped (rc=-15)
no changed

In some of my case experiences, I had to restart supervisor several times.

@Kamrul.Hasan Try these commands:

bench set-maintenance-mode off
bench --site your-site set-maintenance-mode off
3 Likes

Keep bench start on one tab and try bench migrate && bench build on another tab

Error: No such command “build”.

Please run this command at your_project/frappe-bench path

~/frappe-bench$ bench build
Usage: bench [OPTIONS] COMMAND [ARGS]…
Try “bench --help” for help.

Error: No such command “build”.

post your whole command path

I just had a similar problem. Fix described here: