Giter Club home page Giter Club logo

Comments (6)

gemaarta avatar gemaarta commented on June 18, 2024 2

fixed manualy

~/wikijs$ git --git-dir=repo/.git --work-tree=repo add .
~/wikijs$ git --git-dir=repo/.git --work-tree=repo commit -a
~/wikijs$ git --git-dir=repo/.git --work-tree=repo push -u origin master

~/wikijs$ node wiki restart

from wiki-v1.

cupcakearmy avatar cupcakearmy commented on June 18, 2024 1

This is the error code from the ajax on deletion. The file in this case was protocol/test.md
The permissions should not be an issue, since I'm able to create and move around articles.
I'm also not using a git to sync.

{"ok":false,"error":"`git --git-dir=repo/.git --work-tree=repo rm protocol/test.md` failed with code 1"}

from wiki-v1.

cupcakearmy avatar cupcakearmy commented on June 18, 2024 1

screen shot 2017-11-22 at 10 47 33

This is what i get on page load btw. It's running on a subdomain.

from wiki-v1.

NGPixel avatar NGPixel commented on June 18, 2024

Do you have an error in the logs? What does the network call (using your browser dev tools) returns when clicking the delete button?

from wiki-v1.

cupcakearmy avatar cupcakearmy commented on June 18, 2024

There is no trace of this in the docker logs. I noticed that I can delete files that are publicly visible. (I'm logged in as the admin). Hope it helps :)

from wiki-v1.

gemaarta avatar gemaarta commented on June 18, 2024

А similar problem, but no errors in web consile and
git: false in config
and

~/wikijs$ git --git-dir=repo/.git --work-tree=repo rm new-page.md
error: the following file has changes staged in the index:
    new-page.md
(use --cached to keep the file, or -f to force removal)
_________________________________________________________________
~/wikijs$ git --git-dir=repo/.git --work-tree=repo status
On branch master

No commits yet

Changes to be committed:
  (use "git rm --cached <file>..." to unstage)

        new file:   cat.md
        new file:   home.md
        new file:   new-page.md
        new file:   new-testpage.md
        new file:   table.md
        new file:   table/tr.md
        new file:   uploads/1920-px-cat-poster-1.jpg

from wiki-v1.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.