Hi Cole,
Thanks for your prompt reply. I will try to get replies in sooner - yesterday was super busy and I just couldn't get back to it.
Anyhoo, the nginx container log just gives me this one html message when I click the OK button to upload the files.
172.30.1.102 - - [25/Apr/2019:07:00:57 +0000] "POST /rstudio/upload HTTP/2.0" 200 167 "https://host.fully.qualified.domain.com/rstudio/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0"
So a straight 200 message, HTTP OK.
I installed syslog-ng on the nginx proxy and the rstudio container to see if there was anything else I was missing, but no deal.
Some Notes
When you log in to R-Studio server, that is when the randomly named /tmp/RtmpRqSHM8 folder is created.
That folder is not deleted, even if you log out. It will only be deleted if you click the orange 'Quit the current R session' button in the top right corner, no matter how many times you log in and out.
New session, new folder. Quit session, folder is deleted.
If you upload from the desktop, your file is in that folder and will look like this.. upload2bff404d992e.bin upload2bff43b2eadb.bin upload2bffee808fa.bin. In these cases, the last 8 chars appear random, so possibly a hash of a timestamp or something. Anyhoo, despite the .bin extension, everything is plain text.
So now, all that's needed is for R Studio to transfer /tmp/RtmpRqSHM8/upload2bff404d992e.bin to /home/userid/test-location
So, this feels like a file monitor/file mover process is not called or does not run or is not running and that is what prompts the message displayed.
You can see the files in appear using watch, thus...
root@d166712ea00c:/tmp# watch -d -n0.1 ls -las
Is there a list of processes that should be running? Here's mine..
root@d166712ea00c:/# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 204 4 ? Ss Apr24 0:00 s6-svscan -t0 /var/run/s6/services
root 35 0.0 0.0 204 4 ? S Apr24 0:00 s6-supervise s6-fdholderd
root 209 0.0 0.0 204 4 ? S Apr24 0:00 s6-supervise rstudio
rstudio+ 212 0.0 0.1 275272 53768 ? Ssl Apr24 1:00 /usr/lib/rstudio-server/bin/rserver --server-daemonize 0
root 2574 0.0 0.0 180480 2080 ? Ssl 09:08 0:02 /usr/sbin/rsyslogd
root 3451 0.0 0.0 50984 592 ? S 09:18 0:00 supervising syslog-ng
root 3452 0.0 0.0 226244 7632 ? Ss 09:18 0:00 /usr/sbin/syslog-ng -p /var/run/syslog-ng.pid
userid 11263 0.6 0.3 922136 102004 ? Sl 09:37 0:08 /usr/lib/rstudio-server/bin/rsession -u userid --launcher-token B2FFDB0
root 11853 2.0 0.0 19912 3544 pts/0 Ss 10:02 0:00 /bin/bash
root 11859 0.0 0.0 38308 3212 pts/0 R+ 10:02 0:00 ps aux
Thanks for all your help and ideas so far.
Best,
Morgan