flipside-org / incendios

The main repo for the Incêndios project.
http://www.incendios.pt
0 stars 0 forks source link

Server and file download #138

Open danielfdsilva opened 11 years ago

danielfdsilva commented 11 years ago

I tried to deploy incendios and came across some problems:

Node version:

daniel@raphael:/var/www/stage$ node -v
v0.10.15

Deployment went well but when I tried to download a the data (http://new-stage.incendios.pt/pt/download/14) it throws the following error in the console (browser throws 503):

File "/var/www/stage/app/files/14_santarem_pt.csv" does not exist. Creating.
(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.
(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.
(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.
(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.
(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.

(... It goes on)

I tried to update node to the newest stable release using the method described at: http://davidwalsh.name/upgrade-nodejs

The update apparently went well but if I run $node -v it still says that the version is v0.10.15

To actually get the new version I've to run:

daniel@raphael:/var/www/stage$ /usr/local/bin/node -v
v0.10.19

Anyway, even if I run the app with the new node the error persists. Just for the record, on my machine I have node v0.10.19 and it works great.