Help with Updating bench

try

sudo chmod 666 /home/frappe/frappe-bench/logs/bench.log

1 Like

try it again

my first post was wrong
sudo chmod 666 /home.frappe/frappe-bench/logs/bench.log

use this
sudo chmod 666 /home/frappe/frappe-bench/logs/bench.log

Thanks Claily

but nothing happen i got returned to the directory

You need to bench update again

You have permission problem on your files

the command earlier gives permission to
bench.log

Now you have problems with patches.txt
using this command will also fix the permission for that file

sudo chmod 666 /home/frappe/frappe-bench/patches.txt

or you could try

chmod -R 666 /home/frappe/frappe-bench
this will give permissions to frappe-bench diectory

Great Claily, here is another error message

This post will help you on this

Thank you Claily

I seem to have permission issue all over and i am trying to run this script from the recommended post but i am stuck

#!/bin/bash
chown -R frappe:frappe /home/frappe/.bench
chown -R frappe:frappe /home/frappe/frappe-bench/apps/frappe
chown -R frappe:frappe /home/frappe/frappe-bench/apps/erpnext
cd /home/frappe/frappe-bench
bench update

Hey Claily

Hoping to hear from you…

Warm regards

Hi , @EnSeal ,

Try cd frappe-bench then bench update

Thanks Ragav

See error. what should i do?

Hi,

Have you tried running these commands, what is the output when you ran these commands.

#!/bin/bash

chown -R frappe:frappe /home/frappe/.bench

chown -R frappe:frappe /home/frappe/frappe-bench/apps/frappe

chown -R frappe:frappe /home/frappe/frappe-bench/apps/erpnext

cd /home/frappe/frappe-bench

bench update

Hi Claily

Yes i did, and i have just tried again now with same error below

try to login as root

and run those commands again

Hey Claily

What do i do from here…

enter anything above (maybe “hello” or anything) .
Then Save and Exit

Ctrl + O to Save
Ctrl + X to Exit