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

ownCloud 6.0.1-2 with DSM 5 Final #862

Closed
Sieges opened this issue Mar 10, 2014 · 20 comments
Closed

ownCloud 6.0.1-2 with DSM 5 Final #862

Sieges opened this issue Mar 10, 2014 · 20 comments
Labels

Comments

@Sieges
Copy link

Sieges commented Mar 10, 2014

Synology just released DSM 5 Final and this breaks the ownCloud installation. I.e. get the "white screen" when I try the web-login and my sync client gives this error message: CSync failed to connect though a proxy. 500 Internal Server Error.

I could not quite figure if this issue has been reported before with the DSM 5 Beta, but nevertheless, I am reporting it again.

@subascha
Copy link

Hi Sieges,

this issue was reported by myself (#846) and there seems to be a fix for the package but the package isn't updated yet.

Have tried to get it to work by myself changing the relevant permissions (http user, etc.) but I had no chance to get things back.

I downgraded my DS and now I will stuck on DSM 4.x until this issue is fixed ;)

@Sieges
Copy link
Author

Sieges commented Mar 11, 2014

I did see your post, but I would have thought there would be "noise" with this issue if everybody upgrading to DSM 5 is experiencing it..

Did you follow, or have access to a guide for downgrading? I am completely dependent on ownCloud and If I have to downgrade to get it working again, then I will just have to do this. Unless the fix is right around the corner?

@subascha
Copy link

Use Google Translate: http://www.experience2geek.com/?p=6369

Also I had to wipe the whole database and after downgrading get the whole db out of the backup. After playing around I had also reinstall ownlcoud package but I'm hoping you can get it done without reinstalling owncloud.

@Sieges
Copy link
Author

Sieges commented Mar 11, 2014

Oh great.... :/
Thanks for your help, anyway :)

@real-riddler
Copy link

Guys I found this and actually fixed the problem for DSM 5

N1TeSH1FT says:
So people, I've found the bug why the DSM5 my ownCloud installation is not accepted: A configuration setting that Apache can write lacked in / web / ownCloud folder.

Have 2 things done, but I think point 2 if necessary ranges:

1 chown-R http / volume1/web/owncloud
2 A tip for the QNAP slightly modified and applied to the newly moved files. Source: http://wiki.qnap.com/wiki/Category:OwnCloud (at the bottom for OC6)

I have done the following:

vi / etc / httpd / conf / httpd.conf (which is the apache.conf to new agency with a new name)

there I added the following at the bottom:

Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow, deny
allow from all

The stored and Apache starts with:
httpd-k restart (source thereof: http://forum.synology.com/enu/viewtopic.php?f=232&t=79801 )

Finally, I again deleted or renamed the old config file:
mv / volume1/web/owncloud/config/config.php / volume1/web/owncloud/config/config.php.old

Now I went to the ownCloud home, which reported no error message and have a new user registered -> done. works.

@Sieges
Copy link
Author

Sieges commented Mar 13, 2014

@real-riddler

Thanks for the info, but I think I have done something terribly wrong with my server. I am not very linux competent, so please help me out here,

I ran chown -R http / volume1/web/owncloud and now a lot of my services has been completely screwed. Wordpress redirects me to the install screen, and I get a ton of installation errors if I try to install it (such as WordPress database error: [Table 'wp_users' is read only]). Roundcube cannot connect to the email server, SSH refuses my connection, BusyBox is screwed, So i have to use telnet.... So yes. A lot has gone wrong. Please help me out.

@subascha
Copy link

@Sieges: Time to downgrade. But this time you have to wipe the whole system-data (don't panic, because data-partition untouched). Hopefully you have a config backup of your 4.3 system.

@Sieges
Copy link
Author

Sieges commented Mar 13, 2014

No... I do not.... :(

@subascha
Copy link

Your main problem when setting the rights was a letter-spacing between / and volume so you have changed the user http as owner to the whole system files and folders. Very bad idea. Plus also the permissions on your data partition are affected.

I recommend that you completely wipe the whole system. After that you can get the data and configuration back from backup. After this only owncloud should be your problem again.

@Sieges
Copy link
Author

Sieges commented Mar 13, 2014

F***!

I did not see the space after /....I just copied the command...
So basically I need to "format" my entire NAS?
I have 5TB+ (Pictures etc...) of files that I cannot "backup" to some external source. Will i have to wipe them as well?

Thanks for your help!

@subascha
Copy link

You can take a look at owner and group. Maybe the have not been affected.

You could do only a format without wiping your data and setting the permissions on your files generally to owner [USERNAME] and group "users". It is all related on how specific your rights were set. Synology is very generous given 777 to all directories ... urgh

@Sieges
Copy link
Author

Sieges commented Mar 13, 2014

Shit.... SSHd and Telnet deamon now refuses to start. This is not looking good at all.... I basically a COMPLETE system wipe is what is needed? I have to find external harddrives with capacity of copy all my files...?

@subascha
Copy link

You have to use synology assitent and follow this instructions: https://www.synology.com/en-us/support/tutorials/493 -> Reinstall the OS.

Your data-partition will be untouched as mentioned in the beginning of the article.

@Sieges
Copy link
Author

Sieges commented Mar 13, 2014

Forgive me for being thick, but this is a very frustrating situation (as I'm sure you can imagine :)).
My data is "scattered"; some of it is in the /volume1/ folder, some in the "home" directory, i.e. /volume1/home/username.. Nothing will be touched? So I can do this without any backup?... I see that I will need physical access to the NAS, and I will not have that for another 2 and half weeks... Again, i appreciate your hlep in this matter.

@Dr-Bean
Copy link
Contributor

Dr-Bean commented Mar 13, 2014

For the record, the suggested fix is more intrusive on the system than necessary (along with being poorly formatted...). Not recommended imo.

@Dr-Bean
Copy link
Contributor

Dr-Bean commented Mar 13, 2014

@Sieges Backups are always recommended when doing things of this nature. That said, @sjoswig's link should work without data loss.

@real-riddler
Copy link

@Sieges try running chown -R root /

@rswendel
Copy link

I had the same problem - just a white page on my owncloud website. Here is what fixed the problem for me (I found it in another forum):

Resulution was adding :/volume1/owncloud to the PHP path.

You can do this by opening Control Panel (Systemsteuerung) -> Web Services (Webdienste) -> switch to TAB PHP settings (PHP Einstellungen) and extend the path to your owncloud data directory.

@Dr-Bean
Copy link
Contributor

Dr-Bean commented Mar 15, 2014

Fyi, adding the owncloud path to the PHP open_basedir is already noted in the wizard with this commit.
So that should be fixed with the next package release (once the package center is in working order)

@Dr-Bean
Copy link
Contributor

Dr-Bean commented Mar 26, 2014

Closing this issue in favor of #846, better to concentrate discussion in one issue. Fyi, waiting on a review of @moneytoo, so a new package can be published in due time.

@Dr-Bean Dr-Bean closed this as completed Mar 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants