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

Error creating user specific configuration directory '/var/www/.local/share/libgda' midgard-core #186

Open
seydu opened this issue Dec 16, 2012 · 13 comments

Comments

@seydu
Copy link

seydu commented Dec 16, 2012

Hi.
I am trying some of the bundles of Symfony CMF in an existing Symfony2 projet. I tried using Midgard instead of Jackrabbit. But i get this error: Error creating user specific configuration directory '/var/www/.local/share/libgda' midgard-core (in Apache error log)

@flack
Copy link
Member

flack commented Dec 17, 2012

I think this is the same problem as midgardproject/midgard-php5#90

@seydu
Copy link
Author

seydu commented Dec 17, 2012

Yes I think it is.

@piotras
Copy link
Member

piotras commented Dec 18, 2012

Creating '/var/www/.local/share/libgda' directory might be the best workaround. Error comes from libgda and there's nothing we can do.

@flack
Copy link
Member

flack commented Dec 18, 2012

So the solution from https://bugzilla.gnome.org/show_bug.cgi?id=683262#c2 won't work in midgard?

@seydu seydu closed this as completed Dec 18, 2012
@piotras
Copy link
Member

piotras commented Dec 18, 2012

It's not a solution.

  1. We do not use Gda Config.
  2. It doesn't resolve issue for exisiting installations.

In other words, we need to start to use fake gda config and "fix" the problem in development branch only.

@seydu seydu reopened this Dec 18, 2012
@seydu
Copy link
Author

seydu commented Dec 18, 2012

Sorry for closing it accidentally !

@seydu
Copy link
Author

seydu commented Dec 18, 2012

I think Midgard shouldn’t be writing there ! If it does this location should be configurable at run time. When I saw this error in my logs my first reaction was "Did I catch a virus, is my server being attacked ?". Hope other people wont react the same way, if they do it won't help Midgard (many people want to use Java only as last resort)

@flack
Copy link
Member

flack commented Dec 18, 2012

Creating the directory doesn't seem to solve the problem, because now I get:

PHP Warning:  Unknown: I/O warning : failed to load external entity "/var/www/.local/share/libgda/config" in Unknown on line 0

@flack
Copy link
Member

flack commented Dec 18, 2012

creating an empty config file doesn't help either:

PHP Warning:  Unknown: /var/www/.local/share/libgda/config:1: parser error : Document is empty in Unknown on line 0

@flack
Copy link
Member

flack commented Dec 18, 2012

This removed the error for me:

https://friendpaste.com/21WFtusmIesUcgQ8eqe8xQ

@seydu
Copy link
Author

seydu commented Dec 18, 2012

Thanks. Where should I put this XML content ?

@flack
Copy link
Member

flack commented Dec 18, 2012

/var/www/.local/share/libgda/config

@seydu
Copy link
Author

seydu commented Dec 18, 2012

Thanks, I will try it.

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