Hi!
(This is my first post - wohoo! )
I have a strange behavior with my Onlyoffice installation:
- Create a new Onlyoffice Document and open it in browser
- Add some text --> “All changes saved”
- Reload the Nextcloud tab where the file is located and check the last column “last edit”
- Wait for some time (2 minutes)
- Switch to document tab and make another modification --> “All changes saved”
- Again reload the Nextcloud tab where the file is located and check the last column “last edit”
Compare the two timestamps:
I will still see the first timestamp and not the last one.
Refreshing the document tab doesn’t help.
This is confusing me. I would expect a immediate update on the timestamp when Onlyoffice says “All changes saved”.
I run Nextcloud (17.0.1), Onlyoffice and Redis on seperate Docker container.
Not even the manual trigger of a occ files:scan helps:
www-data@fea57390b610:~/html$ /var/www/html/occ files:scan A7B36162-A321-4998-B2B7-9AF697988A4D
Starting scan for user 1 out of 1 (A7B36162-A321-4998-B2B7-9AF697988A4D)
+---------+-------+--------------+
| Folders | Files | Elapsed time |
+---------+-------+--------------+
| 3445 | 30336 | 00:01:27 |
+---------+-------+--------------+
Only if I close the document tab, the new timestamp will be shown in the Nextcloud tab.
Here is the output of the admin API url:
Dockerfile:
extend
FROM nextcloud:17.0.1
RUN { \
echo "deb http://debian.tu-bs.de/debian buster main contrib"; \
echo "deb http://debian.tu-bs.de/debian-security buster/updates main contrib"; \
echo "deb http://debian.tu-bs.de/debian buster-updates main contrib"; \
} >> /etc/apt/sources.list \
\
&& apt-get update \
&& apt-get install -y \
smbclient \
supervisor \
\
&& rm -rf /var/lib/apt/lists/* \
\
&& mkdir /var/log/supervisord /var/run/supervisord \
\
&& rm -f /etc/localtime \
&& ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime
COPY supervisord.conf /etc/supervisor/supervisord.conf
RUN echo "* * * * * php /var/www/html/occ files:scan --all --unscanned --quiet" >> /var/spool/cron/crontabs/www-data \
&& echo "0 * * * * php /var/www/html/occ files:scan --all --quiet" >> /var/spool/cron/crontabs/www-data
ENV NEXTCLOUD_UPDATE=1
CMD ["/usr/bin/supervisord"]
Btw: Also no error messages in nextcloud log file
Do you have any ideas what the problem is?
Many thanks,
Stefan