PSiTransfer – A Simple Open Source Self-hosted File Sharing Solution

PSiTransfer - A Simple Open Source Self-hosted File Sharing Solution

2 Responses

  1. Christoph Psi says:

    Thanks for spreading my tool!
    PS: You can configure the retention periods 🙂

  2. William says:

    This did not work for me on ArchLinux what I did in my terminal is posted below.

    [[email protected] ~]$ wget https://github.com/psi-4ward/psitransfer/releases/download/1.2.0/psitransfer-1.2.0.tar.gz
    –2018-05-01 07:32:28– https://github.com/psi-4ward/psitransfer/releases/download/1.2.0/psitransfer-1.2.0.tar.gz
    Loaded CA certificate ‘/etc/ssl/certs/ca-certificates.crt’
    Resolving github.com (github.com)… 192.30.253.112, 192.30.253.113
    Connecting to github.com (github.com)|192.30.253.112|:443… connected.
    HTTP request sent, awaiting response… 302 Found
    Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/89137502/dee393f4-6fde-11e7-8cda-11f36cc6f010?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180501%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180501T053232Z&X-Amz-Expires=300&X-Amz-Signature=0ba45894d4b1166db66de4e221ffc0a048314659e1ff858b308c0dbdc674eae3&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dpsitransfer-1.2.0.tar.gz&response-content-type=application%2Foctet-stream [following]
    –2018-05-01 07:32:32– https://github-production-release-asset-2e65be.s3.amazonaws.com/89137502/dee393f4-6fde-11e7-8cda-11f36cc6f010?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180501%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180501T053232Z&X-Amz-Expires=300&X-Amz-Signature=0ba45894d4b1166db66de4e221ffc0a048314659e1ff858b308c0dbdc674eae3&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dpsitransfer-1.2.0.tar.gz&response-content-type=application%2Foctet-stream
    Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)… 52.216.21.211
    Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.21.211|:443… connected.
    HTTP request sent, awaiting response… 200 OK
    Length: 1386452 (1.3M) [application/octet-stream]
    Saving to: ‘psitransfer-1.2.0.tar.gz’

    psitransfer-1.2.0.t 100%[===================>] 1.32M 321KB/s in 4.8s

    2018-05-01 07:32:39 (282 KB/s) – ‘psitransfer-1.2.0.tar.gz’ saved [1386452/1386452]

    [[email protected] ~]$ tar zxvf psitransfer-1.2.0.tar.gz
    psitransfer-1/LICENSE
    psitransfer-1/README.md
    psitransfer-1/Dockerfile
    psitransfer-1/.dockerignore
    psitransfer-1/app.js
    psitransfer-1/config.js
    psitransfer-1/package.json
    psitransfer-1/docs/
    psitransfer-1/docs/layout-customization.md
    psitransfer-1/docs/psitransfer.service
    psitransfer-1/docs/PsiTransfer-Admin.png
    psitransfer-1/docs/configuration.md
    psitransfer-1/docs/psitransfer.gif
    psitransfer-1/docs/deployment-systemd.md
    psitransfer-1/docs/nginx-ssl-example.conf
    psitransfer-1/docs/deployment-docker.md
    psitransfer-1/lib/
    psitransfer-1/lib/endpoints.js
    psitransfer-1/lib/store.js
    psitransfer-1/lib/db.js
    psitransfer-1/public/
    psitransfer-1/public/assets/
    psitransfer-1/public/assets/styles.css
    psitransfer-1/public/assets/favicon.ico
    psitransfer-1/public/assets/babel-polyfill.js
    psitransfer-1/public/assets/polyfill.js
    psitransfer-1/public/app/
    psitransfer-1/public/app/admin.js.map
    psitransfer-1/public/app/common.js
    psitransfer-1/public/app/admin.js
    psitransfer-1/public/app/download.js
    psitransfer-1/public/app/download.js.map
    psitransfer-1/public/app/.gitignore
    psitransfer-1/public/app/common.js.map
    psitransfer-1/public/app/upload.js.map
    psitransfer-1/public/app/upload.js
    psitransfer-1/public/robots.txt
    psitransfer-1/public/html/
    psitransfer-1/public/html/download.html
    psitransfer-1/public/html/admin.html
    psitransfer-1/public/html/error.htmlbash: npm: command not found

    psitransfer-1/public/html/upload.html
    [[email protected] ~]$ cd psitransfer-1/
    [[email protected] psitransfer-1]$ NODE_ENV=production npm install

    [[email protected] ~]$ sudo pacman -S npm
    [sudo] password for wgparch:
    resolving dependencies…
    looking for conflicting packages…

    Packages (6) c-ares-1.13.0-1 http-parser-2.8.1-1 node-gyp-3.6.2-1
    nodejs-10.0.0-1 semver-5.5.0-1 npm-6.0.0-1

    Total Download Size: 9.63 MiB
    Total Installed Size: 52.70 MiB

    :: Proceed with installation? [Y/n] y
    :: Retrieving packages…
    c-ares-1.13.0-1-x86_64 103.2 KiB 202K/s 00:01 [######################] 100%
    http-parser-2.8.1-1… 19.1 KiB 1910K/s 00:00 [######################] 100%
    nodejs-10.0.0-1-x86_64 4.9 MiB 485K/s 00:10 [######################] 100%
    semver-5.5.0-1-any 17.2 KiB 1321K/s 00:00 [######################] 100%
    node-gyp-3.6.2-1-any 1339.1 KiB 363K/s 00:04 [######################] 100%
    npm-6.0.0-1-any 3.2 MiB 473K/s 00:07 [######################] 100%
    (6/6) checking keys in keyring [######################] 100%
    (6/6) checking package integrity [######################] 100%
    (6/6) loading package files [######################] 100%
    (6/6) checking for file conflicts [######################] 100%
    (6/6) checking available disk space [######################] 100%
    :: Processing package changes…
    (1/6) installing http-parser [######################] 100%
    (2/6) installing c-ares [######################] 100%
    (3/6) installing nodejs [######################] 100%
    Optional dependencies for nodejs
    npm: nodejs package manager [pending]
    (4/6) installing semver [######################] 100%
    (5/6) installing node-gyp [######################] 100%
    (6/6) installing npm [######################] 100%
    :: Running post-transaction hooks…
    (1/1) Arming ConditionNeedsUpdate…
    [[email protected] ~]$ cd psitransfer-1/
    [[email protected] psitransfer-1]$ NODE_ENV=production npm install
    npm WARN deprecated [email protected]: Use mz or fs-extra^3.0 with Promise Support
    npm notice created a lockfile as package-lock.json. You should commit this file.
    added 146 packages from 92 contributors in 13.919s
    [[email protected] psitransfer-1]$ cd
    [[email protected] ~]$ npm start
    npm ERR! path /home/wgparch/package.json
    npm ERR! code ENOENT
    npm ERR! errno -2
    npm ERR! syscall open
    npm ERR! enoent ENOENT: no such file or directory, open ‘/home/wgparch/package.json’
    npm ERR! enoent This is related to npm not being able to find a file.
    npm ERR! enoent

    npm ERR! A complete log of this run can be found in:
    npm ERR! /home/wgparch/.npm/_logs/2018-05-01T05_42_11_567Z-debug.log
    [[email protected] ~]$

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.