-
Notifications
You must be signed in to change notification settings - Fork 28
Error while uploading of pieces to local installation #2
Comments
Hello ADMIN_MAIL IMAGER_S3_BUCKET e.g. mytabloro IMAGER_S3_KEY IMAGER_S3_SECRET MONGOHQ_URL e.g. mongodb://heroku_app... MONGOLAB_URI e.g. mongodb://heroku_.... NODE_ENV e.g. production NODE_PATH e.g. ./config:./app/controllers:./lib PORT e.g. 80 |
Thanks a lot for the response! :) I have added the environment variables in a startup script before launching the server (the mongodb ones I omitted since I am using a local mongodb server in the default port), e.g.,
... and now when I upload a game piece I see a message saying that it successfully created the piece, BUT it does not show it onscreen (and indeed, the S3 bucket remains empty). I attach the output of the javascript console after the creation, in case it is useful (basically, it is making hundreds of failed requests for the image). localhost-1466178899102.log.zip Any idea of what can be going wrong, or where to look for further logs about the upload process? also, is there any way to setup a local Tabloro server that does not rely on S3? PS: if you find it useful, I could document the installation process of a local server in the README file of the project (once I get it to work) ;) |
Update: Playing around, I have noticed that the URL that tabloro tries to GET for the images ( Does this have anything to do with the upload seemingly failing? Does the S3 bucket have to be setup in any special way (e.g., permissions, etc.)? Thanks! |
OK, I think I got it, the bucket has to be created in the "us-standard" region for imager to work, see madhums/node-imager#77 (Probably this should be said somewhere in some README... not sure if imager or tabloro's) |
Yes, sorry there is this bug with US buckets |
Hi there,
I am trying to run a local Tabloro server, and everything seems to work fine, until I try to upload a game piece, which invariably leads to an alert saying simply "error".
Running in Ubuntu 14.04 with node v6.2.1 , npm v3.9.3 , mongod v2.4.9 . The output of npm is:
Here is the npm debug file, in case it is useful...
npm-debug.log.tar.gz
The text was updated successfully, but these errors were encountered: