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

Lost permissions after upgrade from stable6 to master #8973

Closed
PVince81 opened this issue Jun 10, 2014 · 4 comments
Closed

Lost permissions after upgrade from stable6 to master #8973

PVince81 opened this issue Jun 10, 2014 · 4 comments

Comments

@PVince81
Copy link
Contributor

Steps to reproduce:

  1. Check out stable6 (4bc0919)
  2. Set up ownCloud from scratch (test with MySQL)
  3. Upload a few files into a subfolder
  4. Check out master (ecc41fe) and git submodule update
  5. Run the upgrade
  6. View the file list in the web UI

Expected result

Upload button is visible
The database table oc_permissions should not exist.
The table oc_filecache has its permissions column must contain the permissions.

Actual result

Upload button is missing.
Permissions are set to zero.
The database table oc_permissions still exists.
The table oc_filecache has its permissions column filled with zeroes.

Versions

Upgrade from stable6 to master.
DB: MariaDB 5.5.33
PHP: PHP 5.4.20 (cli)

Please have a look @icewind1991 @DeepDiver1975

@PVince81
Copy link
Contributor Author

FYI @karlitschek @georgehrke this is probably what you experienced before

@PVince81
Copy link
Contributor Author

Same issue with sqlite.

There is something suspicious in the logs:

{"reqId":"53972653a0437","app":"PHP","message":"file_get_contents(\/appinfo\/info.xml): failed to open stream: No such file or directory at \/srv\/www\/htdocs\/owncloud\/lib\/private\/app.php#535","level":0,"time":"2014-06-10T15:37:56+00:00","method":"GET","url":"\/owncloud\/core\/ajax\/update.php?requesttoken=bf2cedd3b0219171adb6"}

Not sure if that could break the upgrade.

@PVince81
Copy link
Contributor Author

The fix is here: #8901

@PVince81
Copy link
Contributor Author

Fixed by above PR.

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

No branches or pull requests

2 participants