Open flexibeast opened 5 years ago
I think we’ll need some more info on your installation to debug this, like console and webserver logs, and which version of Maps you use. :)
Sorry, yes, i should have provided more details; i might be trying to juggle too many things at the moment ....
i'm running the httpd
server that comes with OpenBSD 6.5, together with php-fpm
7.1, behind squid
4.6 running as a reverse proxy (though this issue also occurs without the reverse proxy). Both of the latter have been installed via the OpenBSD package system.
The Maps app is version 0.1.2.
The server access logs show a request for /nextcloud/index.php/apps/maps/contacts
returning 500. Manually trying to access that URL in the browser returns an Nc page with the error "Access denied CSRF check failed".
Oh, and i'm also running redis
4.0.14 as my memcached, again installed via the package system.
I have the same issue with Nextcloud 15.0.11 on Yunohost 3.6.4.6 (stable) and Maps app version 0.1.2. Don't know how to provide such logs.
Another data point: i've now upgraded to Nc 16.0.4 via the OpenBSD package system, and though contacts are still not listed, i also don't even get the "Failed to load contacts" error.
I'm on 17.0 and I was previously able to see my contacts on the map, however, now nothing shows when I toggle the option. The other items in the list appear to display points correctly when I toggle them (e.g. "your photos").
i have the same problèm
The Maps app is version 0.1.2.
Nextcloud 15.0.11
Error: Call to undefined method OC\ContactsManager::getUserAddressBooks()
@pwepwe973 Thanks for the error message. So, Maps is now compatible with NC >= 16 and <= 18. It was a mistake to keep NC 15 as minimum compatible version.
Sorry about that but I doubt we'll make it compatible with NC < 16.
@pwepwe973 Thanks for the error message. So, Maps is now compatible with NC >= 16 and <= 18. It was a mistake to keep NC 15 as minimum compatible version.
Sorry about that but I doubt we'll make it compatible with NC < 16.
I am under n 15 because openmediavault not allow me to install version 16 because of the php version.
I tried with docker not possible to contact me at the database
Could you test if this is fixed for you with the latest release 0.1.4? Thanks! :)
@jancborchardt: Thanks for your work, and the update! i've been trying to upgrade to 0.1.4 over the past 24 hours, and unfortunately, i'm unable to do so, even though i was able to upgrade most other apps - e.g. Calendar - just fine. (The Right-click app is the other app that won't update, to 0.15.1.) In the case of trying to upgrade Maps, i get a progress spinner for a while, then the process silently fails.
Do you have any suggestions on how to proceed?
Same problèm for me My solution is download directelly in the website of the app , extract the zip in the apps folder and after juste activate maps
Could you test if this is fixed for you with the latest release 0.1.4? Thanks! :)
I use the docker nextcloud 17 this is my solution for this bug😅
@flexibeast there is a workaround explained in Issue https://github.com/nextcloud/maps/issues/240#issuecomment-576113700
We're still investigating how to fix the update process for the maps release.
i'm now running 0.1.4 on Nc 18.0.0, and the error message is no longer appearing, but still none of my contacts (as available via the Contacts app) are listed .... Perhaps i'm misunderstanding the 'Contacts' feature in Maps?
i'm now running 0.1.4 on Nc 18.0.0, and the error message is no longer appearing, but still none of my contacts (as available via the Contacts app) are listed .... Perhaps i'm misunderstanding the 'Contacts' feature in Maps?
Only contacts with some kind of geo information ar show. Do your contacts have a geo tag or just an address? There are two ways geo tags are shown directly addresses needs to be translated. Can you place a contact with the right click menu then we would know if the geo tag contacts are working.
In my case: when I click "address book" the url is wrong: /index.php/apps/contacts/All%20contacts/bf4b715b-4d00-4589-b10c-38c344c5560e~contacts
this works as expected: /index.php/apps/contacts/All%20contacts/bf4b715b-4d00-4589-b10c-38c344c5560e~kontakte
Sorry i've taken so long to get back to you on this.
i've now manually installed 0.1.5 (on Nc 18.0.3).
In the Maps app, when i successfully search for an address, i get a dialog with a button to "Add contact address". If i select that, i get a new dialog with a different address (the correct street, but the wrong street number), and a text box from which i can select an existing contact. Selecting an existing contact and then "Add address to contact" successfully adds the address to the contact, as displayed in the Contacts app.
So in terms of the problem described in this issue's subject line, it seems to have been resolved - thank you. :-)
However, if i then go to the Contacts app and edit the address (so that it has the correct street number and includes the unit number) then go back to the Maps app, select "Your contacts", then the "Not grouped" entry (since none of my contacts have groups associated with them), nothing happens - the number "1" next to "Not grouped" disappears, but that contact is not displayed under the "Not grouped" heading. Further clicking only makes the "1" reappear and disappear. So there is no way to select that contact and go to the relevant location on the map.
Am i doing something wrong?
Can you some provide the address or at least an abstract representation of the address as addresses are different in every country.
So what we do to get the coordinates is to make a request to https://nominatim.openstreetmap.org/ So if you copy all address fields into one sting and past this into the search field, this gives the coordinates where we show the contact. If nominatim cannot resolve the address the contact is not shown. Then you could check the openstreetmal database if the address is correctly in there.
Context: OpenBSD 6.5, Nc 15.0.5, installed via the package system.
None of my Nc contacts are listed in the Maps app. When i click on the "Your contacts" entry, i receive a "Failed to load contacts" error at the top of the page.