Code Monkey home page Code Monkey logo

Comments (12)

voroyam avatar voroyam commented on August 27, 2024

It does work, but you have to change a few things :)

In our documentation is written that you have to create an owncloud.conf file in your apache folder.

This is not done in the docker container. It could be done if we change the docker image. This could be discussed.

However, for now. If you create the owncloud.conf file, and then execute the occ command written in your document on how to change the URL, you will get indexless URLS.

I have created a doc site for the mean time, before we decide if we want to edit the docker image or not.

https://github.com/owncloud/docs/blob/master/modules/ROOT/pages/appliance/Index.php-less_URLs.adoc

from appliance.

va1entin avatar va1entin commented on August 27, 2024

Thank you very much. Just tested it and works 👍

I didn't know that the vhost is supposed to be called owncloud.conf.
The specific doc only mentions

a configured AllowOverride All directive within the vhost of your Web server is needed

The Vhost in the container is called "000-default.conf", so I thought that's the one. Didn't expect the filename to be hard-coded.

Also thanks for creating the issue, already subscribed to it.

from appliance.

voroyam avatar voroyam commented on August 27, 2024

No problem :)

from appliance.

tboerger avatar tboerger commented on August 27, 2024

Please tell me where is the difference to the current commands executed within the container.

from appliance.

voroyam avatar voroyam commented on August 27, 2024

current status:

if you try to follow https://doc.owncloud.org/server/10.0/admin_manual/configuration/server/index_php_less_urls.html

it does not work.

If you create owncloud.conf in apache directory as it's described in the documentation and follow

https://doc.owncloud.org/server/10.0/admin_manual/configuration/server/index_php_less_urls.html

it works.

Same commands, just one file missing.

from appliance.

tboerger avatar tboerger commented on August 27, 2024

But it doesn't matter how the Apache config gets named...

from appliance.

voroyam avatar voroyam commented on August 27, 2024

okay, but it does matter that the contents of the config are there.

You can provide your solution. :)

My solution was just the result of reading the documentation and applying it to the problem.

from appliance.

tboerger avatar tboerger commented on August 27, 2024

But instead of hacking such a documentation together to change a Docker image (within the appliance) that shouldn't be changed that way you should just talk to the involved people.

from appliance.

voroyam avatar voroyam commented on August 27, 2024

Okay, will redirect all questions regarding the docker container and it's functionality to you :)

people came to me - I delivered a solution. I am new = bad solution.

from appliance.

va1entin avatar va1entin commented on August 27, 2024

If I may jump to @voroyam s defense here:

Owncloud itself is already not really docker-friendly. One can't even change the login image persistently because it requires changes to the code. The entry point scripts changing config parameters to defaults at every start don't make it easier either.

I already wrote a script with the customer because owncloud just makes lots of config difficult or almost impossible to do persistently without.

In other words it's just a few lines of code more at this point.

@voroyam s doc solves the problem and he opened a new issue to fix the actual cause of that problem.

from appliance.

tboerger avatar tboerger commented on August 27, 2024

@voroyam I thought you know enough about the Docker images that changes like that are not persistent and that this is not really a good solution to edit files within the container manually to get some basic feature working. It's not about redirecting everything related to Docker to me or Patrick, it's about communicating about possible issues and viable workarounds.

@va1entin ownCloud itself is not entirely docker-friendly, that's a known issue. We tried to do the best to make the docker container flexible and usable enough. The entrypoint script ensures that the base configuration is really enforced by environment variables, which is totally fine related to 12factor applications. To get around the limitations of environment variables (and additional pre-installed apps) within the UCS appliance we already started to build a custom Docker image.

from appliance.

va1entin avatar va1entin commented on August 27, 2024

How should we proceed here?

@tboerger You suggested to modify the existing Apache config in the container so that it contains the content of the owncloud.conf @voroyam provided here
With Owncloud 10.0.10 having been released this week, it'd be great to get this into the container with the update. :)

from appliance.

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.