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
Something went wrong during installation #14
Comments
Found a log (finally)
|
I remembered I run mysql through other snap packages, so I changed the port to 3307. That didn't help either though... So I went digging for a mysql log and found it!
|
@agolybev Any ideas why this wouldn't be working? |
@Igor-Pigalitsyn
I seem to be using the most recent version, yet, it still fails to start MYSQL |
Have you solved this problem? |
No. Nothing I do seems to work. |
Ok, I tried edge and it looks like it doesn't fail outright, but does throw:
|
It's seemingly more and more like the https://github.com/ONLYOFFICE/snap-documentserver/blob/master/src/mysql/bin/start_mysql isn't setting the password properly. |
Solved. It works just fine. No wget this page. |
I also could not get the onlyoffice-ds snap to work. I also tried using the edge channel. Getting this from the error.log in /var/snap/onlyoffice-ds/current/mysql I'm on ubuntu server 19.10 Entire log file is attached |
I am also having similar issues on Ubuntu 18.04. Can I provide anything to help troubleshoot? |
I was able to resolve the problem by opening current/etc/onlyoffice/documentserver/local.json, get the password and then set the password via sudo onlyoffice-ds.mysql-client. Hope that helps anyone else! |
have the same problem, how to solve it? |
I have just experienced the same issue using this snap on several Ubuntu 18.04.3 servers. In my case it was caused by the server already having a MySQL installation running on port 3306. I used the following steps to make it work:
As the snap install script is configured to use port 3306 by default it clashes with the existing MySQL installation. The snap-based MySQL fails to start as the port is in use. The install script then tries, unsuccessfully as it does not know the MySQL root password, to configure the previous MySQL instance. By stopping the original MySQL installation we can work around this. It would be better if the snap defaulted to using an custom port (like 33306) for the snap-based MySQL instance to avoid the need to do this. |
try to do like you suggest, but no success, I even try to stop Nginx and change its port to 8888 in snap. I did all in Debian buster |
out.log Here's what's print in /var/snap/onlyoffice-ds/current/var/log/onlyoffice/documentserver/docservice every time i restart onlyoffice-ds;
|
@cldtech, can I recommend removing the snap with
If everything is good for the snap installation you should receive no output from this command. Otherwise you will see an ID and image name for the process that is currently using the port. You will need to stop this service (or services), install the snap, update the port(s) the snap uses to (an)other one(s) and then restart the original service(s). In this way it should be possible to get the snap installed. Be wary of #32 as well at the moment though. Docker support for documentserver seems much more responsive for some reason. |
Wonderful! I had tried this from your last response 10 days ago but not with all those ports! First time i see all those Thank you! Working for me now. |
Hello, I've installed onlyoffice-ds using snap and I see "Something went wrong during installation" when I visit my domain and the port.
I'm on
Ubuntu 18.04.3 LTS (GNU/Linux 4.15.0-62-generic x86_64)
I don't see any logs about why from the little I've poked around. Where should I look? Does anyone have any suggestions?
The text was updated successfully, but these errors were encountered: