[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: shiny-server in debian



Hi,

Am Fri, Mar 25, 2022 at 08:37:52PM -0400 schrieb Eric Brown:
> Thank you Nilesh for explaining why we can't have the example files
> placed in /srv automatically. It's not critical. I see in that
> document that asking the user for permission to make the links would
> be allowed, this to me sounds like a good solution/compromise.

Regarding the /srv issue we might have two options: Either we find and
patch the code pieces inside shiny-server refering to /srv (in current 
Git I get:
   $ grep -R '/srv' | wc -l
   36
but there are several examples in this result set) or we provide a
symlink in postinst which might be less error prone (but for sure
not es clean).

> After much exploration, I have made some good progress in
> troubleshooting the errors.

I did not see any according commits in Git.
 
> The console error of missing __assets__/sockjs-0.3.4.min.js is because
> libjs-sockjs needs to be included as a dependency of shiny-server.
> When I manually apt install libjs-sockjs, that error went away.
> 
> The other missing file in the console I am seeing is
> ___assets___/shiny-server-client.min.js. This is a file that gets
> installed with node-shiny-server-client. I was able to make this error
> go away by copying the entire directory
> /usr/share/node-js/shiny-server-client/ to a new directory
> /usr/lib/shiny-server/node_modules/shiny-server-client/.
> 
> The above 2 fixes made the console errors go away. One of my apps now
> works as expected.

Sounds good.

> The other one is not quite working as expected, but
> is not crashing or throwing errors. I wonder if it may relate to
> shiny-server and node-shiny-server-client being older versions.

I fixed at least the watch file in Git to easily see that we are
currently working on an outdated version.

> By the way, node-send is now updated and in unstable, resolving the
> bug. Nilesh's node-rewire and node-sockjs are in NEW.

Thanks to your and Nilesh's effort.  I'm not really back but will
start contributing hopefully soon.

Kind regards
    Andreas.

-- 
http://fam-tille.de


Reply to: