我将闪亮的应用程序托管在还安装了RStudio服务器的Ubuntu 16.04服务器上。可以使用localhost:3838
上的演示应用程序成功访问闪亮服务器的欢迎页面。但是,当我尝试运行一个简单的应用程序(默认的闪亮的老忠实间歇泉数据):localhost:3838/test
时,我得到了An error has occurred The application failed to start
。应用程序在初始化期间退出。
这是在我从R.3.4升级到3.5.2之后出现的
我已经取出了一个应用程序日志,上面写着:"Error: package ‘digest’ was installed by an R version with different internals; it needs to be reinstalled for use with this R version
Execution halted"
。我采取了以下步骤,但仍然是相同的错误:
shiny-server.log:
[2019-02-13T12:03:33.048] [INFO] shiny-server - Starting listener on http://[::]:3838
[2019-02-13T12:14:20.757] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2019-02-13T12:24:50.935] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2019-02-13T12:25:32.009] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2019-02-13T12:26:14.637] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2019-02-13T12:30:02.063] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2019-02-13T13:22:45.655] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
shiny-application.log:
Error: package ‘digest’ was installed by an R version with different internals; it needs to be reinstalled for use with this R version
Execution halted
没有软件包失败或无法加载,但是闪亮的应用程序无法正常工作,并给出了错误。预期的输出是闪亮服务器上正在运行的应用程序
有任何帮助吗?
答案 0 :(得分:0)