pi@wfarchivepi:~/wfarchive/views $ ls -l
total 52
-rw-r–r-- 1 pi pi 365 Sep 12 15:00 about.ejs
-rw-r–r-- 1 pi pi 14133 Sep 14 21:26 config.ejs
drwxr-xr-x 2 pi pi 4096 Sep 18 09:22 files
-rw-r–r-- 1 pi pi 97 Sep 9 09:14 footer.ejs
-rw-r–r-- 1 pi pi 1455 Sep 13 14:46 head.ejs
-rw-r–r-- 1 pi pi 423 Sep 16 13:06 header.ejs
-rw-r–r-- 1 pi pi 1618 Sep 14 23:37 index.ejs
-rw-r–r-- 1 pi pi 1092 Sep 10 09:31 logs.ejs
-rw-r–r-- 1 pi pi 1114 Sep 17 12:55 piio.ejs
-rw-r–r-- 1 pi pi 2222 Sep 16 05:37 process.ejs
Thre is no output in the terminal window … it just sits there until I do a -c
Sorry to cause problems! I’m happy to try again from scratch … maybe I missed something.
Rebooted.
pm2 start
tried to connect to web server from browser.
No change - not working
One thing I have noticed is that I can’t get Chromium web browser to work … everything else seems ok.
I’m using firefox. I wonder if there’s something weird with the SD card … maybe I should try from scratch with another one?
It’s looking for data from the database and there is none. So, I need to either move this from the index page and fix it so it won’t look up another page.
The ‘bug’ is still in the code (maybe) but I have moved the output to it’s own page, so the web server will not lock up on a new installation. I will work on a better fix to account for a fresh database.
Installed node.js so that is ok, now trying to figure out how to use your code snippet
edit : this goes way over my knowledge lol. → I abandon this path. I’m not a coder