404 -- http://localhost:80/ocpu/tmp/x0.../files/knit.html not found

23 views
Skip to first unread message

bleak focus

unread,
Aug 29, 2022, 5:07:11 AM8/29/22
to formr
Hello all,

We have our own formr installation on which we have already been able to run a HellWorld run. However, as soon as we press the Submit button for the first time in a run, the requested knit.html is not delivered, as you can see in the screenshot. The requested resource, e.g. http://localhost:80/ocpu/tmp/x04bb3c613fcd04b174d0784fbd2d4da3ad6835a87fbb37f29f0/files/knit.html, does not seem to be available.
ScreenshotFormr-TS-01.png
However, the corresponding file can be found on the server:

    root@<server-name>:/tmp/systemd-private-0ce7c089ffa5444c8742a388a0b77e21-apache2.service-9FTWhj/tmp/ocpu-store# ll x04bb3c613fcd04b174d0784fbd2d4da3ad6835a87fbb37f29f0/
        total 304
        drwxr-xr-x    3 www-data www-data   4096 Aug 29 10:15 ./
        drwxr-xr-x 1321 www-data www-data 143360 Aug 29 11:00 ../
        -rw-r--r--    1 www-data www-data    186 Aug 29 10:14 DESCRIPTION
        drwxr-xr-x    6 www-data www-data   4096 Aug 29 10:14 knit_files/
        -rw-r--r--    1 www-data www-data   4713 Aug 29 10:14 knit.html
        -rw-r--r--    1 www-data www-data    626 Aug 29 10:14 knit.Rmd
        -rw-r--r--    1 www-data www-data   2563 Aug 29 10:14 .RData
        -rw-r--r--    1 www-data www-data    939 Aug 29 10:14 .REval
        -rw-r--r--    1 www-data www-data 125275 Aug 29 10:14 .RInfo
        -rw-r--r--    1 www-data www-data    200 Aug 29 10:14 .Rlibs

The run then continues correctly and is also terminated correctly. Emails are sent at the right time and the result is evaluated. Only this knit.html is not displayed as planned. This would be irritating for our test persons.

We installed formr from git ( https://github.com/rubenarslan/formr.org.git ). Our server is running on an Ubuntu 18.04.6 LTS with 8CPUs and 32GB memory:

    - Apache/2.4.53 (Ubuntu)
    - mysql-server 5.7.21-1ubuntu1
    - PHP 7.4.29
    - R version 4.2.0
    - opencpu-server 2.2.8-bionic4

We would be grateful for any help

best regards
Daniel
Reply all
Reply to author
Forward
0 new messages