I just installed Nextcloud as Docker, the version is 24.0.2, database is Mysql and as Docker, I created room/resource as below steps(commands running in the Docker):
2.Troubleshooting:
1). check resources list:
sudo -u www-data PHP_MEMORY_LIMIT=512M ./occ calendar-resource:resources:list
Buildings:
2).Check room/resource lists:
MariaDB [nextcloud]> SELECT * FROM oc_calresources_rooms;
3). Check cron job in Docker:
crontab -u www-data -l
*/5 * * * * php -f /var/www/html/cron.php
3.Questions:
I have three questions don’t know as below:
1). No rooms shown in the web:
2). No calendar rooms:
MariaDB [nextcloud]> SELECT * FROM oc_calendar_rooms;
Empty set (0.003 sec)
3). The backgroundJob is running and checked three days ago:
MariaDB [nextcloud]> select * from oc_jobs WHERE id = 13;
±—±----------------------------------------------------------------±---------±-----------±-------------±------------±-------------------±---------------------------------±---------------+
| id | class | argument | last_run | last_checked | reserved_at | execution_duration | argument_hash | time_sensitive |
±—±----------------------------------------------------------------±---------±-----------±-------------±------------±-------------------±---------------------------------±---------------+
| 13 | OCA\DAV\BackgroundJob\UpdateCalendarResourcesRoomsBackgroundJob | null | 1657866292 | 1657866389 | 0 | 0 | 37a6259cc0c1dae299a7866489dff0bd | 1 |
±—±----------------------------------------------------------------±---------±-----------±-------------±------------±-------------------±---------------------------------±---------------+
1 row in set (0.001 sec)
root@8ba452259daa:/var/www/html# date -d @1657866292
Fri Jul 15 14:24:52 CST 2022
root@8ba452259daa:/var/www/html# date -d @1657866389
Fri Jul 15 14:26:29 CST 2022
Not found related logs in nextcloud.log
I did some research from official website and Google, but not found solution, please advise, thank you so much.