Your IP : 216.73.216.48


Current Path : /hdd/hdd21/my5/backup/my5-backend/
Upload File :
Current File : /hdd/hdd21/my5/backup/my5-backend/screenlog.0

root@darkstar:/hdd/hdd21/my5/git/my5-backend# node src/main.js 
node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by node)
node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by node)
node: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by node)
root@darkstar:/hdd/hdd21/my5/git/my5-backend# nano /scripts/node.sh  
(B)0[?1049h[?25h[?1h=[?1h=[?1h=  GNU nano 2.3.2                                                     File: /scripts/node.sh                                                                                                                 #!/bin/sh
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib64
sleep 1
/bin/node $1 > /hdd/hdd21/1.log & /bin/node $2 > /hdd/hdd21/2.log &[ Read 4 lines ]
^G Get Help^O WriteOut^R Read File^Y Prev Page^K Cut Text^C Cur Pos
^X Exit^J Justify^W Where Is^V Next Page^U UnCut Text^T To Spell
[?1049l
[?1l>root@darkstar:/hdd/hdd21/my5/git/my5-backend# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib64
root@darkstar:/hdd/hdd21/my5/git/my5-backend# ls -la] 
total 364
drwxr-xr-x   6 my5  my5    4096 Feb 16 23:26 .
drwxr-xr-x   4 my5  my5    4096 Feb 13 23:04 ..
-rw-r--r--   1 my5  my5     237 Feb 14 01:03 .env
drwxr-xr-x   8 my5  my5    4096 Feb 13 23:04 .git
-rw-r--r--   1 my5  my5      27 Feb 13 23:04 .gitignore
-rw-r--r--   1 my5  my5     124 Feb 13 23:04 .prettierrc
-rw-r--r--   1 my5  my5     254 Feb 13 23:29 database.json
-rw-r--r--   1 my5  my5     662 Feb 13 23:04 db
-rw-r--r--   1 my5  my5    1188 Feb 13 23:04 fill_db.js
-rw-r--r--   1 my5  my5     492 Feb 13 23:04 jwtPrivate.key
-rw-r--r--   1 my5  my5     181 Feb 13 23:04 jwtPublic.key
drwxr-xr-x   2 my5  my5    4096 Feb 13 23:04 migrations
-rwxr-xr-x   1 my5  my5      66 Feb 13 23:12 node.sh
drwxr-xr-x 639 my5  my5   20480 Feb 13 23:15 node_modules
-rw-r--r--   1 my5  my5  280611 Feb 13 23:15 package-lock.json
-rw-r--r--   1 my5  my5    1228 Feb 13 23:04 package.json
-rw-r--r--   1 root root   1500 Feb 16 23:26 screenlog.0
drwxr-xr-x   6 my5  my5    4096 Feb 14 00:56 src
-rw-r--r--   1 my5  my5     147 Feb 13 23:04 tmp.js
root@darkstar:/hdd/hdd21/my5/git/my5-backend# node src/main.js 
Listening on port 13255
^C
root@darkstar:/hdd/hdd21/my5/git/my5-backend# su my5
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ node ma  src/main.js 
Listening on port 13255
events.js:173
      throw er; // Unhandled 'error' event
      ^

Error: Connection lost: The server closed the connection.
    at Protocol.end (/hdd/hdd21/my5/git/my5-backend/node_modules/mysql/lib/protocol/Protocol.js:112:13)
    at Socket.<anonymous> (/hdd/hdd21/my5/git/my5-backend/node_modules/mysql/lib/Connection.js:97:28)
    at Socket.<anonymous> (/hdd/hdd21/my5/git/my5-backend/node_modules/mysql/lib/Connection.js:502:10)
    at Socket.emit (events.js:193:15)
    at endReadableNT (_stream_readable.js:1129:12)
    at process.internalTickCallback (internal/process/next_tick.js:72:19)
Emitted 'error' event at:
    at Connection._handleProtocolError (/hdd/hdd21/my5/git/my5-backend/node_modules/mysql/lib/Connection.js:425:8)
    at Protocol.emit (events.js:188:13)
    at Protocol._delegateError (/hdd/hdd21/my5/git/my5-backend/node_modules/mysql/lib/protocol/Protocol.js:390:10)
    at Protocol.end (/hdd/hdd21/my5/git/my5-backend/node_modules/mysql/lib/protocol/Protocol.js:116:8)
    at Socket.<anonymous> (/hdd/hdd21/my5/git/my5-backend/node_modules/mysql/lib/Connection.js:97:28)
    [... lines matching original stack trace ...]
    at process.internalTickCallback (internal/process/next_tick.js:72:19)
You have new mail in /var/spool/mail/root
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ git status
# On branch master
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#	modified:   .env
#	modified:   package-lock.json
#	modified:   src/db.js
#	modified:   src/main.js
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#	node.sh
#	screenlog.0
no changes added to commit (use "git add" and/or "git commit -a")
You have new mail in /var/spool/mail/root
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ git pull^C
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ git diff
[?1049h[?1h=
ESC[1mdiff --git a/.env b/.envESC[m
ESC[1mindex d57c849..036425d 100644ESC[m
ESC[1m--- a/.envESC[m
ESC[1m+++ b/.envESC[m
ESC[36m@@ -1,13 +1,11 @@ESC[m
ESC[31m-PORT=3000ESC[m
ESC[31m-DB_NAME=my5ESC[m
ESC[31m-DB_USERNAME=rootESC[m
ESC[32m+ESC[mESC[32mPORT=13255ESC[m
ESC[32m+ESC[mESC[32mDB_NAME=my5_my5ESC[m
ESC[32m+ESC[mESC[32mDB_USERNAME=my5ESC[m
 DB_HOST=localhostESC[m
ESC[31m-DB_PASSWORD=ESC[m
ESC[32m+ESC[mESC[32mDB_PASSWORD=12345ESC[m
 DB_PORT=3306ESC[m
ESC[31m-ESC[m
 JWT_ISSUER=My5ESC[m
ESC[31m-JWT_AUDIENCE=http://localhost:3000ESC[m
ESC[32m+ESC[mESC[32mJWT_AUDIENCE=https://enter.vlevski.eu/ESC[m
 JWT_EXPIRY=12hESC[m
ESC[31m-ESC[m
 #Upload directory (relative to src/main.js)ESC[m
ESC[31m-FILE_UPLOAD_DIR=../uploads ESC[m
\ No newline at end of fileESC[m
ESC[32m+ESC[mESC[32mFILE_UPLOAD_DIR=../../../uploadsESC[m
\ No newline at end of fileESC[m
ESC[1mdiff --git a/package-lock.json b/package-lock.jsonESC[m
ESC[1mindex 2c09246..dd91bd5 100644ESC[m
ESC[1m--- a/package-lock.jsonESC[m
ESC[1m+++ b/package-lock.jsonESC[m
ESC[36m@@ -3108,11 +3108,13 @@ESC[m
         },ESC[m
         "balanced-match": {ESC[m
           "version": "1.0.0",ESC[m
lines 1-34
lines 1-34
lines 1-34
 ^X^Xqq
lines 1-34
 ::qq
[?1l>[?1049l
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ git status
# On branch master
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#	modified:   .env
#	modified:   package-lock.json
#	modified:   src/db.js
#	modified:   src/main.js
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#	node.sh
#	screenlog.0
no changes added to commit (use "git add" and/or "git commit -a")
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ git     nano src/db.js 
(B)0[?1049h[?25h[?1h=[?1h=[?1h=  GNU nano 2.3.2                                     File: src/db.js                                                                                const mysql = require('mysql');
const dotenv = require('dotenv');
dotenv.config();
const db = mysql.createConnection({host: process.env.DB_HOST,database: process.env.DB_NAME,user: process.env.DB_USERNAME,password: process.env.DB_PASSWORD,port: process.env.DB_PORT,socketPath: '/var/run/mysql/mysql.sock'
})
module.exports = db;[ Read 14 lines ]
^G Get Help^O WriteOut^R Read File^Y Prev Page^K Cut Text^C Cur Pos
^X Exit^J Justify^W Where Is^V Next Page^U UnCut Text^T To Spell
[?1049l
[?1l>my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ di git      git diff
[?1049h[?1h=
ESC[1mdiff --git a/.env b/.envESC[m
ESC[1mindex d57c849..036425d 100644ESC[m
ESC[1m--- a/.envESC[m
ESC[1m+++ b/.envESC[m
ESC[36m@@ -1,13 +1,11 @@ESC[m
ESC[31m-PORT=3000ESC[m
ESC[31m-DB_NAME=my5ESC[m
ESC[31m-DB_USERNAME=rootESC[m
ESC[32m+ESC[mESC[32mPORT=13255ESC[m
ESC[32m+ESC[mESC[32mDB_NAME=my5_my5ESC[m
ESC[32m+ESC[mESC[32mDB_USERNAME=my5ESC[m
 DB_HOST=localhostESC[m
ESC[31m-DB_PASSWORD=ESC[m
ESC[32m+ESC[mESC[32mDB_PASSWORD=12345ESC[m
 DB_PORT=3306ESC[m
ESC[31m-ESC[m
 JWT_ISSUER=My5ESC[m
ESC[31m-JWT_AUDIENCE=http://localhost:3000ESC[m
ESC[32m+ESC[mESC[32mJWT_AUDIENCE=https://enter.vlevski.eu/ESC[m
 JWT_EXPIRY=12hESC[m
ESC[31m-ESC[m
 #Upload directory (relative to src/main.js)ESC[m
ESC[31m-FILE_UPLOAD_DIR=../uploads ESC[m
\ No newline at end of fileESC[m
ESC[32m+ESC[mESC[32mFILE_UPLOAD_DIR=../../../uploadsESC[m
\ No newline at end of fileESC[m
ESC[1mdiff --git a/package-lock.json b/package-lock.jsonESC[m
ESC[1mindex 2c09246..dd91bd5 100644ESC[m
ESC[1m--- a/package-lock.jsonESC[m
ESC[1m+++ b/package-lock.jsonESC[m
ESC[36m@@ -3108,11 +3108,13 @@ESC[m
         },ESC[m
         "balanced-match": {ESC[m
           "version": "1.0.0",ESC[m
lines 1-34
[?1l>[?1049lmy5@darkstar:/hdd/hdd21/my5/git/my5-backend$ git status
# On branch master
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#	modified:   .env
#	modified:   package-lock.json
#	modified:   src/db.js
#	modified:   src/main.js
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#	node.sh
#	screenlog.0
no changes added to commit (use "git add" and/or "git commit -a")
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ git     nano src/main.js 
(B)0[?1049h[?25h[?1h=[?1h=[?1h=  GNU nano 2.3.2                                    File: src/main.js                                                                               process.chdir(__dirname+'/..');
const express = require('express');
const dotenv = require('dotenv');
const graphqlHttp = require('express-graphql');
const fs = require('fs');
const busboy = require('connect-busboy')
const authMiddleware = require('./authMiddleware');
const rootQuery = require('./schemas/schema');
const login = require('./login');
const fileUpload = require('./fileUpload');
dotenv.config();
const app = express();
const port = process.env.PORT;
app.use(busboy());
app.use(express.json());
app.use(require('cors')())
app.use('/graphql',
authMiddleware,
graphqlHttp({schema: rootQuery,graphiql: true
}))
// app.use();
app.get('/', (req, res) => {res.send('Hello world!');
});[ Read 49 lines ]
^G Get Help^O WriteOut^R Read File^Y Prev Page^K Cut Text^C Cur Pos
^X Exit^J Justify^W Where Is^V Next Page^U UnCut Text^T To Spell
[?1049l
[?1l>my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ git status
# On branch master
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#	modified:   .env
#	modified:   package-lock.json
#	modified:   src/db.js
#	modified:   src/main.js
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#	node.sh
#	screenlog.0
no changes added to commit (use "git add" and/or "git commit -a")
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ git pu      mv    mv .env . en  .env.bak
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ git pull
Username for 'https://gitlab.com': mar   MartiParti
Password for 'https://MartiParti@gitlab.com': 
remote: Enumerating objects: 34, done.
remote: Counting objects:   2% (1/34)   
remote: Counting objects:   5% (2/34)   
remote: Counting objects:   8% (3/34)   
remote: Counting objects:  11% (4/34)   
remote: Counting objects:  14% (5/34)   
remote: Counting objects:  17% (6/34)   
remote: Counting objects:  20% (7/34)   
remote: Counting objects:  23% (8/34)   
remote: Counting objects:  26% (9/34)   
remote: Counting objects:  29% (10/34)   
remote: Counting objects:  32% (11/34)   
remote: Counting objects:  35% (12/34)   
remote: Counting objects:  38% (13/34)   
remote: Counting objects:  41% (14/34)   
remote: Counting objects:  44% (15/34)   
remote: Counting objects:  47% (16/34)   
remote: Counting objects:  50% (17/34)   
remote: Counting objects:  52% (18/34)   
remote: Counting objects:  55% (19/34)   
remote: Counting objects:  58% (20/34)   
remote: Counting objects:  61% (21/34)   
remote: Counting objects:  64% (22/34)   
remote: Counting objects:  67% (23/34)   
remote: Counting objects:  70% (24/34)   
remote: Counting objects:  73% (25/34)   
remote: Counting objects:  76% (26/34)   
remote: Counting objects:  79% (27/34)   
remote: Counting objects:  82% (28/34)   
remote: Counting objects:  85% (29/34)   
remote: Counting objects:  88% (30/34)   
remote: Counting objects:  91% (31/34)   
remote: Counting objects:  94% (32/34)   
remote: Counting objects:  97% (33/34)   
remote: Counting objects: 100% (34/34)   
remote: Counting objects: 100% (34/34), done.
remote: Compressing objects:   4% (1/22)   
remote: Compressing objects:   9% (2/22)   
remote: Compressing objects:  13% (3/22)   
remote: Compressing objects:  18% (4/22)   
remote: Compressing objects:  22% (5/22)   
remote: Compressing objects:  27% (6/22)   
remote: Compressing objects:  31% (7/22)   
remote: Compressing objects:  36% (8/22)   
remote: Compressing objects:  40% (9/22)   
remote: Compressing objects:  45% (10/22)   
remote: Compressing objects:  50% (11/22)   
remote: Compressing objects:  54% (12/22)   
remote: Compressing objects:  59% (13/22)   
remote: Compressing objects:  63% (14/22)   
remote: Compressing objects:  68% (15/22)   
remote: Compressing objects:  72% (16/22)   
remote: Compressing objects:  77% (17/22)   
remote: Compressing objects:  81% (18/22)   
remote: Compressing objects:  86% (19/22)   
remote: Compressing objects:  90% (20/22)   
remote: Compressing objects:  95% (21/22)   
remote: Compressing objects: 100% (22/22)   
remote: Compressing objects: 100% (22/22), done.
remote: Total 23 (delta 14), reused 0 (delta 0)
Unpacking objects:   4% (1/23)   
Unpacking objects:   8% (2/23)   
Unpacking objects:  13% (3/23)   
Unpacking objects:  17% (4/23)   
Unpacking objects:  21% (5/23)   
Unpacking objects:  26% (6/23)   
Unpacking objects:  30% (7/23)   
Unpacking objects:  34% (8/23)   
Unpacking objects:  39% (9/23)   
Unpacking objects:  43% (10/23)   
Unpacking objects:  47% (11/23)   
Unpacking objects:  52% (12/23)   
Unpacking objects:  56% (13/23)   
Unpacking objects:  60% (14/23)   
Unpacking objects:  65% (15/23)   
Unpacking objects:  69% (16/23)   
Unpacking objects:  73% (17/23)   
Unpacking objects:  78% (18/23)   
Unpacking objects:  82% (19/23)   
Unpacking objects:  86% (20/23)   
Unpacking objects:  91% (21/23)   
Unpacking objects:  95% (22/23)   
Unpacking objects: 100% (23/23)   
Unpacking objects: 100% (23/23), done.
From https://gitlab.com/MartiParti/my5-backend
   a4d6d78..00593fd  master     -> origin/master
Updating a4d6d78..00593fd
error: Your local changes to the following files would be overwritten by merge:
	src/db.js
	src/main.js
Please, commit your changes or stash them before you can merge.
Aborting
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ git stash

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident name (for <my5@darkstar.(none)>) not allowed
Cannot save the current index state
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ git    it cn onfig --blobal user.email ( "my5@my5.com"
error: unknown option `blobal'
usage: git config [options]

Config file location
    --global              use global config file
    --system              use system config file
    --local               use repository config file
    -f, --file <file>     use given config file
    --blob <blob-id>      read config from given blob object

Action
    --get                 get value: name [value-regex]
    --get-all             get all values: key [value-regex]
    --get-regexp          get values for regexp: name-regex [value-regex]
    --replace-all         replace all matching variables: name value [value_regex]
    --add                 add a new variable: name value
    --unset               remove a variable: name [value-regex]
    --unset-all           remove all matches: name [value-regex]
    --rename-section      rename section: old-name new-name
    --remove-section      remove a section: name
    -l, --list            list all
    -e, --edit            open an editor
    --get-color <slot>    find the color configured: [default]
    --get-colorbool <slot>
                          find the color setting: [stdout-is-tty]

Type
    --bool                value is "true" or "false"
    --int                 value is decimal number
    --bool-or-int         value is --bool or --int
    --path                value is a path (file or directory name)

Other
    -z, --null            terminate values with NUL byte
    --includes            respect include directives on lookup

my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ git config --blobal user.email "my5@my5.com"[1@g
error: could not lock config file /home/my5/.gitconfig: No such file or directory
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ git stash

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident name (for <my5@darkstar.(none)>) not allowed
Cannot save the current index state
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ gt it status
# On branch master
# Your branch is behind 'origin/master' by 5 commits, and can be fast-forwarded.
#   (use "git pull" to update your local branch)
#
# Changes not staged for commit:
#   (use "git add/rm <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#	deleted:    .env
#	modified:   package-lock.json
#	modified:   src/db.js
#	modified:   src/main.js
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#	.env.bak
#	node.sh
#	screenlog.0
no changes added to commit (use "git add" and/or "git commit -a")
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ rm package-lock.json                      git checkout -- .
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ git  p  pull
Username for 'https://gitlab.com': MartiParti
Password for 'https://MartiParti@gitlab.com': 
Updating a4d6d78..00593fd
Fast-forward
 .env                    | 13 -------------
 .gitignore              |  3 ++-
 database.json           |  1 +
 src/db.js               | 43 +++++++++++++++++++++++++++++++++++++++----
 src/fileUpload/cloud.js |  1 -
 src/main.js             |  2 +-
 src/schemas/File.js     | 12 +++---------
 7 files changed, 46 insertions(+), 29 deletions(-)
 delete mode 100644 .env
You have new mail in /var/spool/mail/root
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ git status
# On branch master
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#	.env.bak
#	node.sh
#	screenlog.0
nothing added to commit but untracked files present (use "git add" to track)
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ nano .env.bak 
(B)0[?1049h[?25h[?1h=[?1h=[?1h=  GNU nano 2.3.2                                     File: .env.bak                                                                                 PORT=13255
DB_NAME=my5_my5
DB_USERNAME=my5
DB_HOST=localhost
DB_PASSWORD=12345
DB_PORT=3306
JWT_ISSUER=My5
JWT_AUDIENCE=https://enter.vlevski.eu/
JWT_EXPIRY=12h
#Upload directory (relative to src/main.js)
FILE_UPLOAD_DIR=../../../uploads[ Read 11 lines ]
^G Get Help^O WriteOut^R Read File^Y Prev Page^K Cut Text^C Cur Pos
^X Exit^J Justify^W Where Is^V Next Page^U UnCut Text^T To Spell
[?1049l
[?1l>my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ mv .env.bak m .env
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ nano e .env 
(B)0[?1049h[?25h[?1h=[?1h=[?1h=  GNU nano 2.3.2                                      File: .env                                                                                    PORT=13255
DB_NAME=my5_my5
DB_USERNAME=my5
DB_HOST=localhost
DB_PASSWORD=12345
DB_PORT=3306
JWT_ISSUER=My5
JWT_AUDIENCE=https://enter.vlevski.eu/
JWT_EXPIRY=12h
#Upload directory (relative to src/main.js)
FILE_UPLOAD_DIR=../../../uploads[ Read 11 lines ]
^G Get Help^O WriteOut^R Read File^Y Prev Page^K Cut Text^C Cur Pos
^X Exit^J Justify^W Where Is^V Next Page^U UnCut Text^T To Spell
MM78MModified
M78MMMMMM78MMMDB_SOCKET_PATH='/var/run/mysql/mysql.sock' 
Save modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ?                                                                                         Y Yes
 N No  ^C Cancel
File Name to Write: .env                                    
^G Get HelpM-D DOS FormatM-A AppendM-B Backup File
^C Cancel         M-M Mac FormatM-P Prepend
         [ Wrote 15 lines ][?1049l
[?1l>my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ git status
# On branch master
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#	node.sh
#	screenlog.0
nothing added to commit but untracked files present (use "git add" to track)
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ git     ndoe   ode src/main.js 
Listening on port 13255
^C
You have new mail in /var/spool/mail/root
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ npm start

> my5-backend@1.0.0 start /hdd/hdd21/my5/git/my5-backend
> nodemon src/main.js

[nodemon] 1.18.9
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node src/main.js`
internal/modules/cjs/loader.js:605
    throw err;
    ^

Error: Cannot find module 'multer'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:603:15)
    at Function.Module._load (internal/modules/cjs/loader.js:529:25)
    at Module.require (internal/modules/cjs/loader.js:657:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (/hdd/hdd21/my5/git/my5-backend/src/main.js:12:16)
    at Module._compile (internal/modules/cjs/loader.js:721:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:732:10)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
    at Function.Module._load (internal/modules/cjs/loader.js:552:3)
[nodemon] app crashed - waiting for file changes before starting...
^C
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ p npm install
[?25l[..................] | rollbackFailedOptional: verb npm-session 96e390589500a464
[ .................] | preinstall:my5-backend: info lifecycle my5-backend@1.0.0~preinstall: my5-backend@1.
[ .................] | preinstall:my5-backend: info lifecycle my5-backend@1.0.0~preinstall: my5-backend@1.
[ .................] | preinstall:my5-backend: info lifecycle my5-backend@1.0.0~preinstall: my5-backend@1.
[ .................] | preinstall:my5-backend: info lifecycle my5-backend@1.0.0~preinstall: my5-backend@1.
[ .................] | preinstall:my5-backend: info lifecycle my5-backend@1.0.0~preinstall: my5-backend@1.
[ .................] | preinstall:my5-backend: info lifecycle my5-backend@1.0.0~preinstall: my5-backend@1.
[ .................] | preinstall:my5-backend: info lifecycle my5-backend@1.0.0~preinstall: my5-backend@1.
[ .................] | preinstall:my5-backend: info lifecycle my5-backend@1.0.0~preinstall: my5-backend@1.
[ .................] | preinstall:my5-backend: info lifecycle my5-backend@1.0.0~preinstall: my5-backend@1.
[ .................] | preinstall:my5-backend: info lifecycle my5-backend@1.0.0~preinstall: my5-backend@1.
[ .................] | preinstall:my5-backend: info lifecycle my5-backend@1.0.0~preinstall: my5-backend@1.
[ .................] | preinstall:my5-backend: info lifecycle my5-backend@1.0.0~preinstall: my5-backend@1.
[ .................] | preinstall:my5-backend: info lifecycle my5-backend@1.0.0~preinstall: my5-backend@1.
[ .................] / loadIdealTree:loadAllDepsIntoIdealTree: sill install loadIdealTree
[  ................] \ loadDep:stream-meter: sill install loadAllDepsIntoIdealTree
[  ................] \ loadDep:tunnel-ssh: sill install loadAllDepsIntoIdealTree
[   ...............] \ loadDep:type-is: sill install loadAllDepsIntoIdealTree
[   ...............] \ loadDep:upath: sill install loadAllDepsIntoIdealTree
[   ...............] \ loadDep:isobject: sill install loadAllDepsIntoIdealTree
[   ...............] \ loadDep:remove-trailing-separator: sill install loadAllDepsIntoIdealTree
[    ..............] \ loadDep:widest-line: sill install loadAllDepsIntoIdealTree
[    ..............] \ loadDep:source-map: sill install loadAllDepsIntoIdealTree
[    ..............] \ loadDep:is-extendable: sill install loadAllDepsIntoIdealTree
[    ..............] \ loadDep:babel-types: sill install loadAllDepsIntoIdealTree
[     .............] \ loadDep:yargs: sill install loadAllDepsIntoIdealTree
[     .............] \ loadDep:strip-bom: sill install loadAllDepsIntoIdealTree
[     .............] \ loadDep:wordwrap: sill install loadAllDepsIntoIdealTree
[     .............] \ loadDep:async-limiter: sill install loadAllDepsIntoIdealTree
[     .............] \ loadDep:regex-cache: sill install loadAllDepsIntoIdealTree
[     .............] \ loadDep:strip-ansi: sill install loadAllDepsIntoIdealTree
[       ...........] | diffTrees: sill install generateActionsToTake
[       ...........] | diffTrees: sill install generateActionsToTake
[       ...........] \ postinstall: sill install executeActions

[?25hnpm WARN my5-backend@1.0.0 No description

npm ERR! path /home/my5
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall mkdir
npm ERR! Error: EACCES: permission denied, mkdir '/home/my5'
npm ERR!  { [Error: EACCES: permission denied, mkdir '/home/my5']
npm ERR!   stack: "Error: EACCES: permission denied, mkdir '/home/my5'",
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'mkdir',
npm ERR!   path: '/home/my5' }
npm ERR! 
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR! 
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ ls -la
total 404
drwxr-xr-x   6 my5  my5    4096 Feb 26 00:39 .
drwxr-xr-x   4 my5  my5    4096 Feb 13 23:04 ..
-rw-r--r--   1 my5  my5     282 Feb 19 22:03 .env
drwxr-xr-x   8 my5  my5    4096 Feb 26 00:39 .git
-rw-r--r--   1 my5  my5      32 Feb 19 22:02 .gitignore
-rw-r--r--   1 my5  my5     124 Feb 13 23:04 .prettierrc
-rw-r--r--   1 my5  my5     299 Feb 19 22:02 database.json
-rw-r--r--   1 my5  my5     662 Feb 13 23:04 db
-rw-r--r--   1 my5  my5    1188 Feb 13 23:04 fill_db.js
-rw-r--r--   1 my5  my5     492 Feb 13 23:04 jwtPrivate.key
-rw-r--r--   1 my5  my5     181 Feb 13 23:04 jwtPublic.key
drwxr-xr-x   2 my5  my5    4096 Feb 26 00:39 migrations
-rwxr-xr-x   1 my5  my5      66 Feb 13 23:12 node.sh
drwxr-xr-x 639 my5  my5   20480 Feb 13 23:15 node_modules
-rw-r--r--   1 root root 283181 Feb 26 00:39 package-lock.json
-rw-r--r--   1 root root   1252 Feb 26 00:39 package.json
-rw-r--r--   1 root root  34000 Feb 26 00:41 screenlog.0
drwxr-xr-x   7 my5  my5    4096 Feb 26 00:39 src
-rw-r--r--   1 my5  my5     147 Feb 13 23:04 tmp.js
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ ls -lanpm installstartode src/main.js pm startinstallls -lac npm start

> my5-backend@1.0.0 start /hdd/hdd21/my5/git/my5-backend
> nodemon src/main.js

[nodemon] 1.18.9
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node src/main.js`
Listening on port 13255
TypeError: Cannot read property 'fileName' of undefined
    at app.post (/hdd/hdd21/my5/git/my5-backend/src/main.js:100:108)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at next (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:137:13)
    at multerMiddleware (/hdd/hdd21/my5/git/my5-backend/node_modules/multer/lib/make-middleware.js:18:41)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at next (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:137:13)
    at jwt.verify (/hdd/hdd21/my5/git/my5-backend/src/authMiddleware.js:20:9)
    at /hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:206:12
    at getSecret (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:80:14)
    at Object.module.exports [as verify] (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:84:10)
^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^C
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ git     npm start

> my5-backend@1.0.0 start /hdd/hdd21/my5/git/my5-backend
> nodemon src/main.js

[nodemon] 1.18.9
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node src/main.js`
Listening on port 13255
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] starting `node src/main.js`
Listening on port 13255
[nodemon] restarting due to changes...
[nodemon] starting `node src/main.js`
Listening on port 13255
^C
You have new mail in /var/spool/mail/root
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ npm start

> my5-backend@1.0.0 start /hdd/hdd21/my5/git/my5-backend
> nodemon src/main.js

[nodemon] 1.18.9
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node src/main.js`
Listening on port 13255
[nodemon] restarting due to changes...
[nodemon] starting `node src/main.js`
Listening on port 13255
[nodemon] restarting due to changes...
[nodemon] starting `node src/main.js`
Listening on port 13255
error { JsonWebTokenError: jwt audience invalid. expected: https://enter.vlevski.eu/
    at /hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:160:21
    at getSecret (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:80:14)
    at Object.module.exports [as verify] (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:84:10)
    at authMiddleware (/hdd/hdd21/my5/git/my5-backend/src/authMiddleware.js:13:9)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at next (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at /hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:335:12)
  name: 'JsonWebTokenError',
  message: 'jwt audience invalid. expected: https://enter.vlevski.eu/' }
error { JsonWebTokenError: jwt audience invalid. expected: https://enter.vlevski.eu/
    at /hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:160:21
    at getSecret (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:80:14)
    at Object.module.exports [as verify] (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:84:10)
    at authMiddleware (/hdd/hdd21/my5/git/my5-backend/src/authMiddleware.js:13:9)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at next (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at /hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:335:12)
  name: 'JsonWebTokenError',
  message: 'jwt audience invalid. expected: https://enter.vlevski.eu/' }
error { JsonWebTokenError: jwt audience invalid. expected: https://enter.vlevski.eu/
    at /hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:160:21
    at getSecret (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:80:14)
    at Object.module.exports [as verify] (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:84:10)
    at authMiddleware (/hdd/hdd21/my5/git/my5-backend/src/authMiddleware.js:13:9)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at next (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at /hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:335:12)
  name: 'JsonWebTokenError',
  message: 'jwt audience invalid. expected: https://enter.vlevski.eu/' }
error { JsonWebTokenError: jwt audience invalid. expected: https://enter.vlevski.eu/
    at /hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:160:21
    at getSecret (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:80:14)
    at Object.module.exports [as verify] (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:84:10)
    at authMiddleware (/hdd/hdd21/my5/git/my5-backend/src/authMiddleware.js:13:9)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at next (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at /hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:335:12)
  name: 'JsonWebTokenError',
  message: 'jwt audience invalid. expected: https://enter.vlevski.eu/' }
error { JsonWebTokenError: jwt audience invalid. expected: https://enter.vlevski.eu/
    at /hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:160:21
    at getSecret (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:80:14)
    at Object.module.exports [as verify] (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:84:10)
    at authMiddleware (/hdd/hdd21/my5/git/my5-backend/src/authMiddleware.js:13:9)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at next (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at /hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:335:12)
  name: 'JsonWebTokenError',
  message: 'jwt audience invalid. expected: https://enter.vlevski.eu/' }
error { JsonWebTokenError: jwt audience invalid. expected: https://enter.vlevski.eu/
    at /hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:160:21
    at getSecret (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:80:14)
    at Object.module.exports [as verify] (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:84:10)
    at authMiddleware (/hdd/hdd21/my5/git/my5-backend/src/authMiddleware.js:13:9)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at next (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at /hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:335:12)
  name: 'JsonWebTokenError',
  message: 'jwt audience invalid. expected: https://enter.vlevski.eu/' }
error { JsonWebTokenError: jwt audience invalid. expected: https://enter.vlevski.eu/
    at /hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:160:21
    at getSecret (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:80:14)
    at Object.module.exports [as verify] (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:84:10)
    at authMiddleware (/hdd/hdd21/my5/git/my5-backend/src/authMiddleware.js:13:9)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at next (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at /hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:335:12)
  name: 'JsonWebTokenError',
  message: 'jwt audience invalid. expected: https://enter.vlevski.eu/' }
^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[A^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^C
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ ^C
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ npm start

> my5-backend@1.0.0 start /hdd/hdd21/my5/git/my5-backend
> nodemon src/main.js

[nodemon] 1.18.9
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node src/main.js`
Listening on port 13255
1
2
3
1
2
3
error { JsonWebTokenError: jwt audience invalid. expected: https://enter.vlevski.eu/
    at /hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:160:21
    at getSecret (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:80:14)
    at Object.module.exports [as verify] (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:84:10)
    at authMiddleware (/hdd/hdd21/my5/git/my5-backend/src/authMiddleware.js:13:9)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at next (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at /hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:335:12)
  name: 'JsonWebTokenError',
  message: 'jwt audience invalid. expected: https://enter.vlevski.eu/' }
[nodemon] restarting due to changes...
[nodemon] starting `node src/main.js`
/hdd/hdd21/my5/git/my5-backend/src/login.js:22
	console.log('valid', valid');        
	                          ^^^^^^^^^^^

SyntaxError: Invalid or unexpected token
    at new Script (vm.js:84:7)
    at createScript (vm.js:264:10)
    at Object.runInThisContext (vm.js:312:10)
    at Module._compile (internal/modules/cjs/loader.js:684:28)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:732:10)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
    at Function.Module._load (internal/modules/cjs/loader.js:552:3)
    at Module.require (internal/modules/cjs/loader.js:657:17)
    at require (internal/modules/cjs/helpers.js:22:18)
[nodemon] app crashed - waiting for file changes before starting...
[nodemon] restarting due to changes...
[nodemon] starting `node src/main.js`
Listening on port 13255
1
2
3
valid false
1
2
3
valid true
error { JsonWebTokenError: jwt audience invalid. expected: https://enter.vlevski.eu/
    at /hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:160:21
    at getSecret (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:80:14)
    at Object.module.exports [as verify] (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:84:10)
    at authMiddleware (/hdd/hdd21/my5/git/my5-backend/src/authMiddleware.js:13:9)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at next (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at /hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:335:12)
  name: 'JsonWebTokenError',
  message: 'jwt audience invalid. expected: https://enter.vlevski.eu/' }
a[nodemon] restarting due to changes...
[nodemon] starting `node src/main.js`
Listening on port 13255
error { JsonWebTokenError: jwt audience invalid. expected: https://enter.vlevski.eu/
    at /hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:160:21
    at getSecret (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:80:14)
    at Object.module.exports [as verify] (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:84:10)
    at authMiddleware (/hdd/hdd21/my5/git/my5-backend/src/authMiddleware.js:13:9)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at next (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at /hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:335:12)
  name: 'JsonWebTokenError',
  message: 'jwt audience invalid. expected: https://enter.vlevski.eu/' }
1
2
3
jwt eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaW4iOiIxZjlhMGMyNWY0NDI0ZmVmMTA4ZTM2NzIzZmQ4NTA2NmZhNDYxODI0IiwiaWRlbnRpZmllciI6IjI1NzQ1NzAwMDEiLCJ0eXBlIjoic3R1ZGVudCIsImlhdCI6MTU1MTIxMjg0MiwiZXhwIjoxNTUxMjU2MDQyLCJhdWQiOiJodHRwczovL2VudGVyLnZsZXZza2kuZXUvIiwiaXNzIjoiTXk1In0.sLftwkNhBUU7Wq34lhrlAZc-s68Nsa0GqtNju8hVJ-leeMGi0VFnQhC5cFr_q1-p54HpUSDDjI2PQl9asU2xUg
valid false
1
2
3
jwt eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaW4iOiIxZjlhMGMyNWY0NDI0ZmVmMTA4ZTM2NzIzZmQ4NTA2NmZhNDYxODI0IiwiaWRlbnRpZmllciI6IjI1NzQ1NzAwMDEiLCJ0eXBlIjoic3R1ZGVudCIsImlhdCI6MTU1MTIxMjg0NSwiZXhwIjoxNTUxMjU2MDQ1LCJhdWQiOiJodHRwczovL2VudGVyLnZsZXZza2kuZXUvIiwiaXNzIjoiTXk1In0.uyhwn8rLyQ7k3xwWjADytk_fSQFQVW61nQC3rqH7jclcJCDJ61rPBw_DvisOisMPxyaS5E_FR9OZvblNc8pvEA
valid true
error { JsonWebTokenError: jwt audience invalid. expected: https://enter.vlevski.eu/
    at /hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:160:21
    at getSecret (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:80:14)
    at Object.module.exports [as verify] (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:84:10)
    at authMiddleware (/hdd/hdd21/my5/git/my5-backend/src/authMiddleware.js:13:9)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at next (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at /hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:335:12)
  name: 'JsonWebTokenError',
  message: 'jwt audience invalid. expected: https://enter.vlevski.eu/' }
1
2
3
jwt eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaW4iOiIxZjlhMGMyNWY0NDI0ZmVmMTA4ZTM2NzIzZmQ4NTA2NmZhNDYxODI0IiwiaWRlbnRpZmllciI6IjI1NzQ1NzAwMDEiLCJ0eXBlIjoic3R1ZGVudCIsImlhdCI6MTU1MTIxMjk5MSwiZXhwIjoxNTUxMjU2MTkxLCJhdWQiOiJodHRwczovL2VudGVyLnZsZXZza2kuZXUvIiwiaXNzIjoiTXk1In0.nrj6sYSXDBzZT-ZHeCaN9vNBTzj47aecbqgurkXboE4D3FP-Y70Y6TAp2CjxtVO8aXNj2qlZvJLNS2V6vgqbcw
valid true
error { JsonWebTokenError: jwt audience invalid. expected: https://enter.vlevski.eu/
    at /hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:160:21
    at getSecret (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:80:14)
    at Object.module.exports [as verify] (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:84:10)
    at authMiddleware (/hdd/hdd21/my5/git/my5-backend/src/authMiddleware.js:13:9)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at next (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at /hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:335:12)
  name: 'JsonWebTokenError',
  message: 'jwt audience invalid. expected: https://enter.vlevski.eu/' }
1
2
3
jwt eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaW4iOiIxZjlhMGMyNWY0NDI0ZmVmMTA4ZTM2NzIzZmQ4NTA2NmZhNDYxODI0IiwiaWRlbnRpZmllciI6IjI1NzQ1NzAwMDEiLCJ0eXBlIjoic3R1ZGVudCIsImlhdCI6MTU1MTIxMzAxMiwiZXhwIjoxNTUxMjU2MjEyLCJhdWQiOiJodHRwczovL2VudGVyLnZsZXZza2kuZXUvIiwiaXNzIjoiTXk1In0.xDnpq4EvNM03pyZwKftmuWO0EhAUmMWSDpNvHNRU18rR7WZKhDIlqNoXR7yFcmARxbN5wpd2S1YF9N4LwhnqdQ
valid true
1
2
3
jwt eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaW4iOiIxZjlhMGMyNWY0NDI0ZmVmMTA4ZTM2NzIzZmQ4NTA2NmZhNDYxODI0IiwiaWRlbnRpZmllciI6IjI1NzQ1NzAwMDEiLCJ0eXBlIjoic3R1ZGVudCIsImlhdCI6MTU1MTIxMzAzNywiZXhwIjoxNTUxMjU2MjM3LCJhdWQiOiJodHRwczovL2VudGVyLnZsZXZza2kuZXUvIiwiaXNzIjoiTXk1In0.fLLPcJTymMf16qvV-WX1jAWPvtU7bS5WcwPFlOA4Mb2jIcBKbiVMm6kXsFPcAgvz608ku1S4eEQbc71Ofzy06w
valid true
error { JsonWebTokenError: jwt audience invalid. expected: https://enter.vlevski.eu/
    at /hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:160:21
    at getSecret (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:80:14)
    at Object.module.exports [as verify] (/hdd/hdd21/my5/git/my5-backend/node_modules/jsonwebtoken/verify.js:84:10)
    at authMiddleware (/hdd/hdd21/my5/git/my5-backend/src/authMiddleware.js:13:9)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at next (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/layer.js:95:5)
    at /hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/hdd/hdd21/my5/git/my5-backend/node_modules/express/lib/router/index.js:335:12)
  name: 'JsonWebTokenError',
  message: 'jwt audience invalid. expected: https://enter.vlevski.eu/' }
1
2
3
jwt eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwaW4iOiI5NDE0MjEyZTVmYTg5ZDg4ODNhODQyYmQ4ZjkyNzZmNDQ5NmU0MDJlIiwiaWRlbnRpZmllciI6IjEwNzQ2MDAwMTEiLCJ0eXBlIjoic3R1ZGVudCIsImlhdCI6MTU1MTIxMzA1MCwiZXhwIjoxNTUxMjU2MjUwLCJhdWQiOiJodHRwczovL2VudGVyLnZsZXZza2kuZXUvIiwiaXNzIjoiTXk1In0.Wlajc5UDx18JZ3Ek0vBmkFd94Qyu-y65P2KM80bEkxL8soAKg0y-Jqox-9OMKikyQIv3SXSe7-XrTMRvdtjeCQ
valid true
Error: ENOENT: no such file or directory, open '../../../uploads/9414212e5fa89d8883a842bd8f9276f4496e402e/The.Flash.2014.S05E14.PROPER.720p.HDTV.x264-SHiTSPREAD.HI.srt'
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] starting `node src/main.js`
Listening on port 13255
[nodemon] restarting due to changes...
[nodemon] starting `node src/main.js`
Listening on port 13255
[nodemon] restarting due to changes...
[nodemon] starting `node src/main.js`
Listening on port 13255
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] starting `node src/main.js`
Listening on port 13255
^[[A^C
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ npm start

> my5-backend@1.0.0 start /hdd/hdd21/my5/git/my5-backend
> nodemon src/main.js

[nodemon] 1.18.9
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node src/main.js`
Listening on port 13255
Error: ENOENT: no such file or directory, open '../../../uploads/262b8e0a7b5c974573f01141bb5b093d7d8a0dab/1.png'
Error: ENOENT: no such file or directory, open '../../../uploads/bd7b1c5a8abf105a6d55553c00467008c203bcef/pc.pptx'
Error: ENOENT: no such file or directory, open '../../../uploads/bd7b1c5a8abf105a6d55553c00467008c203bcef/a.xlsx'
Error: ENOENT: no such file or directory, open '../../../uploads/00f7f487c20e93d3307d5693f398d7806987444c/3mart.psd'
Error: ENOENT: no such file or directory, open '../../../uploads/068f2ae8acde54719b5a298c795018b9be456023/10743954528_IMG_4058.jpg'
Error: ENOENT: no such file or directory, open '../../../uploads/068f2ae8acde54719b5a298c795018b9be456023/10743954528_IMG_4058.jpg'
Error: ENOENT: no such file or directory, open '../../../uploads/1f9a0c25f4424fef108e36723fd85066fa461824/The.Flash.2014.S05E14.PROPER.720p.HDTV.x264-SHiTSPREAD[ettv].mkv'
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] starting `node src/main.js`
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] starting `node src/main.js`
Listening on port 13255
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] starting `node src/main.js`
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] starting `node src/main.js`
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] starting `node src/main.js`
Listening on port 13255
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] starting `node src/main.js`
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] starting `node src/main.js`
Listening on port 13255
rs
[nodemon] starting `node src/main.js`
Listening on port 13255
error rejem
Error: ENOENT: no such file or directory, open '../../../uploads/a9f3fab9db19406987bb39a0705078a3bad43476/TodayMix.mp3'
Error: ENOENT: no such file or directory, open '../../../uploads/a9f3fab9db19406987bb39a0705078a3bad43476/TodayMix.mp3'
q /hdd/hdd21/my5/git/my5-backend/src/getFiles/index.js:22
          if (err) throw err;
                   ^

Error: EEXIST: file already exists, mkdir '../../../uploads/a9f3fab9db19406987bb39a0705078a3bad43476'
[nodemon] app crashed - waiting for file changes before starting...
rs
[nodemon] starting `node src/main.js`
Listening on port 13255
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] starting `node src/main.js`
[nodemon] restarting due to changes...
[nodemon] starting `node src/main.js`
Listening on port 13255
rs
[nodemon] starting `node src/main.js`
Listening on port 13255
originalName doghacker3.jpg
originalName 6. Tree Traversals.mp4
originalName 1logo mon Slavi Kaloferov - Slavi Kaloferov.ai
originalName putty.exe
/hdd/hdd21/my5/git/my5-backend/node_modules/mysql/lib/protocol/Parser.js:80
        throw err; // Rethrow non-MySQL errors
        ^

TypeError: Cannot read property 'id' of undefined
    at pathExists (/hdd/hdd21/my5/git/my5-backend/src/main.js:140:86)
    at Query.db.query (/hdd/hdd21/my5/git/my5-backend/src/utils/pathExists.js:28:7)
    at Query.<anonymous> (/hdd/hdd21/my5/git/my5-backend/node_modules/mysql/lib/Connection.js:502:10)
    at Query._callback (/hdd/hdd21/my5/git/my5-backend/node_modules/mysql/lib/Connection.js:468:16)
    at Query.Sequence.end (/hdd/hdd21/my5/git/my5-backend/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
    at Query._handleFinalResultPacket (/hdd/hdd21/my5/git/my5-backend/node_modules/mysql/lib/protocol/sequences/Query.js:139:8)
    at Query.EofPacket (/hdd/hdd21/my5/git/my5-backend/node_modules/mysql/lib/protocol/sequences/Query.js:123:8)
    at Protocol._parsePacket (/hdd/hdd21/my5/git/my5-backend/node_modules/mysql/lib/protocol/Protocol.js:278:23)
    at Parser.write (/hdd/hdd21/my5/git/my5-backend/node_modules/mysql/lib/protocol/Parser.js:76:12)
    at Protocol.write (/hdd/hdd21/my5/git/my5-backend/node_modules/mysql/lib/protocol/Protocol.js:38:16)
[nodemon] app crashed - waiting for file changes before starting...

┌───────────────────────────────────────────────────────┐
│              nodemon update check failed              │
│          Try running with sudo or get access          │
│         to the local update config store via          │
│ sudo chown -R $USER:$(id -gn $USER) /home/my5/.config │
└───────────────────────────────────────────────────────┘
npm ERR! code ELIFECYCLE
npm ERR! errno 143
npm ERR! my5-backend@1.0.0 start: `nodemon src/main.js`
npm ERR! Exit status 143
npm ERR! 
npm ERR! Failed at the my5-backend@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
You have new mail in /var/spool/mail/root
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ npm startnpm startls -lanpm installls -la      mc

(mc:39481): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Cannot create /home/my5/.cache/mc directory

(mc:39481): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Cannot create /home/my5/.local/share/mc directory
Failed to run:
Cannot create /home/my5/.config/mc directory
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ mc

(mc:39482): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Cannot create /home/my5/.cache/mc directory

(mc:39482): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Cannot create /home/my5/.local/share/mc directory
Failed to run:
Cannot create /home/my5/.config/mc directory
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ ^C
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ ^C
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ ^C
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ ^C
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ ^C
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ mc

(mc:39483): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Cannot create /home/my5/.cache/mc directory

(mc:39483): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Cannot create /home/my5/.local/share/mc directory
Failed to run:
Cannot create /home/my5/.config/mc directory
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ ^C
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ ^C
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ ^C
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ ^C
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ ^C
You have new mail in /var/spool/mail/root
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ ^C
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ 
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ who
root     pts/0        2019-03-07 08:53 (46.35.184.190)
root     pts/5        2019-02-16 23:26 (94-155-68-253:S.0)
root     pts/6        2019-03-07 09:44 (46.35.184.190)
You have new mail in /var/spool/mail/root
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ gistory       whoami
my5
You have new mail in /var/spool/mail/root
my5@darkstar:/hdd/hdd21/my5/git/my5-backend$ npm start

> my5-backend@1.0.0 start /hdd/hdd21/my5/git/my5-backend
> nodemon src/main.js

[nodemon] 1.18.9
[nodemon] to restart at any time, enter `rs`
[nodemon] watching: *.*
[nodemon] starting `node src/main.js`
Listening on port 13255
/hdd/hdd21/my5/git/my5-backend/src/getFiles/index.js:22
          if (err) throw err;
                   ^

Error: EEXIST: file already exists, mkdir '../../../uploads/a9f3fab9db19406987bb39a0705078a3bad43476'
[nodemon] app crashed - waiting for file changes before starting...
rs
[nodemon] starting `node src/main.js`
Listening on port 13255
originalName 10743954528_IMG_4058.jpg