nextcloud / nextcloud/cookbook

Document steps needed to build from git

Open
#1,425 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
HTML
Stars
641
Forks
113
Avg merge
21h 31m
Merged PRs (30d)
26

Description

Description

I installed this app today on Nextcloud 24 via git clone into my apps directory. I needed to run git checkout stable-0.9.x to get the app to install. Once I did so, I was able to use the Teifun2 android app to access and create recipes.

However, when I visit the cookbook app in the web interface, I get a white screen of death. The error message in the browser Javascript console says:

GET https://nextcloud.devinhoward.ca/apps/cookbook/js/cookbook-main.js?v=f72e17f2-0 404
nextcloud.devinhoward.ca/:451 Refused to execute script from 'https://nextcloud.devinhoward.ca/apps/cookbook/js/cookbook-main.js?v=f72e17f2-0' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

Reproduction
Steps to reproduce the behavior:

  1. Install cookbook stable-0.9.x
  2. Visit /index.php/apps/cookbook/ in the web UI.

Expected behavior
See the recipes UI

Actual behavior
White screen of death

Screenshots

Screen Shot 2023-01-07 at 11 06 47 AM

Browser
I can reproduce this error in Firefox, Chromium, Opera, and Brave.

Versions
Nextcloud server version: 24.0.9 RC1
Cookbook version: stable-0.9.x
Database system: MariaDB
My nginx config: https://pastebin.com/n1b04jQb

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the reported git-clone installation path and the need to check out stable-0.9.x, then verify the build requirements against the missing cookbook-main.js and white-screen behavior. Done means documenting the commands and version or build steps needed to reach a working recipes UI.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.