Git Product home page Git Product logo

Comments (7)

nikaro avatar nikaro commented on May 14, 2024 4

May be it should be said in the documentation that you cannot put apps folder outside the webroot.

from server.

MorrisJobke avatar MorrisJobke commented on May 14, 2024

@LukasReschke didn't you refactored the app loading? Is this still supported?

from server.

MorrisJobke avatar MorrisJobke commented on May 14, 2024
"apps_paths": [
            {
                "path": "\/home\/nextcloud\/www\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/home\/nextcloud\/apps",
                "url": "\/my",
                "writable": true
            }
        ]

This looks also weird because the app directory is outside of the server root and then can't load the static assets. 😕

from server.

nikaro avatar nikaro commented on May 14, 2024

I can try to put my custom apps folder in the server root to see if it change something. Is it useful ?

from server.

LukasReschke avatar LukasReschke commented on May 14, 2024

To be honest, I really doubt that whole app paths thingy. It's just as fragile as moving the third-party folder...

from server.

LukasReschke avatar LukasReschke commented on May 14, 2024

And yes: Please try to use another folder reachable in your web root. That said: I wouldn't expect this feature to be as rock solid as you might expect. Better go with the default 😉

from server.

nikaro avatar nikaro commented on May 14, 2024

I just tested on a fresh install, inside the server root and it works. Also i don't know if it's normal, but the URL is always apps (don't know the purpose of url parameter).

"apps_paths": [
            {
                "path": "\/var\/www\/nextcloud\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/nextcloud\/apps2",
                "url": "\/apps2",
                "writable": true
            }
        ]

Outside it still doesn't work.

I will go with the default i'm fine with it, but it could have been nice to "outsource" the apps folder :-)

from server.

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.