GithubHelp home page GithubHelp logo

photobackup / server-node Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 3.0 28 KB

The NodeJS PhotoBackup server implementation

Home Page: https://photobackup.github.io/

License: GNU General Public License v2.0

JavaScript 100.00%

server-node's People

Contributors

stephanepechard avatar vfilatov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

server-node's Issues

Crashes on init

I keep getting this error when trying to init. It doesn't matter what password I type in, there's always an out of range error, with the numbers being different.

$ photobackup init
? The directory where to put the pictures (should be writable by the server you use): /some/path
? Owner of the directory: nobody
? The server password: **************
readline.js:1032
            throw err;
            ^

RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 10. Received 12
    at boundsError (internal/buffer.js:53:9)
    at Buffer.readUInt32BE (internal/buffer.js:196:5)
    at Function.WordArray.fromBuffer (/usr/lib/node_modules/photobackup/node_modules/sha512/lib/word-array.js:95:19)
    at subtype.init.finalize (/usr/lib/node_modules/photobackup/node_modules/sha512/lib/cryptojs.js:273:33)
    at /usr/lib/node_modules/photobackup/node_modules/sha512/lib/cryptojs.js:300:35
    at module.exports.completed (/usr/lib/node_modules/photobackup/init.js:57:33)
    at module.exports.PromptUI.onCompletion (/usr/lib/node_modules/photobackup/node_modules/inquirer/lib/ui/prompt.js:56:10)
    at AnonymousObserver.Rx.AnonymousObserver.AnonymousObserver.completed (/usr/lib/node_modules/photobackup/node_modules/rx-lite/rx.lite.js:1826:12)
    at AnonymousObserver.Rx.internals.AbstractObserver.AbstractObserver.onCompleted (/usr/lib/node_modules/photobackup/node_modules/rx-lite/rx.lite.js:1763:14)
    at AnonymousObserver.tryCatcher (/usr/lib/node_modules/photobackup/node_modules/rx-lite/rx.lite.js:537:29)

Node 10.15.0, Debian Stretch.

Any tips to install this on freebsd in a jail?

Trying to install it into a jail on freenas (runs freebsd) and I have a couple of other things running there but I get this while trying to install:

Any tips or help?

npm install photobackup
/
`-- [email protected]

npm WARN enoent ENOENT: no such file or directory, open '/package.json'
npm WARN !invalid#1 No description
npm WARN !invalid#1 No repository field.
npm WARN !invalid#1 No README data
npm WARN !invalid#1 No license field.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.