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

Synology: Firefox Sync can not be uninstalled (Incorrect MySQL root password) #2093

Closed
rbieb opened this issue Jan 22, 2016 · 16 comments · Fixed by #5942
Closed

Synology: Firefox Sync can not be uninstalled (Incorrect MySQL root password) #2093

rbieb opened this issue Jan 22, 2016 · 16 comments · Fixed by #5942
Labels

Comments

@rbieb
Copy link

rbieb commented Jan 22, 2016

Version is 1.5.2-3

MariaDB was installed before installing Firefox Sync since it came as a dependency. No matter what password I enter, ffsync always complains it's wrong, therefore preventing me from uninstalling the package.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@nickbroon
Copy link
Contributor

This is also a problem with installing tt-rss. See #2056 (comment)

@Dr-Bean
Copy link
Contributor

Dr-Bean commented Jan 23, 2016

Please look at CONTRIBUTING. Could you add the missing information please, in particular the DSM version?

If DSM6 Beta: I assume you already know this, but otherwise: it's a beta. Synology seems to have a habit of breaking backwards compatibility with new DSM versions, and breaking our packages in the process.

It could be related to the root user changes, but that's not clear to me atm. If you have shell access, you can try to play around with the following command, and see if you can get access or not: https://github.com/SynoCommunity/spksrc/blob/master/spk/ffsync/src/installer.sh#L41.

This will probably affect all packages that use MariaDB...

@Hubfront
Copy link

I can confirm that the root user account still works with my beta 2 with old password. I can login as root to Mysql via phpmyadmin and also login successfully via console as root with correct password. The users in MariaDB seems to be not affected by the upgrade from DMS 5.2 -> DSM 6.0 b2. There is the root user and ffsync user in my mysql table. I'll try to uninstall ffsnc and reinstall it.

UPDATE: same problem uninstalling as rbieb. Did not go through because "Incorrect MYSQL root passowrd". Login to mysql with root account via shell on console works, weird, that the above uninstall shell-script gives a failure.

@Sprinkle-Master
Copy link

@rbieb
It is easy to blank out the root password with MariaDB. Maybe you are trying to use a password when there isn't one. Also, I ran into this last night, if root pass is blank, Firefox Sync will not reconcile. You have to put something, anything, into the root pass with MariaDB then Firefox Sync will take it.

@Sprinkle-Master
Copy link

@Hubfront
Could you be in the same boat with a blank password? I am still a nub but... If root pass is blank, would shell let you in with anything you give it? Just a thought but it would make for a decent explanation.

@Dr-Bean Dr-Bean added the dsm 6 label Mar 3, 2016
@Hubfront
Copy link

Hubfront commented Mar 8, 2016

@Sprinkle-Master
Before i wrote herein i also blanked out the root password in the mariadb database. The problem with the uninstaller persisted though.

@Dr-Bean
Copy link
Contributor

Dr-Bean commented Mar 29, 2016

Copied mostly from #2217:
We can use /usr/bin/mysql when the buildnumber is associated with DSM6. The approach will probably be similar to this.

PR's welcome, but please note that this affects all packages using MariaDB, so the PR should take all those packages into account.
Secondly, after merging a PR/change to fix this particular issue, it does not mean the affected packages will immediately work after upgrading. There are several reasons why packages on DSM6 are broken, this is just one of them. Some packages will be affected by multiple changes in DSM6.

@Dr-Bean
Copy link
Contributor

Dr-Bean commented Apr 13, 2016

Done in part with d690076. This solves the mysql location, but it does not solve the issue with creation of users (#2216), and we'll also need to have the DSM6-final toolchains (not yet released)

@mettix
Copy link

mettix commented Apr 27, 2016

Hello!

I'm also stuck with the uninstall of Owncloud.

-> Tried resetting MariaDB root password from the MariaDB GUI
-> Tried resetting password from SSH

Both shots didnt work out, still throws error; MySQL incorrect root password.

Any other thoughts?

@gnacho
Copy link

gnacho commented May 28, 2016

What worked for me:

mkdir /usr/syno/mysql
mkdir /usr/syno/mysql/bin 
ln -s /usr/bin/mysql /usr/syno/mysql/bin/mysql

source: #2217

@qu1gl3s
Copy link

qu1gl3s commented Aug 2, 2016

Any progress on this issue.

Has Synology released the toolchains?

@calvinleea
Copy link

@gnacho

What worked for me:

mkdir /usr/syno/mysql
mkdir /usr/syno/mysql/bin
ln -s /usr/bin/mysql /usr/syno/mysql/bin/mysql
source: #2217

That really works for me when installing the fengoffice to my dsm6.0

thanks

@Sigawan
Copy link

Sigawan commented Feb 6, 2018

Years later.. most packages still will not install throwing error : incorrect mysql root password.
Should these packages all be marked DSM 5.xx only?

@ymartin59
Copy link
Contributor

Yes. That is explained in FAQ. Upgrades and DSM 6.x support is in progress, package by package.

@a575606
Copy link

a575606 commented Jan 21, 2019

Sorry to revive an old thread, but I can't install Firefox Sync on DSM 6 due to the incorrect mysql password issue. Any progress on DSM 6 support?

@mreid-tt
Copy link
Contributor

mreid-tt commented Dec 4, 2023

The original Firefox Sync Server, as indicated in its source repository, is no longer actively maintained. Instead, it has been redeveloped in Rust and is now hosted in a new repository called Syncstorage-rs. The upcoming release, associated with the Pull Request 5942 in the SynoCommunity/spksrc repository, will soon replace all prior versions of the package due to their deprecated functionality.

We invite interested individuals to explore the Checks tab at this link for the opportunity to download a pre-release version for testing purposes. Your valuable feedback is highly appreciated and encouraged before the final release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Not planned
Development

Successfully merging a pull request may close this issue.