Beiträge von Tabletche

    What type of service would you like to host?


    Webstation is just a webserver with php and optional MySQL. With docker, you find a bunch of services and their basic requirements preconfigured, which I think, is the more comfortable method.

    I am trying to host my site with omv, but i can not get it work. How to do it and what i need in OMV to work. my site files are in /var/www/mysite.com i tried with nginx and php,but did something wrong and had to reinstall OMV for 4th time this week, so what i have to do in windows everything works well but here in Linux I am lost ;) So will be grateful if can get some help how to host website with OMV! step by step guide for noob like me ;)

    - go to portainer > Stacks > Add Stack
    - Name: traefik, this code

    - change the domain on line 22 and 27. Change line 23, copy the credentials from console on USER:PASSWORD. Those credentials must be in htpasswd format.
    - "Deploy the stack"
    - visit traefik.domain.tld, you see the traefik dashboard

    i manage to do the first one, now can someone tell me what i have to change at line 22 and 27 do i have to fill all domain name and which one have to be,

    and what to change in 23. Sorry for those questions, but i just starting with this. Thanks in advance!

    ok, seems no docker is running

    docker rm portainer to remove the portainer container; maybe you need to press TAB after you entered "portainer" to get the complete name

    then try again to remove the portainer_data volume

    root@media:~# docker volume ls

    DRIVER VOLUME NAME

    root@media:~#

    then i installed again portainer and still no templates

    Too much work for this mate,

    I don`t have any importand files on OVM, I just want to use it as a host so i can manage my sites with linux, don`t want to use windows PC!

    For the OVM server i use old pc and i hope can find a way to install all needed tools for managing website.

    I really don`t want to waste your time, I will reinstall it and then will ask again for help with web tools, because as i said before i got 2 domains and i want to use my old PC as a host, but linux is too complicate for me ;)

    docker ps to see which container are running

    docker stop <container_name> to stop a container

    docker volume rm <something> to remove a volume

    root@media:~# docker volume ls

    DRIVER VOLUME NAME

    local 32c3e70058671278600e16c244a321688aaea48a75232045350d56d31192b5d2

    local 151733afd12983bb75caace2fc00176a6f37c13769e20fa97cb1e44b207f0044

    local ncdata

    local portainer_data


    root@media:~# docker ps

    CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES


    root@media:~# docker volume rm 32c3e70058671278600e16c244a321688aaea48a75232045350d56d31192b5d2 151733afd12983bb75caace2fc00176a6f37c13769e20fa97cb1e44b207f0044 ncdata portainer_data

    Error response from daemon: remove 32c3e70058671278600e16c244a321688aaea48a75232045350d56d31192b5d2: volume is in use - [ca85855c1ec5eb9425cf2155125853d498fddccc58b0232fafbf5c9f2f7aa0f1]

    Error response from daemon: remove 151733afd12983bb75caace2fc00176a6f37c13769e20fa97cb1e44b207f0044: volume is in use - [ca85855c1ec5eb9425cf2155125853d498fddccc58b0232fafbf5c9f2f7aa0f1]

    Error response from daemon: remove ncdata: volume is in use - [66c2564a20a47650ec231c1fa00171799d75b66514f84f3e820c4c6120e51d16]

    Error response from daemon: remove portainer_data: volume is in use - [42776135cbd8ba951d0dc5cba921a7abe9f4287c166667a54c8759f04d633c42]

    Did you delete the volume?


    docker volume ls to see if there are some volumes related to portainer

    root@media:~# docker volume ls

    DRIVER VOLUME NAME

    local 32c3e70058671278600e16c244a321688aaea48a75232045350d56d31192b5d2

    local 151733afd12983bb75caace2fc00176a6f37c13769e20fa97cb1e44b207f0044

    local ncdata


    there was more, but i use docker volume prune

    left only those 3 they can not be removed

    The "use external templates" might be the issue. It says that internal templates are disabled, when external templates are enabled.

    I disabled external template save and still no other templates?


    I added again external template json and got this error

    Failure

    json: cannot unmarshal string into Go struct field Template.interactive of type bool

    but before that they worked!

    I did something and now i lost all templates on Portainer

    Application templates list is empty. I uninstalled and installed portainer again, but still no templates there.

    What could be the problem and is there any chance to get templates back without reinstaling OVM?

    Setting up a full web server under Docker to run, for example a Wordpress site, is a pretty advanced task. My suggestion is to get a second device such as a cheap OrangePi or similar and use that instead with Ubuntu server as the OS and then follow a web tutorial on setting up a site. Once this has been mastered then think about trying the same under Docker.


    An alternative is to use free web hosting site such as x10 hosting to learn the ropes at no cost.

    well, i had running site on windows, but i want to learn how to do it in Linux, especially in openmediavault! So if some one have free time, feel free to make me a guide how to do it! ;)

    Don’t know what kind of websites you want to run. Mostly a web server consist of an Apache or Nginx, MySQL, and the service.

    Docker images config are vary.

    just normal sites, i have domain just need to use my server to host the site not to pay for hosting!

    Which of this Apache, Nginx, MySQL, CPanel and/or what else have to install 1st and how to configure it?

    Can some one make a guide how to do this from zero?

    Do i have to install all from portainer or from terminal with apt commands?

    As i said before I am a real noob in linux ! Thanks in advance !