Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

AlexON

Members
  • Joined

  • Last visited

  1. Merci, j'avoue que j'ai rebâtie mon serveur sur une VM pour me simplifier la vie malgré que ça soit pas mon objectif initiale. Ça ma vite soulé avec 4 jours de recherche et d'essai.
  2. Bonjour a tous, J'aimerais partager avec vous un Docker pour m'aider à le finaliser, car, franchement, je sèche un peu. C'est mon premier Docker. En fait, j’apprends tout simplement. Avec l'aide de ChatGPT pour comprendre l'ensemble, et beaucoup d'essais et d'erreurs, j'ai presque réussi à faire avancer ce projet. Ce Docker doit faire fonctionner un serveur de jeu FINAL FANTASY XI. L'équipe qui le propose n'a jamais réalisé de version Docker, et comme je m’intéresse de plus en plus à cette technologie, j'ai décidé de l'adapter en Docker pour ma propre utilisation. Il est possible que je modifie une multitude de fois mon message au fur et a mesure que j'avance. Désolé de inconvénient. ÉDIT: Enfin de compte, ma question original se transforme pratiquement en tutorial lol. Il me reste juste a comprendre comment executer automatiquement les 4 exécutables au démarrage et a chaque redémarrage aussi du docker. Ainsi que quelques petits réglages autour de MariaDB. Si vous continuez a lire, vous allez vite comprendre de quoi je parle. Bien entendu, si j'ai pas réactualisé la solution et que vous la connaissez, SVP laisser le moi savoir, ça serai apprécié. Le Docker s'exécute sans problème. Je retrouve Vanadiel_XI/build et Vanadiel_XI avec les exécutables suivants : dans le conteneur ffxi_app_1. Le conteneur ffxi_db-1 est supposé être la base de donnée MariaDB. Pour peupler la base de données, il est proposé d'utiliser un script en Python. Une petite modification doit être fait manuellement dans le répertoire Vanadiel_XI/settings/network.lua pour pouvoir communiquer avec la base de donnée MariaDB. Pour plus de convivialité, la configuration de MariaDB (nom de la base de donnée, mot de passe, etc.), le mieux serait de passer par un formulaire que UnRAID propose, mais je n'ai aucune idée de comment cela doit s'organiser et si d'ailleurs, techniquement, si c'est réalisable. Pour peupler la base de donnée MariaDB, j'ai trouvé une manière manuelle pour le faire. Il suffit d'inscrire l'adresse IP du docker ffxi_db-1 (j'ai du aller la chercher directement dans le docker avec la commande ). Le mieux est que dans la section docker d'UnRAID, l'IP s'affiche ou encore mieux, lors de la configuration initiale du docker via une page UnRAID peut-être? Ensuite, de retour dans notre docker ffxi_app_1 et on va modifier dans l'adresse IP 127.0.0.1 par l'IP du docker ffxi_db-1. Et aller dans et aller exécuter la commande pour faire afficher le menu et peupler la base de donnée. Il existe surement une manière plus simple de tout faire ça de manière automatisé. Si vous savez comment, je vous invite a améliorer le docker. Ce qui resterait a faire. - Exécuter automatiquement a chaque démarrage du docker les exécutables: xi_connect, xi_map, xi_search et xi_world EDIT: la je cherche encore. J’espère avoir été assez clair. De toute manière, si vous avez des questions, suffit de les poser. Merci a tous! Je vous partage mes fichiers docker-compose et Dockerfile. services: app: image: ubuntu:jammy build: context: /mnt/user/docker-compose/ffxi/ dockerfile: /mnt/user/docker-compose/ffxi/ffxi.Dockerfile volumes: - ./server:/VanadielXI # Monte un volume local dans /server ports: - "8080:80" # Ajuste les ports selon tes besoins tty: true # Pour garder le terminal ouvert depends_on: - db # Assure que la base de données soit lancée avant l'app db: image: mariadb:latest environment: MYSQL_ROOT_PASSWORD: YourRootPassword # Définit le mot de passe root de MariaDB MYSQL_DATABASE: xidb # Optionnel : nom de la base de données MYSQL_USER: xi # Nom de l'utilisateur MYSQL_PASSWORD: YourPassword # Mot de passe pour l'utilisateur volumes: - db_data:/var/lib/mysql # Persiste les données de la base de données volumes: db_data: # Définit un volume pour la base de données # Utiliser l'image de base Ubuntu Jammy FROM ubuntu:jammy # Mettre à jour les paquets et installer des dépendances RUN apt-get update && apt-get install -y \ git \ nano \ python3 \ python3-pip \ g++-10 \ cmake \ make \ libluajit-5.1-dev \ libzmq3-dev \ libssl-dev \ zlib1g-dev \ mariadb-server \ libmariadb-dev \ binutils \ binutils-dev \ && rm -rf /var/lib/apt/lists/* # Nettoyer les fichiers temporaires # Définir le répertoire de travail WORKDIR /Vanadiel_XI # Cloner le dépôt avec les sous-modules RUN git clone --recursive https://github.com/AlexandreCA/Vanadiel_XI.git # Installer les dépendances Python WORKDIR /Vanadiel_XI RUN pip3 install -r Vanadiel_XI/tools/requirements.txt # Copier les fichiers de configuration par défaut RUN cp Vanadiel_XI/settings/default/* Vanadiel_XI/settings/ # Créer le répertoire de build RUN mkdir build # Changer de répertoire et compiler le projet WORKDIR Vanadiel_XI/build RUN cmake .. && make -j$(nproc) # Exposer le port 80 (ou un autre si nécessaire) EXPOSE 80 # Commande à exécuter lorsque le conteneur démarre CMD ["bash"] le Github du projet se situe ici --» https://github.com/AlexandreCA/Vanadiel_XI/tree/base onglet "docker version" et le WIKI pour comprendre comment le projet fonctionne --» https://github.com/LandSandBoat/server/wiki/Quick-Start-Guide
  3. well yes, you are not reading what I am telling you and by the way, I am not from France. If this is how you deal with your problems Honestly, forget it!
  4. Ok, I understand that English is not my mother tongue but despite the sources I give you, you still don't understand. I seriously don't know what to do anymore by leading me to believe that you don't consult any sources... I don't see anything else. Seriously, I understand that you use apt-mirror from Debian to create your containers but for the version 22.02 of Ubuntu that you made, the bug is persistent and not corrected. I documented them and gave you the solution to fix it. Concerning myself, I think I managed to patch the problem on your docker but I must confirm it when it does its update at the time you gave it, i.e. 10 p.m. (home time) but as long as I don't I haven't checked, I'm not sure of anything.
  5. ahhh now I understand... Debian fixed the bug under apt-mirror and not Canonical Ubuntu. The version changed from 0.5.4-1 to 0.5.4.2. This explains why you don't see what I'm trying to explain. This also confirms that there is an unfixed bug in your docker without you knowing it. And which is not your fault but the Ubuntu editor. You have the fix now, if you are interested in fixing this bug. look by yourself.
  6. I declare that there is a bug not fixed for several years which affects the apt-mirror command when you want to create a mirror. Latest posts on github are from 2023 and also at https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/2044556. Afterwards, when I use a Debian LXC to do tests, I don't encounter any problems. But if you are using Debian/Ubuntu as your main system, you will definitely encounter this problem. I can always try via a Debian VM or whatever, but again, Debian/Ubuntu, it's the same thing chosen. In any case, I fixed (at least I think) the problem with the github that I gave you if you want to see and integrate it. I'm just waiting for docker to update (because I can't do it manually) and see if that permanently fixes the problem or not. To be continued EDIT: I'm looking through a Debian VM (I have your 2 dockers) to see if I encounter the same problem. Logically yes, but in any case, I come back to you because I myself want to understand what is happening.
  7. I think I understand that is a bug in apt-mirror witch dates back several years. The problem here and the solution here is that there is a script to issue via docker (probably) to correct this problem. If anything, what can we confirm? https://github.com/apt-mirror/apt-mirror/issues/102 Sorry I adding a new links... https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/2044556 and the fix https://github.com/Stifler6996/apt-mirror EDIT : @ich777Yep.. If you continue the github conversation, someone offers their own apt-mirror docker with the fix integrated. I don't know if you would be interested in doing the same on yours just in case. This also affects Debian apparently. Afterwards, no wonder, it's the same source code.
  8. Finally, things are finally moving forward but from what I can understand, he hasn't downloaded all the packages. Do you know how I can recover them? Because at the moment, I cannot do an apt-upgrade if necessary...
  9. What a surprise... I had left the container abandoned, in its unmodified version. I just installed the container as you posted it and put it aside. A few days later, I decided to take a look at it again and there, I see that the download was done automatically during the night.. (around 1:30-2 am). But naturally, this surprise was short-lived because I am not able despite the modification of the IP in my system to retrieve the updates via UNRAID. Can you share with me how you configured your /etc/apt/service.list (Your Debian in your case...)so that I can repair my error (I don't see where it could be by the way). Thank you. alexandre@alexandre-All-Series:/etc/apt$ sudo apt update Ign :1 http://192.168.1.87:980/ubuntu/dists jammy InRelease Ign :2 http://192.168.1.87:980/ubuntu/dists jammy-security InRelease Ign :3 http://192.168.1.87:980/ubuntu/dists jammy-updates InRelease Ign :4 http://192.168.1.87:980/ubuntu/dists jammy-backports InRelease Err :5 http://192.168.1.87:980/ubuntu/dists jammy Release 404 Not Found [IP : 192.168.1.87 980] Err:6 http://192.168.1.87:980/ubuntu/dists jammy-security Release 404 Not Found [IP: 192.168.1.87 980] Err:7 http://192.168.1.87:980/ubuntu/dists jammy-updates Release 404 Not Found [IP: 192.168.1.87 980] Err:8 http://192.168.1.87:980/ubuntu/dists jammy-backports Release 404 Not Found [IP: 192.168.1.87 980] Reading package lists... Done E: The repository http://192.168.1.87:980/ubuntu/dists jammy Release has no Release file. N: Updates from such a repository cannot be performed securely, and are disabled by default. N: See the apt-secure(8) man pages for repository creation and user configuration details. E: The http://192.168.1.87:980/ubuntu/dists jammy-security Release repository does not have a Release file. N: Updates from such a repository cannot be performed securely, and are disabled by default. N: See the apt-secure(8) man pages for repository creation and user configuration details. E: The http://192.168.1.87:980/ubuntu/dists jammy-updates Release repository does not have a Release file. N: Updates from such a repository cannot be performed securely, and are disabled by default. N: See the apt-secure(8) man pages for repository creation and user configuration details. E: The repository http://192.168.1.87:980/ubuntu/dists jammy-backports Release has no Release file. N: Updates from such a repository cannot be performed securely, and are disabled by default. N: See the apt-secure(8) man pages for repository creation and user configuration details.
  10. Do what you can, that's all you had in mind anyway. For me for Debian, it doesn't work either. So I'm going to make my own apt-mirror. Thanks.
  11. then nothing works... I even tried your debian-mirror and I have the problem. I don't see anything to configure. I follow this tutorial https://www.linuxtechi.com/setup-local-apt-repository-server-ubuntu/
  12. The only way I could find and confirm by tutorials is to run the apt-mirror command to start the download of the updates. It allowed me to understand how you built your docker at the same time. The download is in progress and it will take me several hours. I will then check when everything is finished.
  13. Yes finally... it's good to think about what uses Ubuntu...
  14. @ich777 I'm quite the opposite, I prefer Ubuntu for its ease of use. Debian frustrates me despite sharing the same source code.
  15. Same, I'm not sure what you want to see. But everything is original.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.