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

Cookbook error: Exception while downloading recipe from #2451

Open
abcarroll1214 opened this issue Aug 6, 2024 · 6 comments
Open

Cookbook error: Exception while downloading recipe from #2451

abcarroll1214 opened this issue Aug 6, 2024 · 6 comments
Labels
bug Something isn't working stalebot-enabled The PR/issue is marked to go stale over time

Comments

@abcarroll1214
Copy link

Description
A clear and concise description of what the bug is.
Error message:
Exception while downloading recipe from ...

Reproduction
Steps to reproduce the behavior:

Simply add URL and press the arrow. Had to rebuild my server and it worked before. Now everything works except cookbook.

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Import recipe

Actual behavior
Please describe in clear statements what is happening in reality.
Give error: Exception while downloading recipe from on desktop or Android (both worked before)

Screenshots
If applicable, add screenshots to help explain your problem.

Browser
Which browser are you using?
Chrome with no changes from before.

Versions
Nextcloud server version: ??
29.03 and 29.04 tried both with identical results. Currently 29.04.01
Cookbook version: ?? 0.11.1
Database system: MySQL/MariaDB/PostgreSQL/Sqlite
MySQL

I've tried multiple reloads, truncated the sql columns, totally deleted NC (entire FAMP from scratch) and rebuilt.

@abcarroll1214 abcarroll1214 added the bug Something isn't working label Aug 6, 2024
@abcarroll1214
Copy link
Author

abcarroll1214 commented Aug 13, 2024

Not sure which are related to the issue. Time based.

$CONFIG = array (
  'instanceid' => 'oc...',
  'passwordsalt' => 'MQ..',
  'secret' => '4m...',
  'trusted_domains' => 
  array (
    0 => '192.168.9.32',
  ),
  'datadirectory' => '/usr/local/var/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '29.0.4.1',
  'overwrite.cli.url' => 'http://192.168.9.32/nextcloud',
  'maintenance_window_start' => 5,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>   array (
    'host' => 'localhost',
    'port' => 6379,
   ),
  'default_phone_region' => 'US',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost:3306',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'oc_admin',
  'dbpassword' => 'B]...',
There are some warnings regarding your setup.
5 errors in the logs since August 5, 2024, 10:50:21 PM
Please double check the [installation guides ↗](https://docs.nextcloud.com/server/29/go.php?to=admin-install), and check for any errors or warnings in the [log](https://192.168.9.32/nextcloud/index.php/settings/admin/logging).

[core] Warning: Login failed: 'admin' (Remote IP: '192.168.9.6')
	PROPFIND /nextcloud/remote.php/dav/files/admin/
	from 192.168.9.6 by -- at Aug 12, 2024, 9:26:05 PM

Exception while downloading recipe from https://commandcooking.com/recipe/perfect-lasagna.

[webdav] Debug: No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured
	PROPFIND /nextcloud/remote.php/webdav
	from 192.168.9.32 by -- at Aug 12, 2024, 9:48:45 PM

[dav] Debug: No calendar events found for status check
	GET /nextcloud/ocs/v2.php/apps/user_status/api/v1/user_status
	from 192.168.9.6 by admin at Aug 12, 2024, 9:48:45 PM

[no app in context] Debug: Token is not valid: Token does not exist: token does not exist
	PROPFIND /nextcloud/remote.php/dav/files/admin/
	from 192.168.9.6 by -- at Aug 12, 2024, 9:56:26 PM

only info.xml and routes.php in appinfo folder

This worked for awhile. I had quite a few recipes. I lost them all trying to figure this out. Any help is appreciated.

@christianlupus
Copy link
Collaborator

I tried the one recipe URL I could find in your logs and it worked:
image

I get that you hat problems in the past. Did you by chance before removing the instance save at least the data folder? With that, we most probably can restore the old recipes.

Is the downloading failing always? Can you enable debug mode in the instance and try again?

@abcarroll1214
Copy link
Author

abcarroll1214 commented Sep 17, 2024 via email

@christianlupus
Copy link
Collaborator

Hello @abcarroll1214 ,

in the GitHub page there is no attachment visible. I am sure if this got filtered out, I do not know why.

What is prior to 29.0.4? Server version? I doubt that the server has a significant impact on the functionality of the cookbook app. However, I cannot rule it out.

Can you do this procedure?

@christianlupus christianlupus added the stalebot-enabled The PR/issue is marked to go stale over time label Sep 20, 2024
@abcarroll1214
Copy link
Author

abcarroll1214 commented Sep 21, 2024 via email

@abcarroll1214
Copy link
Author

abcarroll1214 commented Sep 29, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stalebot-enabled The PR/issue is marked to go stale over time
Projects
None yet
Development

No branches or pull requests

2 participants