Problems with shiny app after R upgrade on Centos 6.9

Hello!

We have a shiny app that functional prior to the recent upgrade to R 3.5. Following the upgrade, and upgrading the R packages with:

update.packages(checkBuilt=TRUE, ask=FALSE)

the app seems to be completely functional on our server running Centos 7 (see here).

However, similar applications running on our private development server, running Centos 6.9, are not working properly. Specifically, the various elements from ui.R are rendered to the page, but the formatting is wrong (see attached image) and the data tables and plots returned by the app are not accessible. For example clicking on the "Brief", "Data", or "Plot" links do nothing except add "#tab-9453-5" to the end of the url. The log only shows the following:

Listening on http://127.0.0.1:33840

Execution halted

The server that is working is running Centos 7.5 and Shiny Server v1.0.0.42 (Node.js v0.10.21). The other server is back at Centos 6.9 and Shiny Server v1.5.6.875 (Node.js v6.10.3).

Any suggestions about what to check on the development server to address this problem would be greatly appreciated. Eventually, we'll upgrade that machine to 7.5, but for now, we're stuck at 6.9 and I'd like to have these applications working.

Hi, have you managed to resolve this issue? I'm having the same issue and searched for solutions online but to no avail. All I did was just updating shiny, I didn't even update R. So, i removed the latest shiny and reinstalled the previous version, yet the problem persists. Kindly share the solution if you have found one. Your help is much appreciated.

This hasn't been resolved. Just waiting to upgrade the 6.9 servers.

Are there any errors in your JavaScript console? If you show Chrome Devtools' Network tab and reload the page, do you see a lot of requests for .css and .js assets that are failing, and if so, what HTTP status code are they failing with?

Finally, what versions of the shiny and httpuv R packages are being used? (In a default configuration of Shiny Server, it's the shiny user that runs the R processes, so I'd like to know what versions of shiny and httpuv that user is seeing--try sudo su shiny -c "R -e packageVersion('httpuv')" and the same thing with shiny in place of httpuv.)

Hi Joe,

Yes I do see a lot of .js and one .css errors in the javascript console. It seems like most of them are failing with either "net::ERR_CONTENT_LENGTH_MISMATCH" or "net::ERR_CONNECTION_REFUSED".

Regarding package versions, user shiny is seeing v1.4.4.1 of the httpuv package and v1.1.0 of the shiny package.

[FYI, I had to modify your syntax a bit and insert some escapes to pass the argument on correctly. I was getting syntax errors when copy-pasting, but this works:

sudo su shiny -c "R -e packageVersion\(\'shiny\'\)"

]