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

Exception: Please upload the ca-bundle.crt file into the 'config' directory. #20548

Closed
acritely opened this issue Nov 17, 2015 · 15 comments
Closed

Comments

@acritely
Copy link

Encountered whilst upgrading from 8.1.4 to 8.2 using Updater app.

@ghost
Copy link

ghost commented Nov 17, 2015

Hi,

how did you upgrade from 8.1.4 to 8.2.0 via updater app? This version is not available via the updater app.

@acritely
Copy link
Author

Apologies, I was upgrading from 8.1.3 to 8.1.4. I saw the Updater notification and ran the update script. Now my oc is displaying the upgrade screen at login and is down. I would prefer to cancel the update and do a clean install of a higher version later. If you have any advice, I would appreciate it. Otherwise I'll find it. Thanks

@ghost
Copy link

ghost commented Nov 17, 2015

@acritely Mhhh, strange. Normally that shouldn't happen between 8.1.3 to 8.1.4, only from 8.0.x to 8.1.x: owncloud/updater#164

Maybe you missed the file in the past. You can get that file from:

https://raw.githubusercontent.com/owncloud/core/v8.1.4/config/ca-bundle.crt

and place it as described in the message into your config dir.

@acritely
Copy link
Author

Thanks RR, I will try it later today!

Here is the log from when I tried to update:
[17-Nov-2015 03:32:54 UTC] PHP Fatal error: Call to undefined function OCA\Updater\Location\first() in /home/mydomain/public_html/owncloud/apps/updater/lib/location/apps.php on line 44
[17-Nov-2015 03:32:54 UTC] PHP Fatal error: Cannot redeclare class OC\Security\SecureRandom in /home/mydomain/public_html/owncloud/lib/private/security/securerandom.php on line 38

@acritely
Copy link
Author

@RealRancor I added the missing ca-bundle.crt file and the update page reports the following:
"Turned on maintenance mode
Checked database schema update
Checked database schema update for apps
Updated database"

The owncloud homepage stayed at the maintenance mode page for more than 3 hrs. I checked the error_log file and found this new error:

PHP Fatal error: Class 'OC_FileProxy' not found in /home/mydomain/public_html/owncloud/apps/files_sharing/appinfo/app.php on line 28

I think this might be my fault for not turning off all the apps before trying the update. I was only running the calendar app, however. Any thoughts?

@tessus
Copy link

tessus commented Nov 20, 2015

@RealRancor actually, I just saw in the admin page of my oc 8.1.4 the following:

screen shot 2015-11-19 at 22 59 49

This tells me that the updater app obviously allows me to update from 8.1.4 to 8.2.1.
Does this really mean that I could just click Update and be done with it?

@acritely
Copy link
Author

I think the issue was caused by me not turning off some apps before trying to update. I have reinstalled my oc instance. I'm closing the issue.

@ghost
Copy link

ghost commented Nov 20, 2015

@tessus Please ask such questions within the forums or the users mailinglist as this is unrelated to this issue.

@tessus
Copy link

tessus commented Nov 20, 2015

@RealRancor sure, it's just that the question was rather secondary.

As you mentioned in #20548 (comment), the update should not be possible. My screenshot is evidence to the contrary. Therefore I wanted a clarification of your statement (with reference to the correct behavior).

There are several options:

  • updater app cannot update from minor to major version (but I don't think so, because the docs do not say so)
  • update from 8.1.4 to 8.2.0 is not possible, but update from 8.1.4 to 8.2.1 is possible. in this case: why?
  • you made a mistake
  • my oc 8.1.4 only shows the update button, but when clicking it, the system won't actually be updated

In any case, I spotted an inconsistenciy which usually raises a red flag (for me). You know the code and I don't, so I hoped that you could clarify this situation. Since I didn't want to write all the stuff I just wrote, I asked one question that pretty much narrows down the above list. :-)

@ghost
Copy link

ghost commented Nov 20, 2015

@tessus Such questions just doesn't belongs in here, especially as those are not related to this issue here. And my linked comment just says that 8.2.1 was not available for the updater app at that time.

@tessus
Copy link

tessus commented Nov 20, 2015

@RealRancor I don't understand. you made a statement in #20548 (comment) , which was false (thus my screenshot). how can asking about it be wrong?

@ghost
Copy link

ghost commented Nov 20, 2015

It was not wrong at that time because 8.2.1was not available three days ago... Shouldn't be hard to understand that...

@tessus
Copy link

tessus commented Nov 20, 2015

but 8.2.0 was. and you mentioned 8.2.0.

@ghost
Copy link

ghost commented Nov 20, 2015

Which was also not availablevia updater app at that time. But honestly, this discussion makesno sense. Have a nice evening and use the forum or mailinglist if you need discussions about this.

@lock
Copy link

lock bot commented Aug 7, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants