Nextcloud Nginx Proxy Manager in 10 Minutes!

Поделиться
HTML-код
  • Опубликовано: 3 окт 2024

Комментарии • 206

  • @betadyne9559
    @betadyne9559 2 года назад +13

    Straight to the point, enough explanation for someone vaguely familiar with the tools can understand, addressing all major points related to the topic.
    Everything worked immediately, documentation is absolutely perfectly written, excellent job !
    This is some high quality tutorial !

    • @christianlempa
      @christianlempa  2 года назад

      Thank you so much;) I’m glad you like it!

    • @maxwitzker7722
      @maxwitzker7722 5 месяцев назад

      can you confirm That Nextcloud is also reachable via iPhone or safari

    • @betadyne9559
      @betadyne9559 5 месяцев назад

      @@maxwitzker7722 Yes.

  • @tommasosaponetta6504
    @tommasosaponetta6504 2 года назад +1

    Hello. I have been able to fix everything: removed port 80 from OMV dashboard and assigned to nextcloud; linked nginx and nextcloud containers to the same frontend network. Everything works fine! Many thanks for the video, I am sharing it with friends of mine, it is simply the best video on this argument I have been able to find on the net!

  • @cdvllc
    @cdvllc Год назад +2

    THANK YOU Christian for putting together a very good tutorial for NextCloud inside of Docker. I've watched many videos and while they all have different approaches they are not nearly as concise as your video on this topic. Also, it is very clear that you quality tested the process many time to prove that it actually worked before making a video. So many others - (99.9%) put a video out with some general info without fully understand or quality checking their process which turns into failure and frustrations for the general user. I can say - if anyone wants to get this working without pulling your hair out - watch Christian's tutorial - it's the BEST one on the topic!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @-a6833
    @-a6833 3 года назад +21

    Struggled with this for a while, not knowing why, but for those that already installed npm in a previous tutorial, the npm part of the docker-compose is apparently omittable, so you just need the nextcloud container and the nextcloud_db (mariadb) container, also if you get thrown an error by innodb when trying to make an admin account saying that it doesn't accept compressable format or something, then replace "command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW" in the docker-compose with "command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-file-per-table=1 --skip-innodb-read-only-compressed", and you're all set (worked for me at least)

    • @dennisvandenbroek1725
      @dennisvandenbroek1725 2 года назад +1

      Thanks for sharing. I had the same issue. Adding this to the compose worked like a charm!

    • @-._.-._.-._.-._.-._.-
      @-._.-._.-._.-._.-._.- 2 года назад

      Hello, I am trying to get this to work, and nothing seems to work.
      What exactly should I copy from his compose file? The separated volumes / networks?
      I was able to deploy the containers, but I am not able to access Nextcloud. Nginx works just like before

  • @thejerseyshaun
    @thejerseyshaun Год назад +1

    Thank you so much for this. It worked perfectly. You are becoming one of my favourite content providers on RUclips. I know you have had some doubts recently but the way you explain things is verry clear and you are a great teacher. One of the best on RUclips. I really appreciate what you do and I am sure there are many others who feel the same.

  • @rythimator
    @rythimator Месяц назад

    You saved my life when it came to client syncing. The documentation was utter shit and you've just saved me. I've been troubleshooting for 6 hours and you solved my issues in 10 minutes. Thank you SO much!!!

  • @xeorion9863
    @xeorion9863 2 года назад +2

    Best tutorial I have ever watched. Seriously.
    A was searching to install nextcloud on my docker server since several months and I watch your video and all is clear, all is working.
    Thank you very much for this tutorial!

    • @christianlempa
      @christianlempa  2 года назад +1

      Thank you so much :)

    • @maxwitzker7722
      @maxwitzker7722 5 месяцев назад

      can you confirm That Nextcloud is also reachable via iPhone or safari

    • @xeorion9863
      @xeorion9863 4 месяца назад

      @@maxwitzker7722 sure! :)

  • @some1stoleit
    @some1stoleit 11 месяцев назад

    Thank you so much. I was beating my against a wall figuratively for days trying to figure out why my mobile nextcloud client wouldn't connect to my instance. 10 minutes was all I needed!
    I was so relieved I had to immediately login to my google account to post this.

  • @77Blackwolf77
    @77Blackwolf77 3 года назад +4

    Thank you very much for doing this. I really appreciate the effort and how quickly you responded to the request!

  • @luckyluk83
    @luckyluk83 3 года назад +6

    Thank You. I've been playing around with stacks like that for some time and there was always something not right. Your is very close to perfection. Now i have to figure out how to separate some volumes and folders for nextcloud so i can rsync them to another server. Keep on doing videos on Dockers they are very helpful. I wish your channel to grow and hopefully you'll get some money back for your time. Good luck.

    • @christianlempa
      @christianlempa  3 года назад +2

      Thank you so much for this feedback 🤗, I'll do my best and do more docker videos for sure!

  • @joelfrojmowicz
    @joelfrojmowicz Год назад

    Once again, another amazing video from Christian. Had an issue with the carddav error and all it takes was see your video to solve it. Thanks!

  • @upuldi
    @upuldi Год назад

    This is the best tutorial outdare. So easy and straight forward.

  • @nichemonk8797
    @nichemonk8797 2 года назад +1

    Awesome content Christian - please keep up the good work and happy 2022 to you!

    • @christianlempa
      @christianlempa  2 года назад +1

      Thank you! Of course, I'll do :) Happy new year to you too!

  • @curtalfrey1636
    @curtalfrey1636 Год назад

    your vids really helped me get started with 8 websites, thanks!

    • @christianlempa
      @christianlempa  10 месяцев назад

      Many thanks for your support 🙌

  • @soCram4891
    @soCram4891 10 месяцев назад

    Thanks for your video! One (supposedly) very common issue in combination with nginx/fpm and nginx proxy manager is the fact that IP addresses are not logged properly. This will lead to the brute force protection not working. It would be very helpful if this video could be extended by explaining how this needs to be set up (e.g., how npm, (nextcloud) nginx and the config.php needs to be adadpted).

  • @fzovko
    @fzovko 10 месяцев назад

    Excellent brother 😃. Getting an SSL on my Nextcloud was driving me crazy.

  • @easternpa2
    @easternpa2 2 года назад

    Just wanted to pop in with another thanks for a great video. After almost 30 years with Linux, I'm finally starting to adopt a self-hosted lifestyle. I found your video after failing to deploy AIO through Cloudflare to a home server protected by npm (but unreachable via 443). Took just a little tweaking here and there, but you even covered the little things that break, such as overwriteurl to lock in the port number and overwriteprotocol to fix login issues with the Android app. I'm still trying to figure out why no pictures load and why my Android app says I can't upload because the server is in maintenance mode.
    Thanks again for an excellent introduction. Great job.

    • @christianlempa
      @christianlempa  2 года назад

      Thank you so much! :) Maybe you can check out our Discord and ask for help.

  • @gdallas100
    @gdallas100 5 месяцев назад

    That was really helpful, one stack to rule them all!

  • @mk-hh
    @mk-hh 3 года назад

    Danke für das Video!!! Wirklich hervorragend !

    • @christianlempa
      @christianlempa  3 года назад

      Vielen Dank! Freut mich, dass es dir gefällt :)

  • @vmdcortes
    @vmdcortes 2 года назад

    This really helped me, thank you!!

  • @chris8780
    @chris8780 Год назад

    Thanks for your video! It worked great.

  • @611d45
    @611d45 Год назад

    That's great! I manage to set that up on a raspberry Pi 3.
    Now, I have to add some email server and make the megic work somehow, so nextcloud can send email confirmations.

    • @christianlempa
      @christianlempa  Год назад

      Nice! Yeah I always thought the mail server was the tricky part

  • @ethanw4797
    @ethanw4797 Год назад +3

    I had an issue where I couldn’t log into NGINX and it said bad gateway. This was an authentication issue with the database. I made sure my passwords matched in my docker compose file, deleted the existing containers and their volumes, and ran it again.

  • @agraciag
    @agraciag 2 года назад

    Thank you, I had to add "--innodb-file-per-table=1 --skip-innodb-read-only-compressed" to the nextcloud-db command in the docker-compose.yaml file

  • @a7mednor
    @a7mednor 2 года назад +1

    i am stuck with Internal Error
    when i use npm

  • @MrSkillshot360
    @MrSkillshot360 2 года назад +1

    Excellent tutorial. Do you have any suggestion which lightweight DB image to choose for a Raspberry Pi with 64-bit Rspbian instead of MariaDB for better performance?

  • @lamnot.
    @lamnot. 3 года назад

    Excellent stuff.

  • @dkeisk
    @dkeisk 3 года назад +1

    First I appreciate the effort you're making to answer every comment.
    For that do I need installation do I have to install apache2 outside the docker?or as docker image? Or I don't need it at all?.
    And if I'm planning to install pihole with the explained bundle in the video would you please be so kind to make a video or elaborate about how to do so?

    • @christianlempa
      @christianlempa  3 года назад +1

      Thanks bro 😊, yea that's coming out in a few months

  • @randleqgod
    @randleqgod 2 года назад

    Thank you!

  • @novaleary4488
    @novaleary4488 3 года назад +2

    How do I make NextCloud upload large files? For some reason it won't let me upload files that are larger than 512MB

  • @leonardliebler3510
    @leonardliebler3510 3 года назад +1

    Thanks for the awesome guide! I think it worked, but I am not able to generate the ssl certificate in the nginx-manager. I just get a "internal server error", when I try to create it inside the proxy host (as you do), so I tried to just create one in the ssl certificates tab, to see what happens. In the error it says that I exceeded the let's encrypt rate limits for this domain, wich is (if I got it right) 10 overrides per week for the same domain. That is likely, since I re-deployed another reverse-proxy container multiple times, when I followed another nextcloud tutorial (that didn't work unfortunately). Soooo I most likely have to wait a couple of days till I can get the ssl certificate (hopefully), but in the meantime it would be super nice if you could answer two questions:
    btw. this is my first server, so sorry for the nooby questions...
    1: Could there be another reason for the error than the rate-limit? I'm hosting on an old laptop with ubuntu, dyndns service setup with a proper domain, forwarded ports 80 and 443 in my router and the ddns points to my servers ipv6 (have only ipv6 access, bc I have a ds-lite connetion), so I should be good, right?
    2: Is there a way to at least access the nextcloud installation through my local network while I wait for the certificate? that would also be great for transfer rates, if I could use local home network access at home and through the domain remote.
    Thank's in advance! Great content, you got my subscription. Keep it up!

    • @leonardliebler3510
      @leonardliebler3510 3 года назад

      btw I do have the proxy host set up without the ssl right now, but when I try to access my domain withouth the ssl, I just get an "ERR_EMPTY_RESPONSE" error.

    • @christianlempa
      @christianlempa  3 года назад +1

      I might do a separate video on reverseproxies soon, maybe that's helping you

    • @dikingvfx
      @dikingvfx Год назад +1

      Hi, have you solved the issue ? I still have the 'internal server error' issue ... Thanks !

  • @kugelschreiber2668
    @kugelschreiber2668 3 года назад

    Thanks for this Tutorial, I tried to setup exactly that the last days and didn't succeed. I will take the next 10 min doing that by your Tutorial ;)
    Do you mind making a follow-up for transferring a traditional nextcloud (no docker, no NginxProxyManager) to your new cloud?

    • @christianlempa
      @christianlempa  3 года назад +1

      Thank you 😊, well I may take a look but I don't know if I would make a dedicated video to that. Maybe a more general video about transferring non-docker to docker apps? I'm thinking about it. Great suggestion!

    • @DigitEgal
      @DigitEgal 3 года назад

      @@christianlempa +1 for "general video about transferring non-docker to docker apps"

  • @2possible764
    @2possible764 2 года назад

    Thanks for the Wonderful Tutorial . Can you please guide how to make a Nextcloud Docker using wasabi storage as Primary Storage .

  • @markuskrober2745
    @markuskrober2745 9 месяцев назад

    @christianlempa
    I am trying to set up nextcloud with a little different setup.
    I have "nginx proxy" already installed and just wanted to add mariadb and nextcloud. So i added the networks (including the external:true) and the services (nextcloud-app, nextcloud-db) as well as the volumes. For my nextcloud-data volume i wanted to use a "nfs-docker-volume" like you explained in your other video (Don't use local Docker Volumes). So i created the volume according to your guide an tested it- it works.
    Next i used the created volume "nextcloud-data-nfs" under the voulmes section in the docker compose-file and i got it running.
    Now when i try to create the create the docker files i am getting permission problems...
    ERROR: for nextcloud Cannot create container for service nextcloud: failed to chmod on /var/lib/docker/volumes/nextcloud-data-nfs/_data: chmod /var/lib/docker/volumes/nextcloud-data-nfs/_data: operation not permitted
    How do i get those permission right?
    I'd apprechiate your help.
    regards,Markus

  • @sheikhtalalzaki6570
    @sheikhtalalzaki6570 2 года назад

    You are awesome and your tutorial is amazing, could you please do the same with Jitsi application???

    • @christianlempa
      @christianlempa  2 года назад

      Thanks mate! I have no idea about Jitsi so that's probably not happening soon ;)

  • @dilloniverson2806
    @dilloniverson2806 6 дней назад

    In case anyone else runs into this, I didn't understand that NGINX proxy manager needs access to both the frontend and backend network. At least that was seemingly the problem with my setup.

    • @christianlempa
      @christianlempa  4 дня назад +1

      The frontend and backend network are basically just 2 docker bridge networks. I use them to connect services to my proxy.

  • @detlefwessel6192
    @detlefwessel6192 3 года назад +1

    Hi Chris, thx a lot for the tutorial. It's precise and to the point. Had to turn audio into slow motion. ;-) At teh end I received these warnings: "Dein Web-Server ist nicht richtig eingerichtet um "/.well-known/caldav" aufzulösen.""Dein Web-Server ist nicht richtig eingerichtet um "/.well-known/carddav" aufzulösen". I am NOOB to working with Docker. Please provide some hints for how to fix this.

    • @christianlempa
      @christianlempa  3 года назад

      Hallo Detlef, im Video habe ich kurz darüber gesprochen: docs.nextcloud.com/server/19/admin_manual/configuration_server/reverse_proxy_configuration.html
      hier müssen im nginx proxy manager die locations eingestellt werden. Einfach beim proxyhost im npm auf "advanced" gehen und das entsprechend so einstellen, für den Nginx webserver.

    • @detlefwessel6192
      @detlefwessel6192 3 года назад +1

      @@christianlempa Prima - hat geklappt. Vielen Dank

  • @XDarkstarXUnknownUnderverse
    @XDarkstarXUnknownUnderverse Год назад

    This was great until I might have done something wrong. I cannot access nginx on port 81 on a cloud instance. It just loads continuously and nginx is running.

  • @KeesFluitman
    @KeesFluitman Год назад

    I've got it running fine. But I'm not happy with the response times from my container. Loading the web interface takes 1-2,5s.

  • @Felix-ok2mx
    @Felix-ok2mx 6 месяцев назад

    @christian.lempa, can you point us to an introduction how to setup the two frontend and backend networks on our docker site (min 4:55 onwards)?

    • @christianlempa
      @christianlempa  6 месяцев назад

      There's a video I've done about docker networks: ruclips.net/video/5grbXvV_DSk/видео.htmlsi=JXmmEsjEPng5ju3F

  • @noname34937
    @noname34937 2 года назад

    Great tutorial! Thanks a lot! I'd like to ask how do we best protect the administrative url we reach after such an installation. After all the ssl installs and the reverse proxy settings, I think that all that stands between you and the administrative page in the end is just a strong password. Do you have any suggestions?

  • @irtibatkisileri222
    @irtibatkisileri222 2 года назад

    thanks for this. my container name is changed after up -d command.

  • @raatti
    @raatti 2 месяца назад

    Any chance to see this updated for podman/SELinux enabled RedHat/Rocky/AlmaLinux for current AIO? I don't think this would work on current AIO with RH.

  • @Blarnix
    @Blarnix Год назад

    Is there a way to move the Nextcloud directory to another drive in the container, such as another mount like another drive separate from the docker container install drive?

  • @lucacalifano2844
    @lucacalifano2844 Год назад

    Hello, thank you very much for the tutorial, everything works for me the only thing I don't understand is why when I open it it gives me an error: directory "/" not found

    • @christianlempa
      @christianlempa  Год назад +1

      You're welcome! Why not join our Discord, maybe somebody can help you.

  • @asa466
    @asa466 Месяц назад

    I've followed these steps and got to the nginx default login page, where it just gives a bad gateway. Any idea what I'm doing wrong?

  • @thebabaluga
    @thebabaluga 9 месяцев назад

    Danke!

    • @christianlempa
      @christianlempa  9 месяцев назад +1

      Vielen Dank für deinen Support 🫶

  • @nolandderlugner1351
    @nolandderlugner1351 6 месяцев назад

    Doesnt work for me, is that cause nx proxy host is on port? 8080?

  • @Shaq2k
    @Shaq2k 2 года назад

    Excellent video. I'm new to this, so maybe this is obvious, but why go through a proxy if your client is in the local network?. Isn't it better to expose the network ports on Nextcloud so clients can connect directly?

    • @mchilds83
      @mchilds83 2 года назад

      I believe the proxy is essentially just another layer of security. It can filter common exploits to prevent an attacker from running them directly on your web server. It also has a fairly simple interface for adding a Let's Encrypt certificate.

  • @unlock-er
    @unlock-er 2 года назад +1

    followed this tutorial, but when trying to login to nginx with default creds, I'm getting bad gateway. not sure why this is. any thoughts anyone? thanks

  • @darkwizzel
    @darkwizzel 4 месяца назад

    hey i need some help.. it is not working :( - i get to the standard page of nginx but the redirect to any subsite does not work. it just says server not found. i dont have any idea why
    ports are forewarded.

  • @Error_042
    @Error_042 Год назад

    Hey, so in the part where you setup the whole thing on an existing setup, you talk about 'like in my other video'. But what is the video you are talking about with this setup? I want to be on the same page as you and want to follow the video but it's not linked here and you have a lot of viedos :)

  • @shalinm4931
    @shalinm4931 Год назад

    Hi Chris,
    is it possible to create a video for Collabra-Office docker container and connect it using next-cloud docker instance ?
    Thank You so much :)

    • @christianlempa
      @christianlempa  Год назад

      Well, I don't know. I haven't used this set up for a long time, more into other topics right now.

  • @Krautmaster86
    @Krautmaster86 Год назад

    thanks for the tutorial. Any how, if my service behind the reverse proxy runs eg on port 9001, I wonder what to enter in "proxy host". If i add that port there it always tries to open Port 9001 from my public domain but it should route 443 -> 9001 transparently. Any ideas?

  • @tellymonster4169
    @tellymonster4169 2 года назад

    I've tried a bunch of tutorials. Why do I have bad gateway when trying to log in to NGINX?

  • @RicardoLuizSousadaSilva
    @RicardoLuizSousadaSilva 3 года назад

    For those who have problems with ISP with ports 80 and 443 close. There are any alternative for remote access with https certification?

  • @pavelperina7629
    @pavelperina7629 Год назад

    I'm quite new to this docker stuff (like I made docker with nextcloud running and that's basically all)
    But can't be there just one mariadb docker image for both proxy and nextcloud? Are special parameters important, aren't they specific to database files?

  • @idriskautsar757
    @idriskautsar757 3 года назад

    @The Digital Life, please make video about pritunl, it's nice app for VPN Server, i like a way your explain

  • @irtibatkisileri222
    @irtibatkisileri222 2 года назад

    thanks man. why not using only one db container serving for all apps?

    • @christianlempa
      @christianlempa  2 года назад

      I still like to segregate my projects, I guess that's the whole point of containers. But sure, you can also add them to one DB if you like.

  • @maxmustermann9858
    @maxmustermann9858 2 года назад

    But is the config Persistent? I don’t think so because you haven’t set a volume or bind mount for it. So every time you restart the container the overwriteprotocol gets deleted. Am I Right?

  • @poedenon
    @poedenon 2 года назад

    Anyone else getting these errors in setting > overview
    Your web server is not properly set up to resolve "/.well-known/webfinger". Further information can be found in the documentation ↗.
    Your web server is not properly set up to resolve "/.well-known/nodeinfo". Further information can be found in the documentation ↗.
    If so, were you able to fix them? and how?

  • @meathead919
    @meathead919 2 года назад

    I felt the Nextcloud GUI is really sluggish. Flipping between simple apps like notes + files takes 0.5 - 1.5 seconds on a default regular docker container with mysql on a 32gb server. I set php memory limit to 1024M and verified memcaching is on. Is this just sloppy coding on Nextcloud's part? Openproject for example feels supersnappy in comparison.

  • @Aerasyn
    @Aerasyn Год назад

    Hmm sadface. im getting a yaml scan error on your preconfigured .yml multiple lines reporting missing expected ":" when trying to "docker-compose up -d" Couldnt even get past first step with this error.

  • @detlefwessel6192
    @detlefwessel6192 2 года назад

    Moin Christian, NC und NPM laufen seit 8 M stabil und Watchtower hält das ganze current. Jetzt suche ich eine Backup-SW um BU auf einem NAS zu speichern. Das Tutorial "Backup in Linux Servers - Docker Volumes, and Databases" ist schwierig, da die einzelnen Mappings hingehen müssen. Ist duplicati die beste SW dafür? Und gibt es ein Tutorial für Backup zu diesem Setup "NC & NPM in 5"?

  • @sagarkapasi099
    @sagarkapasi099 2 года назад

    Using public server for editing personal (potentially sensitive) documents is risky. Host onlyoffice or collabora.

  • @mchilds83
    @mchilds83 2 года назад

    Any suggestions for the best way to automatically update the Let's Encrypt certificate in a few months, and for updating the docker image to the latest?

    • @christianlempa
      @christianlempa  2 года назад

      NPM does that, to update the docker images, I'm using watchtower

  • @marlesy2k7
    @marlesy2k7 3 года назад

    Hi Christian, great tut. I already have NGINIX installed however the network it is connected to is 'bridge' I tired replacing this on the networks however it gives an error. Can you please suggest what I would do

    • @christianlempa
      @christianlempa  3 года назад

      Not sure, why not join our discord and share the error message and details with us, maybe somebody can help you :)

  • @Richard-kl8wr
    @Richard-kl8wr 2 года назад +1

    Hello Error while trying to initialise the database: An exception occurred while executing a query: SQLSTATE[HY000]: General error: 4047 InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE.

    • @christianlempa
      @christianlempa  2 года назад +1

      Add --innodb_read_only_compressed=OFF after the run command , should do the job.

  • @cluberic
    @cluberic 2 года назад

    followed this tutorial and my domain keeps going to nginx not nextcloud. Why?? Only difference is my portainer is running on port 80 already so i had to change the ports to 81,82,8443

  • @thejerseyshaun
    @thejerseyshaun Год назад

    Does anyone know how one would add fail2ban to the nextcloud docker container ? for brute force protection?

  • @itstudio1151
    @itstudio1151 Год назад

    how to set trusted proxies for nextcloud? i got warning in nextcloud admin area

  • @FMVNEPAL
    @FMVNEPAL 3 года назад

    can you make free VPN server tutorial like softether vpn , Redmin vpn, this type of easy one to connect lan to lan over the network

    • @christianlempa
      @christianlempa  3 года назад +1

      Hey bro, I did some tutorials about WireGuard, because I think that's the easiest way of setting up a VPN server for your home network: ruclips.net/video/GZRTnP4lyuo/видео.html

  • @AL3X36000
    @AL3X36000 11 месяцев назад

    hi, i followed your guide and its working good , but i cannot upload large files (6gb) from MacOs Desktop app, it says 413 file too big . I adjusted npm to set the max client body size but still have the 413 error ... any ideas ?

  • @weberhuang9700
    @weberhuang9700 2 года назад

    I meet errors like: Error while trying to initialise the database: An exception occurred while executing a query: SQLSTATE[HY000]: General error: 4047 InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE. I think it's the error involving mysql account. Any suggestions?

  • @lawake7877
    @lawake7877 2 года назад

    someone please tell me where to start i know nothing about all this.

  • @ThisGuyClicks
    @ThisGuyClicks Год назад

    thanks for this, im running into the cron job issue, where cron jobs dont run as scheduled when running nextcloud on a docker container. there is a github issue where we need to set up a seperate container to run cron jobs, i see this is missing on the docker compose file provided. i dont know how to properly hookup the cron container based on this configuration. i would appreciate any help on this as im trying to migrate my google photos to nextcloud using the google integration app, but it requires cron jobs to be set up properly to complete the migration.
    SOLVED: i solved this, i added the answer as a reply but The algorythm deleted it

  • @debnathmriganka2010
    @debnathmriganka2010 Год назад

    Sir can you help me one thing. I install nxinx proxy manger in portainer, but i went to install using 80,81 and 443 port this is not install but when i change it 40080, 40081 and 40443 then it is install and run nginx but after that when i add host this is not redirect, I dont know frome where i can change.

  • @wchorski
    @wchorski 2 года назад

    So how I understand, this has to be done on a Linux machine? Can this be done on a Virtual Machine inside of Windows?

    • @christianlempa
      @christianlempa  2 года назад

      Sure, you can do this inside a Linux VM!

  • @ELIAS-og5vf
    @ELIAS-og5vf 3 года назад

    Please i have Simple website html css js how can i Publish my website with this Proxy i didn't find any video on RUclips is this Possible!!!!!?????

  • @detlefwessel6192
    @detlefwessel6192 2 года назад

    OOPS, bin vlt fündig: bei /var/lib/docker/volumes/nextcloud_nextcloud-data finde ich db- und data-files für NC und NPM. Ist das alles, was zum BU nötig ist?

  • @papin04
    @papin04 3 года назад

    Can you do 4minitz with the database container & OrangeHRM? both awesome programs and open source. TIA

    • @christianlempa
      @christianlempa  3 года назад

      Thank you for the suggestion! I'll check them out, but I don't know if I do a video about this, as this is usually not searched often by people.

  • @MichaelCuyvers
    @MichaelCuyvers 3 года назад +1

    I get "bad gateway" error when trying to log in Nginx Proxy Manager.
    Also docker container says "unhealthy".
    Any thouhgts?

    • @DigitEgal
      @DigitEgal 3 года назад

      Most likely, the nginx stack failed building (=means nginx could not connect to its mariadb instance - maybe because of port or password issues).
      It would be helpful for us if you provide your docker-compose and look for fails at the building process.
      Another Idea i just had is that maybe this part is causing problems when doing a fresh install and leaving the empty value.. Maybe it helps to delete that part.
      "networks:
      frontend:
      # add this if the network is already existing!
      # external: true
      backend:"

    • @MichaelCuyvers
      @MichaelCuyvers 3 года назад

      @@DigitEgal Ok, i will try that
      Thanks for the reply

    • @airplaneguru4
      @airplaneguru4 3 года назад

      I also get this error, did you ever find a workaround?

    • @airplaneguru4
      @airplaneguru4 3 года назад

      Nevermind, I fixed it but I couldn't really explain how... 🤔

  • @mariusclaudiutodorbalaj1459
    @mariusclaudiutodorbalaj1459 4 месяца назад

    Hello, thanks for your video, it has helped me with my nextcloud server, but I have a problem with NPM not working for me /.well-known/caldav and /.well-known/carddav .
    If you know how this problem could be solved, could you explain it please?
    Thank you

  • @philwalker5268
    @philwalker5268 3 года назад +1

    Hi Christian.
    Firstly, thanks for the vids. You've got this noob further than anyone else is getting Nextcloud up and running with Docker & Portainer.
    However, following your tutorial, I get as far as being able to open Nextcloud in a browser, but when I hit the button to finish setup, it throws up an error:
    "Error while trying to initialise the database: An exception occurred while executing a query: SQLSTATE[HY000]: General error: 4047 InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE."
    Any ideas where I've gone wrong? Or anyone else?
    Any help would be greatly appreciated.

    • @philwalker5268
      @philwalker5268 3 года назад +1

      I found the solution.
      For anyone with the same issue, change the command in the nextcloud-db container section to: command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-file-per-table=1 --skip-innodb-read-only-compressed

    • @christianlempa
      @christianlempa  3 года назад

      Thanks for sharing! Sorry for the late reply, but I'm glad you found the solution 😃

  • @flY4YuqiQGC
    @flY4YuqiQGC 2 года назад

    Love this video , i installed the script and i am getting an error on the database for npm and bad gateway, when i try to login to npm

    • @christianlempa
      @christianlempa  2 года назад

      Thanks! Likely there is a misconfiguration in the DB connection from NPM

  • @franzpleurmann2585
    @franzpleurmann2585 3 года назад

    I followed your instructions but the container isn't named 'nextcloud-app' rather 'nginx-proxy-manager_nextcloud-app_1'. Which is based on the folder where I stored the 'docker-compose.yml'. I'm not able to connect to the container because I don't know what to enter in the 'Forward Hostname / IP' of the 'New Proxy Host' window in Nginx Proxy Manager.

    • @Dmkjr
      @Dmkjr 3 года назад

      Did you get this resolved? I have the same issue I think causing a bad gateway. (502)

    • @christianlempa
      @christianlempa  3 года назад

      Bad Gateway at the login page happens when NPM can't connect to the mysql database

  • @RichardSmith-ik5rp
    @RichardSmith-ik5rp 3 года назад

    can you share your prompt theme? Its great!

    • @christianlempa
      @christianlempa  3 года назад

      Sure, here is my settings file of Windows Terminal: github.com/xcad2k/dotfiles/blob/main/Windows/WindowsTerminal/settings.json

    • @RichardSmith-ik5rp
      @RichardSmith-ik5rp 3 года назад

      @@christianlempa That is very generous, I am still trying to deploy your nginx and ssl video to my network, still cant get ssl to work with cloudflare but ive watched the video so many times that I keep noticing that prompt...

  • @kugelschreiber2668
    @kugelschreiber2668 3 года назад

    Die Änderungen in der config.php machst du ja (wenn ich das richtig verstehe) von innerhalb des Containers aus. Man könnte doch auch direkt die Datei auf dem Wirt, also ausserhalb des containers ändern (/var/lib/docker/volumes/nextcloud_nextcloud-data/_data/config/config.php). Machst du das nur, um zu zeigen wie man innerhalb von Containern arbeitet, oder gibt es einen anderen Grund?

    • @christianlempa
      @christianlempa  3 года назад

      Gute Frage, tatsächlich ist mir das auch erst später aufgefallen 🤣. War also nicht wirklich beabsichtigt, aber ist ja auch interessant zu sehen wie man sich in einen Container verbindet 😊

    • @kugelschreiber2668
      @kugelschreiber2668 3 года назад

      @@christianlempa Ich (als Noob im Containern) fands jedenfalls sehr interessant wie man in den Containern arbeitet. Danke für's Tutorial!

    • @christianlempa
      @christianlempa  3 года назад

      @@kugelschreiber2668 Danke! Mach ich gerne :)

  • @kugelschreiber2668
    @kugelschreiber2668 3 года назад

    Sorry for bowering you again, but how can one address port 80 of the nextcloud container from within the local network (without going via the domain)?

    • @christianlempa
      @christianlempa  3 года назад

      No worries, you can just use the IP address, but I strongly would use the domain, even from local network!

    • @jazzbuckeye
      @jazzbuckeye 3 года назад

      @@christianlempa If you use the domain from the local network, will traffic go outside the network and back in, or is something smart enough to route it inside the network only?

  • @JulienDroux
    @JulienDroux 2 года назад

    hi y ave this error in install of NextCloud : SQLSTATE[HY000]: General error: 4047 InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE. how to Fix it Please ? (sorry for my bad english)

  • @Amin-g7i3u
    @Amin-g7i3u 2 года назад

    Hello! Thank you very much for the videos! I got a problem. NPM is running and i added the proxy. But when i connect via fqdn to my nextcloud i got the error "ERR_EMPTY_RESPONSE
    " and i don't know why...in the nc container i got the config.sample.php file and copy that to config.php and added the trusted domains.

    • @christianlempa
      @christianlempa  2 года назад

      it's hard to find the issue here in the comment section, so why don't you come to our Discord Community, and post some details about your setup, maybe somebody can help you out ;)

  • @mathieuleclerc4136
    @mathieuleclerc4136 2 года назад

    why there is no port for nextcloud?

    • @peterp3248
      @peterp3248 2 года назад

      there's a default port

  • @EduardoRodriguez-fu4ry
    @EduardoRodriguez-fu4ry Год назад

    I know this is an old video but I referred back it since I deployed my home server...finally. Eventhough I followed you almost exactly, I have a bug. I can enter to nextcloud through all my devices but I can't upload anything! Not even a single file! I get a message "Unknown error occurred". I'm not sure if it is something with the proxy or as I read elsewhere to increase upload file size. If it is the later I am lost on which file I need to edit. I hope somebody can help here...I'm desperate.

  • @vinhpham9129
    @vinhpham9129 2 года назад

    Hi, I am trying to install Nextcloud onto my macbook pro (which already currently has Docker and Portainer installed). I am not sure you know this answer as you might not have had experience with this on a mac, I asked because you mentioned 'any server' in the beginning so I was not sure if it is for Linux servers only. My apologies, I am new to Docker (etc). I successfully got Docker, Portainer, and Nextcloud installed, but the MySQL instances that I tried (via Docker and MySQL Community Server download) could not connect to my Nextcloud because macOS doesn't supply the docker0 interface where I can obtain the IP & port for the Nextcloud connection. Any advice is greatly appreciated.
    Would I need Docker-compose to go your route (in this tutorial) if it works with macOS?

    • @christianlempa
      @christianlempa  2 года назад

      Puh good question, that's a topic I really have no expierience with.

    • @vinhpham9129
      @vinhpham9129 2 года назад

      @@christianlempa No worries! I figured it out. Thanks!

  • @trautitrauti9094
    @trautitrauti9094 3 года назад

    I´m getting 502 bad gateway when trying to log into npm. I followed everything step of this video step by step(Installed it fresh on a VM). Google said this 502 issue is most likely caused because npm can´t access the other containers, but in the compose file every needed instance is located in the backend network. Do you guys got idea how to fix it?

    • @christianlempa
      @christianlempa  3 года назад

      It might be just a minor mistake, can you share your config on our discord?

  • @marcoslabbers8718
    @marcoslabbers8718 Год назад

    Bin Deiner anleitung gefolgt, alles perfekt ausser, dass die Cronjobs nicht laufen. Kannst Du mir da helfen?

    • @christianlempa
      @christianlempa  Год назад

      Schau mal auf unserem discord vorbei, vielleicht kann dir da jemand helfen :)

  • @netdope1337
    @netdope1337 3 года назад

    Got some Problems with big files downloading..
    I used this Custom Nginx Config in the Advanced Tab from NPM:
    ########################
    proxy_set_header Host $host;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_max_temp_file_size 16384m;
    client_max_body_size 0;
    ########################
    grüße

  • @mebeingme947
    @mebeingme947 3 года назад

    Not working for me. cant' t login in nginx manager message bad gateway. That container itself is in unhealthy status with in the log [5/29/2021] [4:00:49 PM] [Global ] › ✖ error ER_ACCESS_DENIED_ERROR: Access denied for user 'npm'@'192.168.16.2' (using password: YES)
    s6-svscanctl: fatal: unable to control /var/run/s6/services: supervisor not listening
    [cont-finish.d] executing container finish scripts...
    [cont-finish.d] done. Port 80,81,443 are open on server and router....any suggestion?

  • @AllahomAnsorGaza
    @AllahomAnsorGaza 3 года назад

    i have question i hope you can help me with
    i want to host many sites on my server using containers
    but my questions is how i can take backups of my mongo DB
    think of install 1 DB for all my next projects to easly take backup for it
    please tell me the perfect approach

    • @christianlempa
      @christianlempa  3 года назад

      I will release a video on backup linux servers with docker containers and databases, soon. Hope this will help you :)

    • @AllahomAnsorGaza
      @AllahomAnsorGaza 3 года назад

      @@christianlempa i'm sure

  • @MrWishmaster90
    @MrWishmaster90 2 года назад

    Ich bekomme so langsam eine mittelfristige Krise :D
    Alles so gemacht wie in der Beschreibung und ich bekomme einen Umleitungsfehler.