Can not run Parse Server

Keywords: Parse - AWS - Technical issue - Upgrade
bnsupport ID: 6c675252-dbdd-4b64-a26a-103d889e371a
Description:
Hello!
After try upgrade parse, I get that error when I try to boot:
module.js:550
throw err;
^

Error: Cannot find module ‘/opt/bitnami/nodejs/bin/forever’
at Function.Module._resolveFilename (module.js:548:15)
at Function.Module._load (module.js:475:25)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
at bootstrap_node.js:625:3

I don tknow how solve it.
Thanks you.
Yachtty.

Hi @yachtty,

Thanks for using Bitnami. Can you tell us how did you update the Parse application? We have a guide for updating it, can you check the steps mentioned there?

https://docs.bitnami.com/aws/apps/parse/administration/upgrade/

Apart from that, can you run the next commands on your server and share the output with us?

sudo ls -lart /opt/bitnami
sudo ls -lart /opt/bitnami/node
sudo ls -lart /opt/bitnami/node/bin
sudo ls -lart /opt/bitnami/nodejs
sudo ls -lart /opt/bitnami/nodejs/bin

Hello @gongomgra!
Thanks for your support ^^
I did the steps at the link that you provide…

The data of commands:

->sudo ls -lart /opt/bitnami:
-rwx------ 1 root root 3390885 Feb 27 2017 manager-linux-x64.run
drwxr-xr-x 3 root root 4096 Jan 14 2019 …
drwxr-xr-x 10 root root 4096 Jan 14 2019 common
drwxr-xr-x 3 root root 4096 Jan 14 2019 letsencrypt
drwxr-xr-x 5 root root 4096 Jan 14 2019 sqlite
drwxr-xr-x 2 root root 4096 Jan 14 2019 img
drwxr-xr-x 2 root root 4096 Jan 14 2019 licenses
drwxr-xr-x 5 root root 4096 Jan 14 2019 apps
drwxr-xr-x 4 root root 4096 Jan 14 2019 config
-rwxr–r-- 1 root root 251 Jan 14 2019 use_parse
drwxr-xr-x 11 root root 4096 Jan 14 2019 php
drwxr-xr-x 14 root root 4096 Jan 14 2019 apache2
-rw-r–r-- 1 root root 8842 Jan 14 2019 README.txt
-rw-r–r-- 1 root root 6997 Jan 14 2019 changelog.txt
-rwxr-xr-x 1 root root 53868 Jan 14 2019 ctlscript.sh
drwxr-xr-x 3 root root 4096 Jan 14 2019 scripts
drwxr-xr-x 7 root root 4096 Feb 27 2019 var
drwxr-xr-x 7 root root 4096 Feb 27 2019 mongodb
drwxrwxr-x 7 root root 4096 Feb 27 2019 nodejs
-rw-r–r-- 1 root root 754 Apr 15 2020 bnsupport-regex.ini
lrwxrwxrwx 1 root root 52 May 27 15:17 bnsupport-tool -> /opt/bitnami/bnsupport/bnsupport-0.9.9-linux-x64.run
drwxr-xr-x 2 root root 4096 May 27 15:17 bnsupport
drwxr-xr-x 3 root root 4096 May 27 15:19 bndiagnostic
lrwxrwxrwx 1 root root 41 May 27 15:19 bndiagnostic-tool -> /opt/bitnami/bndiagnostic/bndiagnostic.sh
drwxr-xr-x 18 root root 4096 May 27 15:19 .
-rwxrwx— 1 bitnami root 1060 May 28 07:06 properties.ini
drwxr-xr-x 2 bitnami bitnami 4096 May 28 09:23 stats

->sudo ls -lart /opt/bitnami/node
ls: cannot access '/opt/bitnami/node': No such file or directory

->sudo ls -lart /opt/bitnami/node/bin
ls: cannot access '/opt/bitnami/node/bin': No such file or directory

->sudo ls -lart /opt/bitnami/nodejs
total 172
-rw-rw-r--  1 root root 27562 Dec 26  2018 README.md
-rw-rw-r--  1 root root 59059 Dec 26  2018 LICENSE
-rw-rw-r--  1 root root 54342 Dec 26  2018 CHANGELOG.md
drwxrwxr-x  5 root root  4096 Jan 14  2019 share
drwxrwxr-x  3 root root  4096 Jan 14  2019 lib
drwxrwxr-x  3 root root  4096 Jan 14  2019 include
drwxr-xr-x  2 root root  4096 Feb 27  2019 etc
drwxrwxr-x  7 root root  4096 Feb 27  2019 .
drwxrwxr-x  3 root root  4096 May 27 14:48 bin
drwxr-xr-x 18 root root  4096 May 27 15:19 ..

->sudo ls -lart /opt/bitnami/nodejs/bin
total 28188
-rwxrwxr-x 1 root root 28846536 Dec 27  2018 .node.bin
-rwxr-xr-x 1 root root       90 Jan 14  2019 node
drwxrwxr-x 7 root root     4096 Feb 27  2019 ..
drwxr-xr-x 4 root root     4096 May 27 14:45 forever
drwxrwxr-x 3 root root     4096 May 27 14:48 .

Thanks you!

Hello!
I solved the problem making a BK of the database and restoring at new parse machine.
Thanks!

Hi @yachtty,

Thanks for the info. I’m glad you fixed your issue! We will close this thread as solved. Please do not hesitate to open a new one with any other questions you may have.

1 Like