jycob
March 19, 2018, 6:50pm
#1
hi
I know this is a very common question and has been asked and answered so many times but unfortunately am not gettin the answer am looking for from those previous threads.
I installed erpnext at ubuntu 16.04 and am having one problem… cant seem to access the frappe-bench folder.
every time I try the response is there is no such … directory…
how do i go about this?
Be specific!!! What is this response you say?
jycob
March 19, 2018, 7:08pm
#3
jycob:
frappe-bench
newuser@Amnotgivingup:~$ frappe-bench
frappe-bench: command not found
newuser@Amnotgivingup:~$
that the response i get or what am I doing wrong?
Hi @jycob ,
try this
$ cd /home/frappe/frappe-bench
$ bench backup
or whatever function you want to run with bench. I am assuming you have installed using the easy install?
1 Like
jycob
March 19, 2018, 7:15pm
#5
lasalesi:
bench backup
yes I installed using easy install
and, does it work now? Or what exactly do you want to do?
jycob
March 19, 2018, 7:31pm
#7
am trying to do restore from my backup file which is “mydomain.com/backup//20180319_174026-site1_local-database.sql.gz ”
i get this error >>HTTP request sent, awaiting response… 403 FORBIDDEN
Remote file does not exist – broken link!!!
how do i resolve this am using this command >>> cd tmp
[database backup file]
So you are running
bench restore sites/mydomain.com/private/backups/20180319_174026-site1_local-database.sql.gz
Note the modifications to the path in case of a standard installation, make sure the file exists and have your DB password ready…
@jycob
If you want to switch to frappe-bench folder
Then you should use change directory command:
newuser@Amnotgivingup:~$ cd frappe-bench
Hope this helps.