syncloud / platform

Run popular services on your device with one click
https://syncloud.org
GNU General Public License v3.0
396 stars 40 forks source link

Nextcloud 19 #521

Closed Sipfox closed 4 years ago

Sipfox commented 4 years ago

When will you update nextcloud 19?

cyberb commented 4 years ago

We have a test version, could you try and let us know if there is anything wrong: Install: snap install nextcloud --channel=master Upgrade: snap refresh nextcloud --channel=master

Sipfox commented 4 years ago

Thanks, I'll try. Got another problem, though. With the device credentials I can't access it via SSH or SFTP. Error message invalid user data.

cyberb commented 4 years ago

Please create another issue and post the output of ssh/putty

cyberb commented 4 years ago

root@syncloud:~# snap refresh nextcloud --channel=master

error: cannot perform the following tasks:

- Run configure hook of "nextcloud" snap if present (run hook "configure":
…

-----

2020-06-15 18:50:45,716 - nextcloud_config - INFO - setting value: datadirectory = /opt/disk/internal/nextcloud

2020-06-15 18:50:47,667 - nextcloud_config - INFO - setting datadirectory = /opt/disk/internal/nextcloud

2020-06-15 18:50:48,561 - nextcloud_occ - INFO - Nextcloud or one of the apps require upgrade - only a limited number of commands are available

You may use your browser or the occ upgrade command to do the upgrade

  - installed: true

  - version: 19.0.0.12

  - versionstring: 19.0.0

  - edition:

2020-06-15 18:50:49,200 - nextcloud_occ - INFO - Nextcloud or one of the apps require upgrade - only a limited number of commands are available

You may use your browser or the occ upgrade command to do the upgrade

Maintenance mode enabled

Starting ...

    0/0 [>---------------------------]   0% Starting ...

    0/0 [->--------------------------]   0%2020-06-15 18:52:05,407 - nextcloud_occ - INFO - Nextcloud or one of the apps require upgrade - only a limited number of commands are available

You may use your browser or the occ upgrade command to do the upgrade

Set log level to debug

Updating database schema

Updated database

Disabled incompatible app: circles

Disabled incompatible app: rainloop

Disabled incompatible app: workflow_pdf_converter

Updating <accessibility> ...

Migrate old user config

Updated <accessibility> to 1.5.0

Updating <federatedfilesharing> ...

Updated <federatedfilesharing> to 1.9.0

Updating <files_pdfviewer> ...

Updated <files_pdfviewer> to 1.8.0

Updating <files_rightclick> ...

Updated <files_rightclick> to 0.16.0

Updating <files_videoplayer> ...

Updated <files_videoplayer> to 1.8.0

Updating <logreader> ...

Updated <logreader> to 2.4.0

Updating <password_policy> ...

Updated <password_policy> to 1.9.1

Updating <photos> ...

Updated <photos> to 1.1.0

Updating <privacy> ...

Updated <privacy> to 1.3.0

Updating <provisioning_api> ...

Updated <provisioning_api> to 1.9.0

Updating <recommendations> ...

Updated <recommendations> to 0.7.0

Updating <serverinfo> ...

Updated <serverinfo> to 1.9.0

Updating <settings> ...

Updated <settings> to 1.1.0

Updating <support> ...

Updated <support> to 1.2.1

Updating <survey_client> ...

Updated <survey_client> to 1.7.0

Updating <twofactor_backupcodes> ...

Updated <twofactor_backupcodes> to 1.8.0

Updating <viewer> ...

Updated <viewer> to 1.3.0

Updating <federation> ...

Updated <federation> to 1.9.0

Updating <lookup_server_connector> ...

Updated <lookup_server_connector> to 1.7.0

Updating <oauth2> ...

Updated <oauth2> to 1.7.0

Updating <files> ...

Updated <files> to 1.14.0

Updating <activity> ...

Updated <activity> to 2.12.0

Updating <cloud_federation_api> ...

Updated <cloud_federation_api> to 1.2.0

Updating <dav> ...

Fix broken values of calendar objects

Updated <dav> to 1.15.0

Updating <files_sharing> ...

Updated <files_sharing> to 1.11.0

Updating <files_trashbin> ...

Updated <files_trashbin> to 1.9.0

Updating <files_versions> ...

Updated <files_versions> to 1.12.0

Updating <sharebymail> ...

Updated <sharebymail> to 1.9.0

Updating <workflowengine> ...

Updated <workflowengine> to 2.1.0

Updating <comments> ...

Updated <comments> to 1.9.0

Updating <firstrunwizard> ...

Updated <firstrunwizard> to 2.8.0

Updating <nextcloud_announcements> ...

Updated <nextcloud_announcements> to 1.8.0

Updating <notifications> ...

Updated <notifications> to 2.7.0

Updating <systemtags> ...

Updated <systemtags> to 1.9.0

Updating <theming> ...

Updated <theming> to 1.10.0

Checking for update of app accessibility in appstore

Checked for update of app "accessibility" in appstore

Checking for update of app activity in appstore

Checked for update of app "activity" in appstore

Checking for update of app calendar in appstore

Checked for update of app "calendar" in appstore

Checking for update of app cloud_federation_api in appstore

Checked for update of app "cloud_federation_api" in appstore

Checking for update of app comments in appstore

Checked for update of app "comments" in appstore

Checking for update of app contacts in appstore

Checked for update of app "contacts" in appstore

Checking for update of app cookbook in appstore

Update app cookbook from appstore

Checked for update of app "cookbook" in appstore

Checking for update of app dav in appstore

Checked for update of app "dav" in appstore

Checking for update of app deck in appstore

Checked for update of app "deck" in appstore

Checking for update of app federatedfilesharing in appstore

Checked for update of app "federatedfilesharing" in appstore

Checking for update of app federation in appstore

Checked for update of app "federation" in appstore

Checking for update of app files in appstore

Checked for update of app "files" in appstore

Checking for update of app files_antivirus in appstore

Checked for update of app "files_antivirus" in appstore

Checking for update of app files_pdfviewer in appstore

Checked for update of app "files_pdfviewer" in appstore

Checking for update of app files_rightclick in appstore

Checked for update of app "files_rightclick" in appstore

Checking for update of app files_sharing in appstore

Checked for update of app "files_sharing" in appstore

Checking for update of app files_trashbin in appstore

Checked for update of app "files_trashbin" in appstore

Checking for update of app files_versions in appstore

Checked for update of app "files_versions" in appstore

Checking for update of app files_videoplayer in appstore

Checked for update of app "files_videoplayer" in appstore

Checking for update of app firstrunwizard in appstore

Checked for update of app "firstrunwizard" in appstore

Checking for update of app groupfolders in appstore

Checked for update of app "groupfolders" in appstore

Checking for update of app logreader in appstore

Checked for update of app "logreader" in appstore

Checking for update of app lookup_server_connector in appstore

Checked for update of app "lookup_server_connector" in appstore

Checking for update of app nextcloud_announcements in appstore

Checked for update of app "nextcloud_announcements" in appstore

Checking for update of app notes in appstore

Checked for update of app "notes" in appstore

Checking for update of app notifications in appstore

Checked for update of app "notifications" in appstore

Checking for update of app oauth2 in appstore

Checked for update of app "oauth2" in appstore

Checking for update of app ocdownloader in appstore

Checked for update of app "ocdownloader" in appstore

Checking for update of app onlyoffice in appstore

Checked for update of app "onlyoffice" in appstore

Checking for update of app password_policy in appstore

Checked for update of app "password_policy" in appstore

Checking for update of app photos in appstore

Checked for update of app "photos" in appstore

Checking for update of app privacy in appstore

Checked for update of app "privacy" in appstore

Checking for update of app provisioning_api in appstore

Checked for update of app "provisioning_api" in appstore

Checking for update of app recommendations in appstore

Checked for update of app "recommendations" in appstore

Checking for update of app serverinfo in appstore

Checked for update of app "serverinfo" in appstore

Checking for update of app settings in appstore

Checked for update of app "settings" in appstore

Checking for update of app sharebymail in appstore

Checked for update of app "sharebymail" in appstore

Checking for update of app support in appstore

Checked for update of app "support" in appstore

Checking for update of app survey_client in appstore

Checked for update of app "survey_client" in appstore

Checking for update of app systemtags in appstore

Checked for update of app "systemtags" in appstore

Checking for update of app tasks in appstore

Checked for update of app "tasks" in appstore

Checking for update of app theming in appstore

Checked for update of app "theming" in appstore

Checking for update of app twofactor_backupcodes in appstore

Checked for update of app "twofactor_backupcodes" in appstore

Checking for update of app twofactor_totp in appstore

Checked for update of app "twofactor_totp" in appstore

Checking for update of app viewer in appstore

Checked for update of app "viewer" in appstore

Checking for update of app workflowengine in appstore

Checked for update of app "workflowengine" in appstore

Checking for update of app circles in appstore

Update app circles from appstore

Checked for update of app "circles" in appstore

Checking for update of app rainloop in appstore

Update app rainloop from appstore

Checked for update of app "rainloop" in appstore

Checking for update of app workflow_pdf_converter in appstore

Update app workflow_pdf_converter from appstore

Checked for update of app "workflow_pdf_converter" in appstore

Checking for update of app documentserver_community in appstore

Checked for update of app "documentserver_community" in appstore

Starting code integrity check...

Finished code integrity check

Update successful

Maintenance mode is kept active

Reset log level

2020-06-15 18:52:06,003 - nextcloud_occ - INFO - Maintenance mode disabled

2020-06-15 18:52:09,085 - nextcloud_occ - INFO - Check indices of the share table.

Check indices of the filecache table.

Check indices of the twofactor_providers table.

Check indices of the login_flow_v2 table.

Check indices of the whats_new table.

Check indices of the cards table.

Check indices of the cards_properties table.

Check indices of the calendarobjects_props table.

Check indices of the schedulingobjects table.

Check indices of the oc_properties table.

Adding properties_path_index index to the oc_properties table, this can take some time...

oc_properties table updated successfully.

  There are no commands defined in the "ldap" namespace.

2020-06-15 18:52:10,277 - nextcloud_occ - ERROR - occ error:

Traceback (most recent call last):

  File "/snap/nextcloud/200615157/meta/hooks/configure", line 7, in <module>

    Installer().configure()

  File "/snap/nextcloud/200615157/hooks/installer.py", line 112, in configure

    self.occ.run('ldap:set-config s01 ldapEmailAttribute mail')

  File "/snap/nextcloud/200615157/hooks/octools.py", line 19, in run

    raise e

subprocess.CalledProcessError: Command '/snap/nextcloud/current/bin/occ-runner ldap:set-config s01 ldapEmailAttribute mail' returned non-zero exit status 1

-----)
cyberb commented 4 years ago

Please use this ticket to respond about Nextcloud and not the other one (SFTP).

I have uninstalled and reinstalled Nextcloud. But I still get the same error message. Could you look directly at my computer (AnyDesk, TeamViewer)?

Sorry cannot do that at the moment.

Error message of the browser: Your connection is not private

This server could not prove that it is nextcloud.***.syncloud.it Its security certificate is not trusted >by your computer's operating system. Possible reasons are a faulty configuration or an attacker >intercepting your connection.NET::ERR_CERT_AUTHORITY_INVALID

Your device is not accessible from the Internet right now, did you enable external access?

Sipfox commented 4 years ago

External access is now enabled. Still the same error message, though...

cyberb commented 4 years ago

What is the error? Certificate? I can see you got a certificate already.

Sipfox commented 4 years ago

Now I come back to the Nextcloud. However, I can no longer log in with my user data.

Sipfox commented 4 years ago

Now I could log in again - nobody knows why. The version is 18.0.1. all data and users are no longer visible. What can I do?

cyberb commented 4 years ago

can you run upgrade to 19:

snap refresh nextcloud --channel=master

If it goes well, run this to bring files back:

snap run nextcloud.occ files:scan --all

You will have to create users with the same name as they were before this way they will see their existing files. You can check if files are still on the disk:

du -h --max-depth=1 /data/nextcloud
Sipfox commented 4 years ago

I have made the update to 19 - successfully.

I have reinstalled the apps.

After that the command: snap run nextcloud.occ files:scan --all

Now I wanted to enter the users and got the following error:

Internal Server Error

Technical details

Remote Address: 192.168.1.1

Request ID: IcMcvserMN3GVL6MbMNR

Sipfox commented 4 years ago

It seems to be a problem of version 19. I uninstalled Nextcloud again and reinstalled it. In version 18 the user settings work. Then the update to 19 and again the problem that you can't access the user settings.

cyberb commented 4 years ago

Right, I see now if I try to open Users page it shows an error. Give me some time to fix it.

Sipfox commented 4 years ago

OK

The following apps running on my old server under Nextcloud 19 also cause an error message.

The error message is displayed when the settings are called up.

cyberb commented 4 years ago

I have posted a question on nextcloud help: https://help.nextcloud.com/t/nextcloud-19-ldap-issue/84887

Let's see what happens.

cyberb commented 4 years ago

Also try not reply with email as it leaves a lot of useless quoted replies and signatures in the comments. Just use comment button here.

Sipfox commented 4 years ago

I uninstalled the 19 and activated the 18. Now I cannot register new users there. What can I do to have a working version?

cyberb commented 4 years ago

What error do you get?

cyberb commented 4 years ago

Also for users I would advice to use Users app so they are preserved even if you remove/install Nextcloud.

Sipfox commented 4 years ago

When creating the user the following error message appears: "An error occured during the request. Unable to proceed. Bad request"

Which app for users do you mean?

cyberb commented 4 years ago
  1. Can you send logs to support?
  2. Syncloud Users app.
Sipfox commented 4 years ago

I could create the contacts via the User App. I can see the files again. Only the addresses and the calendars are missing. How can these be displayed again?

cyberb commented 4 years ago

Unfortunately without a backup create before the uninstall this is lost.

cyberb commented 4 years ago

https://github.com/nextcloud/server/issues/21464

cyberb commented 4 years ago

Waiting for 19.0.1 as 19 broke LDAP.

cyberb commented 4 years ago

Released