Closed miaulalala closed 2 months ago
I have the same problem. Resources are not shown in the calendar, but with calendar-resource:resources:list. Cron.php is running. Do you have anything i can test/debug? Version of app is "0.1.1-alpha.1" from git. Nextcloud 24.0.1.
Same problem. I can see created resources on the CLI, but they can't be found via calendar.
Same problem, who knows how to debug ?
Ok my issue is resolved with the most recent NC version (25 dev) and the most recent version of calendar_resources. I have no clue what the solution was, but I would suggest running composer on the NC root and the calendar resource management app.
Same issue here on NC version 23.0.10 which should still be supported. App version is 0.3.1 Can we re-open this issue, upgrading to nextcloud 25 dev does not feel like a proper fix. Thanks
Same problem here with :
Resource is OK in database :
MariaDB [nextcloud]> select * from calresources_vehicles;
+----+-------------+-----+--------------+-------+---------------+------------------------+--------------+--------------+---------------+-------------+-------+------------------+
| id | building_id | uid | display_name | email | resource_type | contact_person_user_id | vehicle_type | vehicle_make | vehicle_model | is_electric | range | seating_capacity |
+----+-------------+-----+--------------+-------+---------------+------------------------+--------------+--------------+---------------+-------------+-------+------------------+
| 3 | 1 | 1 | Renault Zoé | | vehicle | | Citadine | Renault | Zoé | 1 | 350 | 4 |
+----+-------------+-----+--------------+-------+---------------+------------------------+--------------+--------------+---------------+-------------+-------+------------------+
1 row in set (0.001 sec)
MariaDB [nextcloud]> select * from calresources_buildings;
+----+--------------+-------------+--------------+--------------------------+
| id | display_name | description | address | is_wheelchair_accessible |
+----+--------------+-------------+--------------+--------------------------+
| 1 | Garage BSA | Garage BSA | La Ferrière | 0 |
+----+--------------+-------------+--------------+--------------------------+
1 row in set (0.000 sec)
And all seems to be OK in listing OCC :
Vehicles:
+----+-----+-------------+--------------+-------+----------------+----------+---------+-------+----------+-------+----------+
| ID | UID | Name | Located in | Email | Contact Person | Type | Make | Model | Electric | Range | Capacity |
+----+-----+-------------+--------------+-------+----------------+----------+---------+-------+----------+-------+----------+
| 3 | 1 | Renault Zoé | 1 Garage BSA | | | Citadine | Renault | Zoé | yes | 350 | 4 |
+----+-----+-------------+--------------+-------+----------------+----------+---------+-------+----------+-------+----------+
Buildings:
+----+------------+-------------+-------------+-----------------------+
| ID | Name | Address | Description | Wheelchair Accessible |
+----+------------+-------------+-------------+-----------------------+
| 1 | Garage BSA | La Ferrière | Garage BSA | no |
+----+------------+-------------+-------------+-----------------------+
Do you have any information to how make it works ?
Any news on this issue ?
waiting to sync data....and Maybe.....Need enter keywords in the search bar
@mark543g it doesn't work. Resources exists, but nothing found in the UI :
check table "oc_calresources_rooms" when i use "select * from oc_calresources_rooms;" ,that can show each item
btw my nextcloud ver is 25.0.1
My table calresources_rooms is empty :
MariaDB [nextcloud]> select * from calresources_rooms; Empty set (0.001 sec)
My table calresources_rooms is empty :
MariaDB [nextcloud]> select * from calresources_rooms; Empty set (0.001 sec)
that is a good hint, thanks. I'm not sure but this could be an issue with how we formed the query.
Can you add an entry to your calresources_rooms table and see if that works?
select * from calresources_vehicles;
The new version databas does not have this table (calresources_vehicles ) only "oc_calresources_vehicles" but...nextcloud database table does not have table "oc_calendar_vehicles" maybe ...The new version does not support vehicles
m.............It works
after 1.5 hour
Hey @mark543g how do you make it works ? Did u create the table oc_calendar_vehicles ?
Hey @mark543g how do you make it works ? Did u create the table oc_calendar_vehicles ? also at talble "oc_calendar_resources"
I had the same problem and could fix it with the following steps. But I can't tell which steps are mandatory and which could have skipped.
Also this led me to the next issue: https://github.com/nextcloud/calendar_resource_management/issues/82
The Job that is supposed to update the Calendar Rooms and Resources is not findng any backends in some cases but for others it works fine (like @ChristophWurst ).
Backends are collected in \OCP\Calendar\Room\IManager::getBackends