Koozali.org: home of the SME Server

issues installing Nextcloud

Offline john56

  • ***
  • 143
  • +0/-0
issues installing Nextcloud
« on: April 29, 2021, 02:11:53 PM »
Hi, i'm not able to start service MariaDB. (SME10)
Any suggestion ?

I've seen that problem by installing Nextcloud Contrib

Code: [Select]
Apr 29 14:04:12 buzz esmith::event[10620]: fail: /service/mariadb: unable to change to service directory: file does not exist
Apr 29 14:04:21 buzz esmith::event[10620]: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
« Last Edit: June 01, 2021, 03:22:11 PM by Jean-Philippe Pialasse »

Offline sages

  • *
  • 182
  • +0/-0
    • http://www.sages.com.au
Re: to able to start Service MariaDB
« Reply #1 on: April 29, 2021, 02:22:56 PM »
How are you trying to start the database?
service .... is superceded in centos 7 you need to use systemctl instead

what is the output from
systemctl status mariadb

...

Offline john56

  • ***
  • 143
  • +0/-0
Re: to able to start Service MariaDB
« Reply #2 on: April 29, 2021, 03:07:21 PM »
See the (black) screenshot above

Offline sages

  • *
  • 182
  • +0/-0
    • http://www.sages.com.au
Re: to able to start Service MariaDB
« Reply #3 on: April 29, 2021, 03:20:08 PM »
You're welcome
...

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: to able to start Service MariaDB
« Reply #4 on: April 29, 2021, 10:01:52 PM »
Going to need more info, your system, anything else installed and how you iunstalled nextcloud and from where?

I do have it installed and running on a sme10 RC1 never saw that error.

Having said that Nextcoud is yet to be released to contribs for sme10, it is still in /smetest and /smedev places you take your chances with and can expect things to break, remeber the wiki is for sme9, eg it details fws repo as part of install, sme10 does not use it.

Anything installed from /smetest is a watch and see, and /smedev is danger will robinsonb time

Good Luck
--
qui scribit bis legit

Offline john56

  • ***
  • 143
  • +0/-0
Re: to able to start Service MariaDB
« Reply #5 on: April 30, 2021, 08:39:05 AM »
hi
i follow the install process using :

Quote
yum install smeserver-extrarepositories-remi-safe smeserver-extrarepositories-fws smeserver-extrarepositories-epel
signal-event yum-modify
yum install smeserver-nextcloud --enablerepo=smecontribs,epel,fws, smedev, smetest
signal-event webapps-update
signal-event nextcloud-update

I see other errors in server-manager like :
Quote
smeadmin : buzz.kerplouz.com
MySQL error : Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Software error:
Verifiez les parametres de connexion a MySQL.

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: to able to start Service MariaDB
« Reply #6 on: May 02, 2021, 03:27:45 PM »
I don't think you need FWS at all. This is probably more like it (Be careful with smedev.....)

Note that NextCloud is extremely Alpha - it works happily once you have got it installed, but might be a bit awkward to install. We will pay a bit more attention to it once v10 is released.

Something like this should do it:

Code: [Select]
yum install smeserver-extrarepositories-remi-safe smeserver-extrarepositories-openfusion smeserver-extrarepositories-epel
Code: [Select]
yum install smeserver-nextcloud --enablerepo=smecontribs,epel,smetest,openfusion
Code: [Select]
signal-event nextcloud-update
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline john56

  • ***
  • 143
  • +0/-0
Re: to able to start Service MariaDB
« Reply #7 on: May 02, 2021, 05:42:50 PM »
Thanks

Code: [Select]
yum install smeserver-nextcloud --enablerepo=smecontribs,epel,smetest,openfusion
doesn't install the dependance nextcloud rpm so the install is incomplete.

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: to able to start Service MariaDB
« Reply #8 on: May 02, 2021, 06:49:23 PM »
Post what is does so we can see. We cannot just guess.

On my v10 with Nextcloud I have no FWS or webapps.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline john56

  • ***
  • 143
  • +0/-0
Re: to able to start Service MariaDB
« Reply #9 on: May 02, 2021, 07:10:33 PM »
Here is a screenshot but the subject was not for nextcloud at the beginning ;)
« Last Edit: May 02, 2021, 07:12:45 PM by john56 »

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: to able to start Service MariaDB
« Reply #10 on: May 02, 2021, 08:48:17 PM »
Logs without context and history tell us nothing. You must be more accurate and detailed.

You must explain carefully what you have done. From the start. Go right back to the start and show each command and any errors.

Have you tried to reset and just do as I suggested (this is a test machine, right?)

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: to able to start Service MariaDB
« Reply #11 on: May 02, 2021, 10:48:53 PM »
Has your system been migrated from a sme9.2 install? if yes please detail how..
--
qui scribit bis legit

Offline john56

  • ***
  • 143
  • +0/-0
Re: to able to start Service MariaDB
« Reply #12 on: May 03, 2021, 06:13:09 PM »
yes update from SME9.2, backup from console during install.

I planned to use nextcloud to replace phpwebftp in order my users could access to their /home from samba.

See the screenshot under it during yum install
« Last Edit: May 03, 2021, 06:59:31 PM by john56 »

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: to able to start Service MariaDB
« Reply #13 on: May 03, 2021, 09:44:48 PM »
Just for my own peace of mind,
1. removed nextcloud from my home server that has been migrated from sme9 to sme10. 
2. Created a new clean updated VM on my prox test box

Then proceded to instal nextcloud to both..on both systems SME admin user and SME user were able to login to nextcloud..

remember wiki is for sme 9.....

Following is at your own risk

Remove the install you did... # yum remove smeserver-nextcloud  nextcloud
I also removed the nextcloud mysql db  * important heres your chance to use a little mysql
just to make sure  # signal-event post-upgrade; signal-event reboot

Then Install with
# install smeserver-nextcloud --enablerepo=smecontribs,smetest,smedev,epel,openfusion
# signal-event webapps-update
# signal-event nextcloud-update
# signal-event post-upgrade; signal-event reboot

From a browser using local  ip of server or domain xyz\nextcloud login with sme admin and sme admin password

Can only say works for me

Having said all that, this is NOT what you detailed at the start


### Added - make sure to add the extra repos of openfusion and epel, see install commands
« Last Edit: May 03, 2021, 09:51:39 PM by TerryF »
--
qui scribit bis legit

Offline john56

  • ***
  • 143
  • +0/-0
Re: to able to start Service MariaDB
« Reply #14 on: May 03, 2021, 11:22:35 PM »
With smedev repo, it's ok. Without no.