@Irvan_Sandoval check your javascript.
i use
ERPNext: v8.11.4 (master)
Frappe Framework: v8.10.8 (master)
i dont get the error.
@Irvan_Sandoval check your javascript.
i use
ERPNext: v8.11.4 (master)
Frappe Framework: v8.10.8 (master)
i dont get the error.
there is nothing wrong in java script, in developer console too.
i can’t pinpoint this error.
but when i use upload from external web link, it’s work
@Irvan_Sandoval it seems you do not have socketio setup. In the latest develop
release we have used socketio to upload files.
Try adding socketio to your bench start and it should work! Generally we are making node + socket more first class and you should always have that running.
I will make it optional and allow upload using the older system too. Will push a fix later today.
See the Procfile
in your frappe-bench folder
Hi same problem here
ERPNext: v8.x.x-beta (6960a76) (develop)
Frappe Framework: v8.x.x-beta (80679f1) (develop)
Is My Procfile correct?
redis_cache: redis-server config/redis_cache.conf
redis_socketio: redis-server config/redis_socketio.conf
redis_queue: redis-server config/redis_queue.conf
web: bench serve --port 8001socketio: /usr/bin/node apps/frappe/socketio.js
watch: bench watch
schedule: bench schedule
worker_short: bench worker --queue short
worker_long: bench worker --queue long
worker_default: bench worker --queue default
Working now. Just switch Frappe to Master
Frappe Framework: v8.10.8 (master)
Yes it should work. Maybe just stop and start bench once again in develop?
haven’t tried it in develop. Will do so far its working fine on master
Yes, i try to install to master with production setup, it works.
But using develop it didn’t work, even i try in 3 different server and OS, it still didn’t work.
Same problem is observed by me.
I manually checked the changes done by [minor] fallback to file upload #4151 and found all correction are available. I also checked the procfile and found all correct entries but in development mode it doesn’t work.
redis_cache: redis-server config/redis_cache.conf
redis_socketio: redis-server config/redis_socketio.conf
redis_queue: redis-server config/redis_queue.conf
web: bench serve --port 8001
socketio: /usr/bin/node apps/frappe/socketio.js
watch: bench watch
schedule: bench schedule
worker_short: bench worker --queue short
worker_long: bench worker --queue long
worker_default: bench worker --queue default
=================
I am using Frappe version 9.0.0 and Erpnext version 9.0.0. and Ubuntu 16.04.3 LTS.
Please suggest if there is a solution as I need to load some test data using Import Export Tool.
Please wait for it to be merged.
Has this been merged?
I’m still experiencing the same problem:
Is there a work-around?
Regards,
Chude
I am also facing similar issues with
$ bench version
erpnext 9.0.6
frappe 9.0.8
Same problem
I was working on
After reading some post I tried to switch to master using:
bench switch-to-master
but it asked me to execute:
bench switch-to-master --upgrade
and then:
bench update --patch
Now the version is:
File Upload Disconnected. Please try again.
No error in the Javascript Console, neither on bench output.
I drilled down this issue by putting a console.log at frappe/socketio.js and found that the uploader is looking for /sites/<domain_name>/private/filename. In my case the error log showed:
11:02:23 socketio.1 | { Error: ENOENT: no such file or directory, open ‘sites/localhost/private/files/BR031017.txt’
11:02:23 socketio.1 | errno: -2,
11:02:23 socketio.1 | code: ‘ENOENT’,
11:02:23 socketio.1 | syscall: ‘open’,
11:02:23 socketio.1 | path: ‘sites/localhost/private/files/BR031017.txt’ }
Here, my site name is not “localhost”, I was able to bypass this error by putting my site name is my system hosts file and map it to 127.0.0.1. Then when I opened my site using <my_site_name>:8000 and did file upload, it worked fine.
This can also be recreated on the demo site in Upload Attendance section, by uploading attendance template there.