Invoice Ninja (Official Image) Installed in Docker 2022

Sdílet
Vložit
  • čas přidán 10. 09. 2024

Komentáře • 53

  • @Tom-nq9fd
    @Tom-nq9fd Před rokem +3

    I've been waiting for an updated video on this. Thank you!

    • @DBTechYT
      @DBTechYT  Před rokem +3

      I've been waiting for my brain to work well enough to make this video! 🤪🤪

  • @michaeldimartino5389
    @michaeldimartino5389 Před rokem +4

    Goof how to and thankyou for putting it up. Just one thing, every tutorial should include a list of the ALL the pre req's/

  • @chrisdedavid1860
    @chrisdedavid1860 Před rokem +2

    4:00 Git Clone into current directory, you can just add " . " to the end of the statement as a reference to the current folder/directory, otherwise it will create a folder with the same name as the repo'.
    Note: Only if the current folder is empty, otherwise it will error.
    Alternatively: after "mkdir ninja", you could have cloned to that empty folder by just adding " ninja" to the end of the clone statement directing it to clone to that empty folder instead of the default behaviour.

  • @pabss3193
    @pabss3193 Před rokem +2

    What is extra_hosts used for?

  • @jan-lucadiehl5405
    @jan-lucadiehl5405 Před rokem +2

    Hi, I have the problem that I cannot choose German or English language and the right currencies after first logging in to invoiceninja. I just get the arabic, bulgarian and stuff like that. Does anyone has the same problem? Thanks a lot :)

    • @HillelCoren
      @HillelCoren Před 11 měsíci

      It sounds like the cache may be incomplete, you can refresh it by loading /update?secret=[secret from .env file], Note: this problem should be resolved in the latest version of the app.

  • @fdeproductions1233
    @fdeproductions1233 Před rokem +8

    18:20 Looking over the GitHub page it shows: To ensure folder permissions are correct when the container comes up for the first time it is important that you set the correct folder permissions on the docker folder.
    From the terminal run
    chmod 755 docker/app/public
    sudo chown -R 1500:1500 docker/app
    the second command is what is missing as you do not want to run the app folder/container as root.
    I came across a caching bug advises to run /update?secret=secret to reset the caching issue

  • @404Thoughts
    @404Thoughts Před rokem +2

    Thanks for this, I'm hoping you can do an updated one for the official akaunting image

    • @DBTechYT
      @DBTechYT  Před rokem +1

      Thanks for watching!! I'll add Akaunting to my todo list!

  • @riaangrobler3447
    @riaangrobler3447 Před rokem +1

    Email Sending - Struggled for a long time with email not sending out. MAIL_MAILER=log must be changed to MAIL_MAILER=smtp , otherwise NO email will be send out , but just logged. 😆, No Idea why anyone would want to keep it at "log" as no invoices will be sent to clients...

  • @WantClue
    @WantClue Před měsícem

    Have you actually tried to use Cloudflare tunnels, in order not to open up ports at home?

    • @DBTechYT
      @DBTechYT  Před měsícem

      I've been using Cloudflare tunnels exclusively for 2 years

  • @noneofyourconcern4566
    @noneofyourconcern4566 Před rokem +1

    Thank you 😊

  • @ChristopherManning-u8p

    Are you able to run this without the built in nginx?

  • @bbrendon
    @bbrendon Před rokem

    This gets it running but many of the buttons in the UI don't work. Did you actually log in and create invoices/quotes? I can't create any.

    • @DBTechYT
      @DBTechYT  Před rokem

      I would submit an issue on their GitHub

  • @richardgarnett5779
    @richardgarnett5779 Před rokem

    Anyone know why im getting a 500 - Server error? i followed this to the t

    • @HillelCoren
      @HillelCoren Před 11 měsíci

      There should be more details about the error in storage/logs or the web server error logs

  • @drbyte2009
    @drbyte2009 Před rokem +1

    Thnx a lot Davod! I was struggling this week with the older setup.
    Is it possible to do this setup in a stack?

    • @DBTechYT
      @DBTechYT  Před rokem +2

      You could if you wanted to figure out how to put all of the contents of the ENV file into the stack

    • @drbyte2009
      @drbyte2009 Před rokem

      @@DBTechYT I'am gonna take some time 🙂

  • @CraigGibson-xw2dc
    @CraigGibson-xw2dc Před rokem +1

    Great video, thanks for the time and effort you have put into making it.
    I'm trying to install on a synology NAS but after following all of the steps and running docker-compose up -d it cannot start the service db.
    It looks like the prerequisites for running invoice ninja are mysql:8 and nginx. Are these installed as part of the docker-compose up -d command or should they be installed prior to running?
    Both of the above show in docker under Image but not as containers.
    Any help appreciated. Thanks

    • @CraigGibson-xw2dc
      @CraigGibson-xw2dc Před rokem +2

      I managed to figure this out and got things working.
      It turns out there are two folders missing from the git clone. Inside the docker folder there should be a folder called mysql and within this a folder called data. Initially these are just empty folders which are populated when the database is created so they can just be created manually.
      As mentioned in the video, viewing the portainer logs for each of the 3 containers, after they have been created is important. This shows if the database has created properly, it's linking with the app and that the server is running correcty.
      Also please note that after creating the containers it took about 20mins before I could access the web interface. I noticed on the app portainer log it took some time to create the tables etc.
      Hope this helps anyone having the same problem.

  • @thatguywillt
    @thatguywillt Před rokem

    For some reason it's not letting me generate an app key, and it's driving me slightly nuts. I should stick to cars, lol.

    • @HillelCoren
      @HillelCoren Před 11 měsíci

      Are you seeing a specific error? If it's a permissions issue it may help to run the artisan command using sudo.

  • @wfp9378
    @wfp9378 Před rokem

    I am using Docker on my Synology. Should I install like this video outlines or use the Synology Gui?

    • @DBTechYT
      @DBTechYT  Před rokem +1

      The Synology GUI is only going to get you so far. The CLI method shown in this video will be easier

    • @wfp9378
      @wfp9378 Před rokem +1

      @@DBTechYT TQ

  • @adbrainfilm
    @adbrainfilm Před rokem

    Hey. If you self host Invoice ninja, can you then use the apps on Mac or IOS normally as you would with the paid service? Do you know if this way it is fully free or is there a subscription for anything? Have a great day!

    • @HillelCoren
      @HillelCoren Před 11 měsíci

      If you're self-hosting the app you can freely use all of the desktop (Windows, macOS, Linux) and mobile (iOS, Android) apps.

  • @firebird7515
    @firebird7515 Před rokem +1

    Can it be deploy in a raspberry pi??

    • @DBTechYT
      @DBTechYT  Před rokem +2

      I believe it can. I actually talk about the settings for that in the video when we look at the docker-compose.

  • @denbroc
    @denbroc Před rokem

    can i install it in a computer in my ofice?

    • @DBTechYT
      @DBTechYT  Před rokem

      As long as that computer has docker on it

  • @prhawkeye
    @prhawkeye Před 6 měsíci

    I was working for 3 hours before coming across this video, then I watched the video and tried to follow it as best I can. After 4 and a half hours, I still have no running application that I can access. Can't get to webpage, can't even get to the application at all. Docker container states it's running, yet I have no idea how to access it, and it doesn't appear to be working. I can't stand Docker, this is my experience every time I try, I've been through trainings, videos, still can't seem to get containers running. The only thing I was able to get working was a Plex container and a Dockge container. Everything else fails, just like this. Would love to try this application out, would love to be able to use this for invoicing, but I can't even get the thing running.

  • @davidnickel3949
    @davidnickel3949 Před rokem

    i hit the bell:)

  • @TheInfamousToTo
    @TheInfamousToTo Před rokem

    try Crater Invoices

  • @stevewilson6662
    @stevewilson6662 Před 5 měsíci

    I don't think InvoiceNinja understands the purpose of docker-compose or how it is supposed to work. Just silly all around.

  • @irtibatkisileri222
    @irtibatkisileri222 Před rokem

    11:26 I paused and enter this comment. proxmox backup is mentioned. please make a video about how to tweak and use proxmox backup method too. now back to video.

    • @DBTechYT
      @DBTechYT  Před rokem

      I covered the basics here: czcams.com/video/ksvoWpyWHUY/video.html

  • @pirateben
    @pirateben Před rokem

    this isnt self hosted why

    • @DBTechYT
      @DBTechYT  Před rokem +2

      What do you mean this isn't self-hosted?

  • @alejandrofernandezvarela6150

    I had to "chmod -R 777 app/" , wouldn't let me only with 755.

    • @DBTechYT
      @DBTechYT  Před rokem

      I had a similar thing happen, but I don't like to suggest 777 as it causes people to poop their pants lol. It's why I said that people would have to try some things for themselves to see what works :)

    • @fdeproductions1233
      @fdeproductions1233 Před rokem

      Looking over the GitHub page it shows: To ensure folder permissions are correct when the container comes up for the first time it is important that you set the correct folder permissions on the docker folder.
      From the terminal run
      chmod 755 docker/app/public
      sudo chown -R 1500:1500 docker/app
      the second command is what is missing as you do not want to run the app folder/container as root.
      I came across a caching bug advises to run /update?secret=secret to reset the caching issue

  • @aloysiuschan6534
    @aloysiuschan6534 Před rokem +1

    I tried many times and kept getting this error from the apps
    In Connector.php line 70:
    SQLSTATE[HY000] [2002] Connection refused
    2022-11-18T00:34:10Z [ERROR] [Entrypoint]: Error connecting to DB
    2022-11-18T00:34:28Z [INFO] [Entrypoint]: Initialising Invoice Ninja...
    INFO Configuration cached successfully.
    INFO Caching the framework bootstrap files.
    config .......................................................... 143ms DONE
    routes .......................................................... 335ms DONE
    In Connection.php line 760:
    SQLSTATE[HY000] [1044] Access denied for user 'ninja'@'%' to database 'ninj
    a' (SQL: select * from information_schema.tables where table_schema = ninja
    and table_name = accounts and table_type = 'BASE TABLE')
    In Connector.php line 70:
    SQLSTATE[HY000] [1044] Access denied for user 'ninja'@'%' to database 'ninj
    a'
    2022-11-18T00:34:40Z [ERROR] [Entrypoint]: Error connecting to DB
    2022-11-18T00:34:56Z [INFO] [Entrypoint]: Initialising Invoice Ninja...
    INFO Configuration cached successfully.

    • @DBTechYT
      @DBTechYT  Před rokem

      There's a problem with your user connecting to the database. If you're using a password with a special character in it, you'll want to wrap the password in quotes, though I don't recall immediately if it's a single or doubl quote. So I would try that. Or just try a password with no special characters and see if that gets you going.

    • @aloysiuschan6534
      @aloysiuschan6534 Před rokem +1

      @@DBTechYT Aloysius Chan
      No change to the DB password as stated in the env file. I also added the PUID and PGID as recommended but it still doesnt work for me.

    • @djringla
      @djringla Před rokem +1

      same issue here, special character passwords are wrapped. No Go