Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Action load_repository_info triggered when no user logged (and no repo active) #617

Closed
matsimon opened this issue Aug 4, 2014 · 8 comments

Comments

@matsimon
Copy link
Contributor

matsimon commented Aug 4, 2014

Hi

I really am looking forward to 5.3.2 but (the as it seems) same issue happened as I had here
#603 while preparing a pull request, now this happened
after updating from 5.3.1 DEB to 5.3.2 on Debian Wheezy.

What I did so far:

  • Cleared every single .ser file in /var/lib/pydio/data/cache I could find
  • Cleared the APC cache using apc.php as part of the APC cache.
  • Restarted Apache
  • Cleared the browser cache

Yet it still happens...

And I'm getting this in the error Logs of apache:

[Tue Aug 05 00:xx:xx2014] [error] [client <ip removed>] PHP Fatal error:  Call to a member function getId() on a non-object in /usr/share/pydio/plugins/core.conf/class.AbstractConfDriver.php on line 1113, referer: https://<hostname-removed>/pydio/

Will continue to investigate for what I can, I hope this can be avoided during regular updates by time of a stable release.

--- Mathieu

@matsimon
Copy link
Contributor Author

matsimon commented Aug 4, 2014

The code at this line mentioned looks quite different from what it was in 5.3.1.
I was able to re-install 5.3.1 from /var/cache/apt manually and things started to work again. sigh

I realize lots things were shuffled around, and that at loading the person's repo something isn't going as it should when moving to the new release.

@cdujeu
Copy link
Member

cdujeu commented Aug 5, 2014

Update from 531 to 532 should be normally not so complex.. Had you also simply cleared the cookies (by unlogging)?

@matsimon
Copy link
Contributor Author

matsimon commented Aug 5, 2014

Thanks Charles for the prompt reply

If we find the cause to this we could add a note to the update information page so we can avoid others complaining ;-)

I just re-tried

  • Update to 5.3.2
  • Cleared APC opcode cache
  • Restarted Apache
  • Cleared .ser files
  • Loaded first page in Private Browsing mode (i.e. nothing cached)
  • Page loads with red bar popping up saying "Internal Server error: you should check your server web server logs to find what's going"
  • Apache logs show says PHP fatal error
  • At login I have said issues.

Just to share more information on the setup:

  • Stock Debian wheezy with Apache, MySQL and PHP5.3
  • LDAP authentication
  • smbclient workspaces -> Maybe things have changed in here for configurations

I may not be able to give a quick update, but I'll see if I can do a comparative install with a close-to-identical config and check if the config data in the DB store looks and that it would require updating (maybe manually fora dev release) some things.

@cdujeu
Copy link
Member

cdujeu commented Aug 5, 2014

What is the complete PHP Fatal error?

@matsimon
Copy link
Contributor Author

matsimon commented Aug 6, 2014

That is all I get in the error logs. When I turn loglevel to "debug" all additional errors I get is just SSL debugging stuff for the SSL vHost.

The error message points to line 1113 in class.AbstractConfDriver.php, and yes that happens even before loggin in.

@cdujeu
Copy link
Member

cdujeu commented Aug 6, 2014

ah ah interesting, indeed not logged = no current repository => fatal error trying to get its ID. The point is that it should no go through that part when not logged in. Do you have guest user enabled or something like that? Can I access your install?

@matsimon
Copy link
Contributor Author

matsimon commented Aug 6, 2014

Now that sounds interesting, I've sent you access information in private to your @pydio.io mailbox.

@cdujeu cdujeu changed the title 5.3.1 -> 5.3.2 (DEB): UI errors (yet another caching irony?) Action load_repository_info triggered when no user logged (and no repo active) Aug 6, 2014
cdujeu added a commit that referenced this issue Aug 6, 2014
@cdujeu
Copy link
Member

cdujeu commented Aug 6, 2014

should be fixed by cc6b65b

@cdujeu cdujeu closed this as completed Aug 6, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants