Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading to 4.1.1 results in "Could not load facilmap" #25

Closed
cloo opened this issue Jun 25, 2024 · 8 comments
Closed

Upgrading to 4.1.1 results in "Could not load facilmap" #25

cloo opened this issue Jun 25, 2024 · 8 comments

Comments

@cloo
Copy link

cloo commented Jun 25, 2024

Upgrading Facilmap from 3.4.0 to 4.1.1 appears to go flawlessly, but UI only shows a message "Could not load FacilMap"
image

Facilmap service is running.
Upgrade log: https://paste.yunohost.org/raw/fasuxomisi

Context

  • Hardware: Old laptop or computer
  • YunoHost version: 11.2.17
  • I have access to my server: Through SSH
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • If upgrading, current package version: can be found in the admin, or with yunohost app info $app_id
@StarSyth
Copy link

I have the same issue

@cdauth
Copy link
Collaborator

cdauth commented Jun 25, 2024

Could you share a link to a broken instance, or at least share the output of the browser console?

@cloo
Copy link
Author

cloo commented Jun 28, 2024

thanks @cdauth for looking at it. The site is here. I will probably downgrade it soon-ish, because I need functionality, so when I do, html output is here.

@cdauth
Copy link
Collaborator

cdauth commented Jun 28, 2024

In v4.0.0, the JavaScript files have moved under /_app/ (sorry, I should probably have documented this somewhere). It seems that YunoHost requires SSO for that, so the JavaScript files forward to a login form. I’m not familiar enough with YunoHost to understand why this is happening. @ericgaspar any ideas?

@cdauth
Copy link
Collaborator

cdauth commented Jul 4, 2024

@cdauth
Copy link
Collaborator

cdauth commented Jul 4, 2024

I have identified the problem and will be working on a fix soon.

For now it seems like it only works when FacilMap runs on the root path (/) of the domain.

@cdauth cdauth mentioned this issue Jul 5, 2024
2 tasks
@cdauth
Copy link
Collaborator

cdauth commented Jul 5, 2024

I have released FacilMap 4.1.2, which should fix the problem. I don't know how the YunoHost upgrade cycle works and when the new version will be available there.

@cdauth
Copy link
Collaborator

cdauth commented Jul 5, 2024

The new version seems to be available now. Upgrading should fix the issue. Please report any further issues that you encounter.

@cdauth cdauth closed this as completed Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants