zer0ish

Members
  • Posts

    5
  • Joined

  • Last visited

About zer0ish

  • Birthday 07/04/1984

Converted

  • Gender
    Male
  • URL
    https://apextriangle.net/
  • Location
    Canada

zer0ish's Achievements

Noob

Noob (1/14)

1

Reputation

  1. Can anyone help me with this docker? I've tried for a long time googling bunch of stuff, but can't seem to get PHP to work. The "welcome to nginx!" shows, meaning the container works, but none of the joomla php stuff works. I tried guides on fastcgi and uncommenting this block but it's still not working. location ~ \.php$ { root html; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; include fastcgi_params; } My joomla container just died and wont work anymore even after a fresh clean install of it, so I'm looking for something that might be more reliable. I tried using this docker last year but gave up since it wasn't working for me and I got the joomla docker working, but now I'm out of options for a joomla webserver. I have the entire installation folder in the nginx/html folder. Usually if php was working, I could go to the ip address and it would launch the joomla installer to setup the database and admin account. I just get the welcome to nginx or depending on what I try, a 404 error. Any help would be appreciated. Thanks.
  2. Hello, I've gone through so many troubleshooting steps already and scoured the internet, but can't seem to fix this issue. I've had my Joomla website running just fine for over a year now. Yesterday I decided to try changing the network type from Bridge to Host(don't ask why, I just did). Doing this made it not start up since the default port was 80 and that is used by my unraid server for local access(I don't have remote access to it by choice). I said ok, no problem, Ill go back to bridge and leave it alone since it was working. After going back to bridge mode, it no longer works either. Steps I've taken(includes many server restarts): 1 - Rolled back the container using ZFS snapshot. = Didn't work. 2 - Deleted content of the appdata folder for the Joomla site and upload a backup from my appdata backup folder. = Didn't work. 3 - Tried to install a fresh Joomla install. = Didn't work. Can't even access it via the local IP(ERR_CONNECTION_REFUSED) 4 - Tried using a different container tag on a new install. = Didn't work. Can't even access it via the local IP to start the install(ERR_CONNECTION_REFUSED) 5 - Shutdown docker and deleted the docker image, then reinstalled all the containers. = Didn't work. I'm using MariaDB-Official as the DB, and that is working. Can be connected to without issue using phpmyadmin, when installing a new Joomla container, it does create the new DB so it isn't a DB connection issue. I'm very much at a loss here. Is Unraid networking somehow preventing me from connecting to them locally via IP? I also changed my Nextcloud container from bridge to host and it also broke like my Joomla container did. I'm less concerned about this one then I am about my website. Here is the log from the running Joomla server using the Latest Tag(even re-installing this one as a fresh install gives the same log): MySQL Database Created ======================================================================== This server is now configured to run Joomla! NOTE: You will need your database server address, database name, and database user credentials to install Joomla. ======================================================================== AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.21. Set the 'ServerName' directive globally to suppress this message AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.21. Set the 'ServerName' directive globally to suppress this message [07-Dec-2023 17:22:56 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20210902/imagick (/usr/local/lib/php/extensions/no-debug-non-zts-20210902/imagick: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20210902/imagick.so (libMagickWand-6.Q16.so.6: cannot open shared object file: No such file or directory)) in Unknown on line 0 [07-Dec-2023 17:22:56 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'memcached' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20210902/memcached (/usr/local/lib/php/extensions/no-debug-non-zts-20210902/memcached: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20210902/memcached.so (libmemcached.so.11: cannot open shared object file: No such file or directory)) in Unknown on line 0 [07-Dec-2023 17:22:56 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'zip.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20210902/zip.so (libzip.so.4: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20210902/zip.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20210902/zip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [Thu Dec 07 12:22:56.783387 2023] [unixd:alert] [pid 28] AH02155: getpwuid: couldn't determine user name from uid 99, you probably need to modify the User directive [Thu Dec 07 12:22:56.784542 2023] [unixd:alert] [pid 29] AH02155: getpwuid: couldn't determine user name from uid 99, you probably need to modify the User directive [Thu Dec 07 12:22:56.785657 2023] [unixd:alert] [pid 30] AH02155: getpwuid: couldn't determine user name from uid 99, you probably need to modify the User directive [Thu Dec 07 12:22:56.786692 2023] [unixd:alert] [pid 31] AH02155: getpwuid: couldn't determine user name from uid 99, you probably need to modify the User directive [Thu Dec 07 12:22:56.787091 2023] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.57 (Debian) PHP/8.1.26 configured -- resuming normal operations [Thu Dec 07 12:22:56.787134 2023] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND' [Thu Dec 07 12:22:56.787710 2023] [unixd:alert] [pid 32] AH02155: getpwuid: couldn't determine user name from uid 99, you probably need to modify the User directive usermod: no changes usermod: no changes usermod: no changes This is the log for the new Joomla install using a different tag(joomla:php8.2-fpm-alpine): Ensuring Joomla database is present MySQL Database Created ======================================================================== This server is now configured to run Joomla! NOTE: You will need your database server address, database name, and database user credentials to install Joomla. ======================================================================== [07-Dec-2023 16:43:59] NOTICE: fpm is running, pid 1 [07-Dec-2023 16:43:59] NOTICE: ready to handle connections Any help is appreciated.
  3. I'm very new to unraid and figure it would be useful for others to have this information. If you have ever had an ungraceful shutdown of your unraid server, you’ve most likely booted it back up to see your VM are no longer in the VMS tab. This happened to me yesterday due to a crazy Canadian winter ice storm, and finding information on how to recover this wasn’t clear. Most post I've read, have replies saying the libvirt.img was corrupted. This could be the case for some people, but not for me and I assume most others. These steps can be taken even after deleted the libvirt.img so long as you have the vdisk available. Here is how I recovered my VM. Please note this is only tested on a Linux VM since my current unraid server is on a miniPC that isn’t good enough to run VM’s and can’t install a Windows VM. This is just a testing system to play with unraid while I build my power house rig. With that said, lets start. Step 1: Make sure your directory and vdisk is still where it was, and note the name of the folder, for me it was "Kali Linux". Step 2: Go to the VMs Tab and click “ADD VM”. Step 3: Select what ever the old VM was. In my case, it was Linux. Step 4: Set the “Name” to what ever it was before and it should auto set the “Primary vDisk Location” to what you had in Step 1. Wrong name shows this: Correct Original Name shows this: Step 4.1: Set your “Initial” and “Max” Memory and anything else as close to what you had it before. This part is less important and can be changed later for most options. You do not need to select an “OS Install ISO”. Leave it alone. Step 5: Once all is what it needs to be, Click “Create”. Step 6: When the VM starts in noVNC, you will have this Shell screen. Step 7: Type "Exit" in the Shell prompt. And you will be greeted by the BIOS screen. Step 8: Go to Boot Maintenance Manager. Step 9: Boot Options. Step 10: Add Boot Option. Step 11: Select the NO VOLUME LABEL. Step 12: Select <EFI>. Step 13: Select your directory. In my case it was called Kali. Step 14: Select grubx64.efi. Step 15: Go to “Input the description” and hit Enter. Type in something, I typed Kali Linux. This is what will be used in the Boot options. This is important, do not forget to name it. Step 16: Select “Commit Changes and Exit”. Step 17: Go to “Change Boot Order” then select the boot devices and tap enter. I want my new device booting first, so I will highlight my device, tap the + button to move Kali Linux(The name we used in step 15) to the top, then hit enter. Now we have a new boot order for this VM. Step 18: Select “Commit Changes and Exit” Head back to the main BIOS screen and select Boot Manager. You should now see your new boot device at the top of the list. Go back to main BIOS screen again and select Continue. You will be sent to the proper recovered VM. Enjoy your recovered VM.
  4. Could there be an update to this video? Doesn't seem to be working with all the latest stuff. I've followed the first steps of this video and even typing "mongo" mongodb console gave an error unknown command. I use latest unraid, and pfsense on it's own hardware for my HAproxy reverse proxy. My pfsense also deals with all the certificates with Cloudflare so I never need any ssl on the undraid side.
  5. For the game files and everything you want to be kept persistent you have to use the "Game Data Path:" This location in the Template will = "User Data Path" inside of FoundryVTT Config. So as an example for me: In FoundryVTT Config, I have: User Data Path = /data In Unraid FoundryVTT template, I have: /mnt/user/appdata/FoundryVTT/ So all my FoundryVTT persistent things, like logs, worlds, images, downloads all go in here /mnt/user/appdata/FoundryVTT/ which correlates to /data in the config I've never lost anything after a reboot or upgrade with this setup. I also have all the folders and docs in my FoundryVTT Appdata folder owner as nobody, I had to change it to that since I transferred my old Windows 10 install to Unraid. Hope this helps.