-
Notifications
You must be signed in to change notification settings - Fork 37
Blank Screen with NC 19.0 and Rainloop 7.0.1 #201
Comments
Which browser are you using? |
Same here. Tested with latest versions of Edge Chromium and Firefox. Problem since upgrade to Nextcloud 19. I'm using official nextcloud docker image. |
@fracarvic |
uBlock origin (but disabling it doesn't have any effect) |
No issue here with ublock and FF 77d 64 bits. No warning either. Are you all serving Nextcloud with Nginx? |
Yes, i am using nginx.
…________________________________
Von: Pierre-Alain Bandinelli <notifications@github.com>
Gesendet: Montag, 8. Juni 2020 13:07
An: pierre-alain-b/rainloop-nextcloud
Cc: Pecadis; Author
Betreff: Re: [pierre-alain-b/rainloop-nextcloud] Blank Screen with NC 19.0 and Rainloop 7.0.1 (#201)
No issue here with ublock and FF 77d 64 bits. No warning either. Are you all serving Nextcloud with Nginx?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Anything special in your nginx config? Any change in the MIME type of some files? |
Also can you check if mime.types get loaded properly (check nginx logs) or if you get configuration errors (nginx -t)? |
Polyfills list listed as text/html nginx conf is working fine:
I am using the default Nextcloud configuration. This is the Block which should affect the it
|
I'm using apache (with official nextcloud docker image) with default configuration, behind a nginx proxy (nginx-ingress, i'm using kubernetes) only with this config:
Working perfectly with nextcloud 18 official docker image. |
I'm not using any extensions on browser. Tested on my mobile (chrome for android) and same problem, white screen. |
OK so I think it is quite clear that the issue comes from the hosting. I have the feeling that all people impacted have the Nexctloud 19 official docker image. Correct? |
Nope, i am not hosting it with docker. I am using php7.3 and nginx the traditional way.
|
OK so maybe Nginx is the smallest common factor here... |
That seems to be strange. What has been changed before with nc 18.x and now?
|
i'm also working on a installation with docker+nginx |
docker + traefik, experiencing same problem, same browser logs about script mime type. |
So we need to understand why the server Nginx is sending this weird mime/type for js files! Do you have anything around mime types in your respective Nginx configs? |
Looking around, there is nothing else than i have already posted in regards to nginx and mime type. Even in the default /etc/nginx/mime.types File, the JS files are referenced correctly
|
and yet the server is serving them as text/html... |
I think the key here is the response code 302, a temporary redirection. polifills.min.js returns a 302 redirection to /apps/files, and this response seems generated by nextcloud php, not apache or nginx. More info, I'm using SSO with keycloak SAML. |
Indeed this is strange - we have something to follow! |
Has anyone a public isntance where I could test the behavior as I cannot replicate it on my test and production instances? |
ok, i think i find the problem. I have two app folders, one for included apps and anoother for custom apps. In config.php:
Rainloop is installed in custom_apps and if I move to apps rainloop starts working perfectly. |
Haven't read through the whole topic but wanted to create an issue for the same bug. I figured the problem in my case. The generated html has links to static files that are not present on the server (404). But the URL is just slightly wrong. The It produces:
instead of:
I have no idea whether other parts may have wrong URLs too, but fixing this single line above at least shows the admin interface. |
@bsherwoodofdaptiv FYI you don't need to be following the stable channel if you don't want to automatically update across major versions. Use |
@waltherjj's Hack worked for me, too. Thank you very much! |
I have the same problem but not able to edit such files, because using a hosted instance on hetzners storage-share. Nextcloud 19.0.1 Is it possible that there will be a patch on appstore soon? |
Well, unfortunately for now, there is no simple hack identified (unless I missed something) that would work both for classical deploments and a custom apps path. Am I misunderstanding the situation here? |
I have the same issue at Hetzner, cannot edit files because it is a managed instance. I would be very good if you could adress the issue on the Nextcloud Marketplace for usage within the NC platform. Kind regards! |
Hi Pierre Can you please change the compatibility in the NC Store to not compatible with NC19 then? Do you intend to release a working update or is the plugin for NC19 obsolete now? Kind regards! |
In fact Rainloop is compatible with NC19, I have hundreds of users using it without issue. The issue only appears when one chooses to use a custom path for the apps folder. |
It's pretty standard if you are using the official Nextcloud docker image: https://github.com/nextcloud/docker which I suspect most of the "managed" Nextcloud providers are using in order to automate their upgrades and rollbacks. The custom_apps setup is describe in the README.md towards the end |
Yes, as far as i can see, the Custom apps folder makes sense, if you want to avoid problems when updating your NC instance and separate between the Official and Custom ones. https://docs.nextcloud.com/server/19/admin_manual/apps_management.html#using-custom-app-directories Wouldn't it make sense to throw away the conditional if and replace the path with the variables from the Documentation?
Because with the current workaround, we are basically doing this step manually by replacing the default path "/apps/rainloop/app" with the custom one "/customapps/rainloop/app" which basically just overrides everything in the condition. |
Hi Pierre Can we expect a resolution for people with hosted instances who are not able to correct the code in the files directly? Do you have any intention to fix this? Because currently it does not look like it. This is marked as a bug for two months and nothing happens? Why is there no reply to Pecadis' message? Custom App directories are common, well documented and compatible with pretty much every plugin - except yours! |
@bungyguy no need to be personal on him. He is doing this by himself without any payback, so be kind or do something contructive |
@Pecadis and @cvandesande thank you for pointing out the context in which custom_apps are used, I understand now why the apps are placed in the custom folder. Your pseudocode makes absolute sense. @bungyguy yes clearly your message is not helping, every minute I spend on this plugin is taken from:
If you put forward a pull request to fix this, this would be of tremendous help and I pledge to review and accept it in very little time. That would be a better way forward and smarter than your message. |
Hi Pierre I did not want to be rude, sorry if thats the case. I really just wanted to know if a fix is coming or if the plugin is now obsolete on some hosted environments. A solution was proposed by Pecadis and others, but no reaction. I am not a developer, so I cannot help with a pull request. However, I am more than happy to support the project financially, so let me know your paypal address and I will do whatever I can towards the project. Anyways, thanks a lot for your work on the application! |
I have a fix to propose. I will publish 7.0.2 on the app store and you will tell me if this works. Then maybe we will be able to cheer and close this issue. |
And @bungyguy if it works and if you want to pay me a coffee or a beer, here you can go https://paypal.me/pierrealainb |
Hi Pierre Thank you so much for your efford on fixing this. I can confirm everything is smooth on Hetzner NC19 and RL 7.0.2. Have a nice Weekend! |
Looks also good with hoellen/nextcloud 👍 Thanks |
@pierre-alain-b it works on my instance as well. That seems to have solved the issue =) |
Working in Docker 👍 |
Thank you everyone for helping understand the conditions in which the bug occurred, for reporting about it and for your patience! |
Hi Alain,
first, i would like to thank you for your work. I am using Rainloop since Years and really appreciate your doing.
I have lately upgraded to 19.0 by accident and have seen that Rainloop just started showing a blank Screen when opening the App. Do you have an idea where this could come from?
I have seen that the Browser Console is refusing to execute some scripts because the Mime Type doesn't match.
However, even if i disable the header "X-Content-Type-Options" in nginx, it still doesn't work.
The Logs in RL itself seems to be fine and connecting to the Mailserver Properly as it should.
How can i support you to solve this issue?
Best Regards
The text was updated successfully, but these errors were encountered: