GithubHelp home page GithubHelp logo

Comments (9)

clochix avatar clochix commented on July 26, 2024

Thanks for reporting @yurivict

@aeris is currently working on fixing some issues with the VirtualBox image, he will update the documentation once the image has been fixed.

from cozy-site.

aeris avatar aeris commented on July 26, 2024

Seems people use this image for easy setup on NAS or workstation, and not only for dev or test.
So the Cozy instance must be available on the LAN and accessible from any computer, not only the virtualbox host.

And first feedback on this image shows users are not very skilled ones and not comfortable with command line.
So this image must run out-of-the-box with minimal interaction.

Currently image state is not satisfying, we need out-of-the-box LAN accessible image (so bridged instance).
And only advanced users (dev/test) should have to modify image config for their uses.

from cozy-site.

yurivict avatar yurivict commented on July 26, 2024

Bridging with physical NIC generally doesn't work for people just running it on the personal VBox. Setup in such case should be: 1. NAT 2. Port forward from localhost to VM 3. (possibly) Port forward from router to the host with VM. - This way it can be easily made available on the LAN and Internet.

It can be made LAN-accessible, just like I described above.

from cozy-site.

aeris avatar aeris commented on July 26, 2024

NAT with port forwarding is complicated to do out-of-the-box.

You need routing, ip forward, firewall configuration… on the host. If your virtualbox host is a NAS and you have to use GUI provided with it, you’re doomed without skills.
Most of our users with feedback have no enough network knowledge to achieve this correctly.

Current experience show bridging seems working easily, with Cozy visible as a standard and standalone machine on the LAN.
And with bridge, with avahi inside the image, users can directly access their cozy on https://cozy.local/, without having to look for IP address of the cozy (or host). Not possible with NAT.

Last, we know nothing on the virtualbox host, and NAT configuration is not context-free.
For example, on a NAS, all chances you have already running https and ssh servers, and so 443/22 redirections will fail or users have to access their cozy with differents ports, requiring more documentation or corner-case to handle. Bridging create a new clean machine on the LAN, so is far more context-free than NAT.

We need a virtualbox image working "as-is" in most of cases, requiring manual setup only if you have specific configuration (and so specific skills).
Better to have easy setup for beginner user and complex setup for advanced user than the opposite.

from cozy-site.

clochix avatar clochix commented on July 26, 2024

Hello @yurivict,

This Virtualbox image is now deprecated, it was for the previous version of Cozy which we don't maintain anymore.

For now, we have no short term plan to release an official image of the new Cozy for Virtualbox.

from cozy-site.

yurivict avatar yurivict commented on July 26, 2024

What is the recommended way to run Cozy now then?

from cozy-site.

clochix avatar clochix commented on July 26, 2024

Hello @yurivict,

We have published a few days ago Debian packages allowing to easily install the new Cozy on your own server: https://docs.cozy.io/en/install/debian/

We plan to also release an image for Raspberry Pi.

For now, we don't plan to provide official support for other platforms, but I'm sure our community will create Docker or VirtualBox images.

from cozy-site.

yurivict avatar yurivict commented on July 26, 2024

Why can't Cozy be installed like any other project, under some install base like /use/local/cozy/, keeping its DB in ex. /var/db/coze? There are a lot of complex projects consisting of many executables that do just that.

from cozy-site.

aeris avatar aeris commented on July 26, 2024

This is the way we deliver the new v3 of Cozy. More Debian compliant.

Previous version was in NodeJS and depends of a lot of not officially Debian packaged third party components, which create a real difficulty to cleanly package it.

from cozy-site.

Related Issues (17)

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.