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

PHP Error fopen directly after installation/setup #13736

Closed
mmattel opened this issue Jan 28, 2015 · 8 comments · Fixed by #21923
Closed

PHP Error fopen directly after installation/setup #13736

mmattel opened this issue Jan 28, 2015 · 8 comments · Fixed by #21923
Assignees
Milestone

Comments

@mmattel
Copy link
Contributor

mmattel commented Jan 28, 2015

Ubuntu 14.04, MySQL 5.5.41, PHP 5.5.9, nginx 1.7.9, owncloud from git master cloned via ocdev minutes ago, (no adoptions on the code cloned)

After I finalized the installation, I looked for any errors whic may have been logged, there was only one...

Error PHP fopen(/xxx/config/config.php): failed to open stream: No such file or directory at /xxx/lib/private/config.php#168

@DeepDiver1975
Copy link
Member

@mmattel do you have any explicit errorious observeration? Or is this 'only' about reporting the error from the logs? Thanks a lot!

@MorrisJobke
Copy link
Contributor

For the installation this is a normal error message. It's produced when the installation is initiated. There is no config.php and it tries to open it.

@mmattel
Copy link
Contributor Author

mmattel commented Jan 28, 2015

As for now, I do not have any error identified, but if PHP reports an error like this, I wanted to file an issue. You never know what is behind...

Just reading the comment of @MorrisJobke. I understand, but this is really ugly, and I would not call a log entry like this "normal". Not reading/knowing/remembering all the issues on github, an admin would rethink the term "confidence".

@MorrisJobke
Copy link
Contributor

@mmattel I know that this isn't the way it should work, but it is the way it currently works. I will have a look at the config stuff in the 8.1 release cycle. Nothing critical for the release.

@MorrisJobke
Copy link
Contributor

ref #13104

@ghost ghost mentioned this issue Jan 29, 2015
LukasReschke added a commit that referenced this issue Jan 26, 2016
When installing ownCloud the first time the first thing that an admin saw was an error message:

> Error   PHP   touch(): Unable to create file owncloud.log because Permission denied at /var/www/owncloud/lib/private/log/owncloud.php#48

Or something related. This lead to a lot confusion as can be seen in our forum and in our issue tracker. This change should make the error messages disappear in most cases (e.g. where the file can actually be written). To test this:

1. On master install ownCloud and check owncloud.log => Error message
2. On this branch install ownCloud and check owncloud.log => No error message

Fixes #13736 and #12893
@LukasReschke
Copy link
Member

#21923 should fix that as well

@mmattel Mind testing?

@mmattel
Copy link
Contributor Author

mmattel commented Jan 26, 2016

Can do but earliest end of the week.

@MorrisJobke MorrisJobke added this to the 9.0-current milestone Jan 27, 2016
@lock
Copy link

lock bot commented Aug 6, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants