Edit : I gave it a few minutes after restarting Nginx and it looks like using the files from Github was my fix, looks to be that everything is working now!
After doing a git clone of the current repo and building with the Dockerfile as opposed to just using the currently available nodebb/docker on docker hub, it looks like those issues went away. It currently isn't displaying anything at all right now, but in the logs I see:
nodebb | Starting NodeBB
nodebb | "./nodebb stop" to stop the NodeBB server
nodebb | "./nodebb log" to view server output
nodebb | "./nodebb help" for more commands
nodebb | NodeBB v1.12.0 Copyright (C) 2013-2014 NodeBB Inc.
nodebb | This program comes with ABSOLUTELY NO WARRANTY.
nodebb | This is free software, and you are welcome to redistribute it under certain conditions.
nodebb | For the full license, please visit: http://www.gnu.org/copyleft/gpl.html
nodebb | Clustering enabled: Spinning up 1 process(es).
nodebb | 2019-04-04T22:33:50.921Z [4567/22] - info: Initializing NodeBB v1.12.0 https://forum.mysite.dev
nodebb | 2019-04-04T22:33:54.634Z [4567/22] - info: [socket.io] Restricting access to origin: https://forum.mysite.dev:*
nodebb | Thu, 04 Apr 2019 22:33:54 GMT hsts deprecated The "includeSubdomains" parameter is deprecated. Use "includeSubDomains" (with a capital D) instead. at node_modules/helmet/index.js:33:28
nodebb | Thu, 04 Apr 2019 22:33:54 GMT hsts deprecated The "setIf" parameter is deprecated. Refer to the documentation to see how to set the header conditionally. at node_modules/helmet/index.js:33:28
nodebb | 2019-04-04T22:33:54.961Z [4567/22] - info: Routes added
nodebb | 2019-04-04T22:33:54.969Z [4567/22] - info: NodeBB Ready
nodebb | 2019-04-04T22:33:54.976Z [4567/22] - info: Enabling 'trust proxy'
nodebb | 2019-04-04T22:33:54.986Z [4567/22] - info: NodeBB is now listening on: 0.0.0.0:4567
The error message is telling you that it can't access/save the file. Make sure the user you are running the commands has the proper permissions.
I wondered that too, I was using a user I specifically created for this task in order to not use the root user as I thought it was not a good practice to do. Especially since the instructions indicate a sudo user. Usually I can figure out permission issues, but for some reason I have not been able to solve this one. The installation does get further when using the root user, so there is definitely a permission issue.
The error I get now is related to the connection of the Redis database. I get a connection refused error when using the IP of the server.
The abort error shows the IP address and default port number so I have no idea how to connect the database.
Here's the latest console information ...
└── firstname.lastname@example.org (email@example.com)
25/4 19:08  - info: Populating database with default configs, if not already set...
25/4 19:08  - error: Error: Redis connection to myserverIP:6379 failed - connect ECONNREFUSED
at RedisClient.flush_and_error (/mydomainpath/nodebb/node_modules/redis/index.js:142:13)
at RedisClient.on_error (/mydomainpath/nodebb/node_modules/redis/index.js:180:10)
at Socket.<anonymous> (/mydomainpath/nodebb/node_modules/redis/index.js:95:14)
at Socket.EventEmitter.emit (events.js:95:17)
at process._tickCallback (node.js:415:13)
25/4 19:08  - warn: NodeBB Setup Aborted. Redis connection to myserverIP:6379 failed - connect ECONNREFUSED