Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessing old uploaded files cause error #18

Closed
rasos opened this issue Jul 11, 2015 · 1 comment
Closed

Accessing old uploaded files cause error #18

rasos opened this issue Jul 11, 2015 · 1 comment

Comments

@rasos
Copy link

rasos commented Jul 11, 2015

We've done an upgrade to latest EP 1.5.6 and reinstalled all plugins. When you try to access a file, which has been uploaded before the update, the file is not accessible anymore.
The user gets a {"error":"Sorry, something bad happened!"}
Logfile: [2015-07-11 15:19:37.102] [ERROR] console - Error: ENOENT, stat '/opt/etherpad-lite/node_modules/ep_fileupload/upload/6a7b1b3bb79165f900ceb749c8d3889f.jpg'
at Error (native)
Has it something to do with the newly introduced relative addressing of files in ep_fileupload?
Here you can see the different behaviour: http://board.net/p/testboard2

@rasos
Copy link
Author

rasos commented Jul 11, 2015

Found out, that the target directory is not a setting in settings.json and was a link to a data directory, which was overwritten by the fresh install and which I had to establish again:
root@mymachine:/opt/etherpad-lite/node_modules/ep_fileupload# ln -s /nfsdatadir/etherpad-lite/upload/ upload

Fixed.

@rasos rasos closed this as completed Jul 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant