freenas / iocage-plugin-nextcloud

Artifact file(s) for nextcloud iocage plugin
18 stars 35 forks source link

Complete Nextcloud installation #13

Closed danb35 closed 4 years ago

danb35 commented 5 years ago

This commit creates a Nextcloud admin user (ncadmin) with a random password, and uses the occ command to complete the Nextcloud installation. On installation of the plugin, the user is now presented with a ready-to-use Nextcloud installation.

miwi-fbsd commented 4 years ago

@danb35 Big sorry for the delay. I have rebased this patch in https://github.com/freenas/iocage-plugin-nextcloud/pull/18 with some small changes. Thank you for the submission.

qwerty3656 commented 4 years ago

I just ran the Nextcloud install on Freenas 11.3. It creates ncadmin and password, but does not create the dbadmin or database share

kmoore134 commented 4 years ago

@qwerty3656 I checked, and if you click the "Post-Install Notes" on the UI after the plugin is installed, it lists the dbname, dbadmin, dbpassword just fine.

qwerty3656 commented 4 years ago

Kris,

Thanks for the reply. Yes – it shows in the “Post-Install Notes” as created, but it is not actually created.

My post install notes are:

Database Name: nextcloud

Database User: dbadmin

Database Password: [xxx]

Nextcloud Admin User: ncadmin

Nextcloud Admin Password: [xxx]

I can log in with ncadmin, but I cannot log in with dbadmin – and when I do log in with ncadmin, there are no other users. Also there is no database called nextcloud.

Regards,

Jim

From: Kris Moore notifications@github.com Sent: Monday, January 27, 2020 10:57 AM To: freenas/iocage-plugin-nextcloud iocage-plugin-nextcloud@noreply.github.com Cc: qwerty3656 jjv3656@gmail.com; Mention mention@noreply.github.com Subject: Re: [freenas/iocage-plugin-nextcloud] Complete Nextcloud installation (#13)

@qwerty3656 https://github.com/qwerty3656 I checked, and if you click the "Post-Install Notes" on the UI after the plugin is installed, it lists the dbname, dbadmin, dbpassword just fine.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/freenas/iocage-plugin-nextcloud/pull/13?email_source=notifications&email_token=AEKABMMLAGIU7WZFCY6D74LQ7374LA5CNFSM4HP6EBM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKAALSA#issuecomment-578815432 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKABMINAAHPDUH6Y45VLSTQ7374LANCNFSM4HP6EBMQ . https://github.com/notifications/beacon/AEKABMKO6TM7PRLLDIIW6WDQ7374LA5CNFSM4HP6EBM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKAALSA.gif