I am failing to install owncloud 8.1.1-7 on Synology DSM 6beta2.
It always ends with the error "Incorrect MySQL root password".
I made sure the trust level is correct, even had it on "Any publisher".
I have phpMyAdmin installed and checked that the root password is matching and working.
Also I created a folder /volume1/owncloud" beforehand.
Is there a way to see any log output?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
I think that owncloud has the same issues with Synology DSM 6Beta as Newznab has. Namely mysql is nolonger at /usr/syno/mysql/bin/mysql, so the installer.sh fails on the preinst stage through failing to find the mysql binary, not login.
Seems we'll need to have some tests for DSM version to change at least that variable.
I've also just encountered this issue, and had also created the owncloud folder beforehand.
Same issue here while trying to install Roundcube on DSM6.
@the1ts I guess the binary is now located in /<volume>/@appstore/MariaDB/usr/bin/mysql
hi there.. based on your previous comments, I as able to get this installed by:
Same problem here: DSM 6 and the password is wrong whatever I do... Any solution for that???
I had to SSH in and set the mysql root password manually to fix this.
http://www.herlitz.nu/2013/07/31/administering-a-synology-mysql-server/ http://www.herlitz.nu/2013/07/31/administering-a-synology-mysql-server/
On 16 Apr 2016, at 12:54 AM, chbwien [email protected] wrote:
Same problem here: DSM 6 and the password is wrong whatever I do... Any solution for that???
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub https://github.com/SynoCommunity/spksrc/issues/2136#issuecomment-210491542
@supachupa , it works ? Can you explain us how you fix it ? Thx :)
I have given up. I've installed owncloud myselve (without the package):
Everything works as expected and you can do the backup using hyperbackup (MariaDB, web/owncloud, shared owncloud diectory). You have to add another directory to the php basedir as explained by the owncloud status.
Same problem here. Is not just owncloud, any package with Mariadb dependency is failing to install. I even restore the Synology to factory defaults but the problem persists.
What worked for me
mkdir /usr/syno/mysql
mkdir /usr/syno/mysql/bin
ln -s /usr/bin/mysql /usr/syno/mysql/bin/mysql
And had to do it again after upgrade DSM :(
@buzter This is a bugtracker for SynoCommunity packages. It's fine if you don't use one of our packages, we don't mind that at all, but you don't need to suggest a manual installation as an alternative here.
@Dr-Bean Okay, I understand. Sorry for that.
I really tried to make Your package work. But I failed. So I only wanted to show how to make OC work in other ways.
Sure, but that doesn't belong here. Your suggestion is the same as saying: "Hey, if your car has a flat tire because of bad road conditions. Don't repair the car, just get yourself a kitcar instead: after building it, it works fine for me!"
We know the package doesn't work on DSM6...that's why the issue is open, and labeled as such.
Dear “Dr” Bean
Not sure if your analogy works or if I can come up with one that works better, but it’s more like needing to get to work when your car breaks down and your neighbour offers a workaround while you wait for the dealer to get through the backlog. You do sound a little unnecessarily defensive, for some reason. The spirit of open source is that we’re all helping each other for free.. so if we’re finding workarounds, it’s meant to help each other get things working until the packages are fixed.. nothing more. Do you think we are happy to sit around for a few months until things get fixed when we can fix it ourselves? No. If need be, I could compile a kernel from scratch and build up an OS that suits my purposes.. spending many hours in the process, but I sure as hell don’t want to waste my time on that shit anymore. We all acknowledge that a package is the most efficient way for the masses… so keep up the good work, but don’t get defensive if we circumvent slow processes. We do so because we want stuff now and we also don’t want to press you knowing that it’s all voluntary. Once things are fixed, we will gladly use that method!
Thanks for your hard work.
On 15 Jun 2016, at 8:45 PM, Dr-Bean [email protected] wrote:
Sure, but that doesn't belong here. Your suggestion is the same as saying: "Hey, if your car has a flat tire because of bad road conditions. Don't repair the car, just get yourself a kitcar instead: after building it, it works fine for me!"
We know the package doesn't work on DSM6...that's why the issue is open, and labeled as such.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/SynoCommunity/spksrc/issues/2136#issuecomment-226152302, or mute the thread https://github.com/notifications/unsubscribe/AJHp_vTOer5PbO5XwAE7Mqywqxra1ZS_ks5qL9fMgaJpZM4HZsr2.
Okay, I didn't wan tto get into a discussion about it. Again, this is not a generic discussion forum to talk about all things Synology or Owncloud. This is a package bugtracker. Feel free to contribute, but please keep it focused on the package.
Any update on when this issue will be fixed? Should I hold my breath (it's been open since Feb 13th it seems) or just go for the manual install?
Didn't work my solution?
It freaks me out.. I want to uninstall owncloud I have this error also for like ages :( all 'fixed' wont work for me. Or I must have missed one..
Hi, im getting same error - ANY updates?
So, I have made a backup of my NAS, did a format and did a restore of settings, files but no applications :)
Same problem here. Solution would be awesome. It's really annoying.
I'm encountering this issue as well. Running DSM6, and unable to install OwnCloud. I'dd like a more permanent solution instead of doing it every time I install a new update.
Hallo to all.
Take a look at the date of my comment......
OwnCloud is still not running on DSM 6.
Any solutions? Any updates?
Thanks.
Unfortunately we're still having issues with DSM 6 and our packages. We are looking at possible solutions, but it's not simple and it affects all packages, not just this one.
I can confirm this issue is still present in 8.1.1-7 on a DS215j running DSM 6.0.2-8451 Update 2 with vol1/ownCloud created a HTML permisisons applied before trying install.
any news?
Same question ... Any solution ? Thanks to all who hav spend some time with this !
@Dr-Bean "This is a bugtracker for SynoCommunity packages. It's fine if you don't use one of our packages, we don't mind that at all, but you don't need to suggest a manual installation as an alternative here."
This is normally a sane advice, but this issue is opened already for a year! So either close the issue as "wontfix" and remove owncloud package, because it's broken, or make a fix I would say.
I did an installation from scratch on DSM 6.0.1 (virtual machine):
sudo mkdir /volume1/owncloudopen_basedir appended with :/dev/urandom:/volume1/owncloudAnd ownCloud works properly.
May you please try again after resetting MariaDB root password ? Or after reinstalling MariaDB ?
WARNING: do not uninstall owncloud package on DSM 6, or you will lost management interface !! Fix to apply on SSH: synoservice --enable DSM; synoservice --start DSM
I am working on ownCloud package fixes for DSM 6.0: typically check preconditions on packages, document post-configuration in webstation if cannot be scripted
Is there some progress in the 'new' owncloud package for DSM6.0?
Manual installation doesn't work for me!
Installation of the owncloud package on the latest DSM 6.1.5 15254 fails with the same error as most other packages hosted at synocommunity 'incorrect mysql root password'
Is any work being done on this generic problem in the years since it was first reported?
There is no chance ownClound package to be upgraded - I should probably disabled it just now. I plan a brand new DSM 6 package for NextCloud.
That works for me 👍
ssh admin@syno
sudo su -
find / -type f -iname "mysql"
/run/lock/subsys/mysql
/volume1/@appstore/MariaDB/etc/logrotate.d/mysql
/volume1/@appstore/MariaDB/usr/bin/mysql
mkdir -p /usr/syno/mysql/bin
ln -s /volume1/@appstore/MariaDB/usr/bin/mysql /usr/syno/mysql/bin/mysql
mkdir -p /usr/syno/mysql/bin
ln -s /usr/bin/mysql /usr/syno/mysql/bin/mysql
chmod +x /usr/syno/mysql/bin/mysql
mkdir /volume1/private/owncloud
This works nowadays.
mkdir -p /usr/syno/mysql/bin ln -s /usr/bin/mysql /usr/syno/mysql/bin/mysql chmod +x /usr/syno/mysql/bin/mysql mkdir /volume1/private/owncloud
Yes, this works for me!
Does not work for me. owncloud installs successfully but then its web interface cannot be accessed.
I found this in my logs:
/var/packages/owncloud/scripts/installer: line 63: /etc/php/conf.d/com.synocommunity.packages.owncloud.ini: No such file or directory
/var/packages/owncloud/scripts/installer: line 64: /etc/httpd/sites-enabled-user/com.synocommunity.packages.owncloud.conf: No such file or directory
update:
mysql now resides in /bin and still needs to be linked to /usr/syno/mysql/bin/mysql
and a manual creation of /volume1/owncloud was necessary.
Most helpful comment
What worked for me
source: https://github.com/SynoCommunity/spksrc/issues/2217