How to restart crashed HTTPD server and Transmission?

Re: How to restart crashed HTTPD server and Transmission?

Postby Cubytus » Mon Apr 28, 2025 1:40 pm

Hi Jocko,
Code: Select all
awk -F '[ /]' '{print $4}' /proc/cmdline
dev


Code: Select all
# ls -l /dev/sysdisk
lrwxrwxrwx  1 root root 8 2025-04-27 11:52 /dev/sysdisk -> /dev/sda


Code: Select all
# ls -l /dev/sda*
brw-rw----  1 root root 8, 0 2008-01-03 15:06 /dev/sda
brw-rw----  1 root root 8, 1 2008-01-03 15:06 /dev/sda1
brw-rw----  1 root root 8, 2 2008-01-03 15:06 /dev/sda2
brw-rw----  1 root root 8, 3 2025-04-27 11:52 /dev/sda3
brw-rw----  1 root root 8, 4 2008-01-03 15:06 /dev/sda4
brw-rw----  1 root root 8, 5 2008-01-03 15:06 /dev/sda5
brw-rw----  1 root root 8, 6 2008-01-03 15:06 /dev/sda6
brw-rw----  1 root root 8, 7 2008-01-03 15:06 /dev/sda7
brw-rw----  1 root root 8, 8 2014-05-30 05:19 /dev/sda8
brw-rw-rw-  1 root root 8, 9 2013-08-09 15:22 /dev/sda9


Since it doesn't display properly in latest Firefox ESR 128.9.x, I used Vivaldi to remove the name of the NAS. I think I put it there because NAS name wouldn't appear on other computers / router. Later I learnt this was a bug in version 18.2.
Captura de Pantalla 2025-04-28 a la(s) 09.28.06 .png

I then confirmed the change.

About the RAM allocation change, I rarely use the Web GUI and rather have NFS and Transmission have the maximum amount of RAM. Is it wise to set it to "High"?

About Transmission's settings.json, after movinf I now see the server is said not to be installed :hairpull I'd rather not lose all files. Will reinstalling it keep files in /share/1000/tr-daemon/torrents and /share/1000/tr-daemon/resume? Or can I temporarily move it elsewhere before reinstalling and copying it back to its original location? When I have a look at its content, it seems rather OK to me…

Finally, about patch02, that's precisely what I tried to install it right after upgrade, but it didn't give me any feedback on the Web GUI even though at least one folder was "touched" in fvdw. What feedback is it supposed to give? Or is there a way to install patch from the command line so as to get more info?
You do not have the required permissions to view the files attached to this post.
Cubytus
Donator VIP
Donator VIP
 
Posts: 202
Joined: Fri Apr 10, 2015 1:45 am

Re: How to restart crashed HTTPD server and Transmission?

Postby Jocko » Mon Apr 28, 2025 2:53 pm

Ok,
Code: Select all
awk -F '[ /]' '{print $4}' /proc/cmdline
dev
So an old issue, not detected by us, need to make a tiny change in boot script but there is no impact in firmware side.
About the RAM allocation change, I rarely use the Web GUI and rather have NFS and Transmission have the maximum amount of RAM. Is it wise to set it to "High"?
The option It is not a reserved part of memory but a max size of the memory used by apache. So you may select the medium option ('Enlarged') which will allow to send 3 simultaneous requests
About Transmission's settings.json, after movinf I now see the server is said not to be installed :hairpull I'd rather not lose all files. Will reinstalling it keep files in /share/1000/tr-daemon/torrents and /share/1000/tr-daemon/resume? Or can I temporarily move it elsewhere before reinstalling and copying it back to its original location? When I have a look at its content, it seems rather OK to me…
You can recreate it manually, so run
Code: Select all
sh -c "export EVENT_NOEPOLL=1 && sudo -u rd /usr/bin/nice -n 10 /usr/local/bin/transmission-daemon  -g /share/1000/tr-daemon -w /share/1000/tr-downloads -a 127.0.0.*,*.*.*.* -t -u 'YOURLOGIN' -v 'YOURPWD'"
where you replaced YOURLOGIN and YOURPWD by your current credentials used to get access to transmission web-interface.
Finally, about patch02, that's precisely what I tried to install it right after upgrade, but it didn't give me any feedback on the Web GUI even though at least one folder was "touched" in fvdw. What feedback is it supposed to give? Or is there a way to install patch from the command line so as to get more info?
You should get a successful message in current system status field and the web-interface is reloading a bit later. Can you try again ?
Jocko
Site Admin - expert
 
Posts: 11557
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: How to restart crashed HTTPD server and Transmission?

Postby Cubytus » Mon Apr 28, 2025 3:03 pm

Here it is. In Vivaldi, I was able to successfully install patch02 :woohoo After that, correct display is restored in latest FF.

Now the downside: as I tried to fiddle round with Transmission, it still says "Server not installed". Trying to fetch it again yields error -99. I'm sure I've seen the error before, but don't remember the solution. This is, of course, after the mandatory reboot after installing a patch. Ok I can recreate the settings.json. I don't remember I used many custom settings, except port.

FTR, as I tried to install HTTrack, I got an error, too.
Cubytus
Donator VIP
Donator VIP
 
Posts: 202
Joined: Fri Apr 10, 2015 1:45 am

Re: How to restart crashed HTTPD server and Transmission?

Postby Jocko » Mon Apr 28, 2025 3:08 pm

can you post
Code: Select all
ls -al /share/1000/tr-daemon/settings.json*
Jocko
Site Admin - expert
 
Posts: 11557
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: How to restart crashed HTTPD server and Transmission?

Postby Cubytus » Mon Apr 28, 2025 3:10 pm

My mistake. I accidently deleted the whole /tr-daemon :oops:

was:
Code: Select all
root@fvdwsl-base:/share/1000/tr-daemon # cat settings.json
{
    "alt-speed-down": 50,
    "alt-speed-enabled": false,
    "alt-speed-time-begin": 540,
    "alt-speed-time-day": 127,
    "alt-speed-time-enabled": false,
    "alt-speed-time-end": 1020,
    "alt-speed-up": 50,
    "announce-ip": "",
    "announce-ip-enabled": false,
    "anti-brute-force-enabled": false,
    "anti-brute-force-threshold": 100,
    "bind-address-ipv4": "0.0.0.0",
    "bind-address-ipv6": "::",
    "blocklist-enabled": true,
    "blocklist-url": "",
    "cache-size-mb": 4,
    "default-trackers": "",
    "dht-enabled": true,
    "download-dir": "/share/1000/tr-downloads",
    "download-queue-enabled": true,
    "download-queue-size": 5,
    "encryption": 1,
    "idle-seeding-limit": 30,
    "idle-seeding-limit-enabled": false,
    "incomplete-dir": "//Downloads",
    "incomplete-dir-enabled": false,
    "lpd-enabled": false,
    "message-level": 2,
    "peer-congestion-algorithm": "",
    "peer-id-ttl-hours": 6,
    "peer-limit-global": 200,
    "peer-limit-per-torrent": 50,
    "peer-port": 9093,
    "peer-port-random-high": 65535,
    "peer-port-random-low": 49152,
    "peer-port-random-on-start": false,
    "peer-socket-tos": "le",
    "pex-enabled": true,
    "port-forwarding-enabled": true,
    "preallocation": 1,
    "prefetch-enabled": false,
    "queue-stalled-enabled": true,
    "queue-stalled-minutes": 30,
    "ratio-limit": 2,
    "ratio-limit-enabled": false,
    "rename-partial-files": true,
    "rpc-authentication-required": true,
    "rpc-bind-address": "0.0.0.0",
    "rpc-enabled": true,
    "rpc-host-whitelist": "",
    "rpc-host-whitelist-enabled": true,
    "rpc-password": "{",
    "rpc-port": 9091,
    "rpc-socket-mode": "0750",
    "rpc-url": "/transmission/",
    "rpc-username": "admin",
    "rpc-whitelist": "127.0.0.*,*.*.*.*",
    "rpc-whitelist-enabled": true,
    "scrape-paused-torrents-enabled": true,
    "script-torrent-added-enabled": false,
    "script-torrent-added-filename": "",
    "script-torrent-done-enabled": false,
    "script-torrent-done-filename": "",
    "script-torrent-done-seeding-enabled": false,
    "script-torrent-done-seeding-filename": "",
    "seed-queue-enabled": false,
    "seed-queue-size": 10,
    "speed-limit-down": 100,
    "speed-limit-down-enabled": false,
    "speed-limit-up": 100,
    "speed-limit-up-enabled": false,
    "start-added-torrents": true,
    "tcp-enabled": true,
    "torrent-added-verify-mode": "fast",
    "trash-original-torrent-files": false,
    "umask":0,
    "upload-slots-per-torrent": 14,
    "utp-enabled": true
Cubytus
Donator VIP
Donator VIP
 
Posts: 202
Joined: Fri Apr 10, 2015 1:45 am

Re: How to restart crashed HTTPD server and Transmission?

Postby Jocko » Mon Apr 28, 2025 3:14 pm

So by installing it again, you will restore transmission and you have loose your current magnets but downloading files will be still here after installing transmission
Jocko
Site Admin - expert
 
Posts: 11557
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: How to restart crashed HTTPD server and Transmission?

Postby Cubytus » Mon Apr 28, 2025 3:16 pm

How do I solve error -99 then?
Cubytus
Donator VIP
Donator VIP
 
Posts: 202
Joined: Fri Apr 10, 2015 1:45 am

Re: How to restart crashed HTTPD server and Transmission?

Postby Jocko » Mon Apr 28, 2025 3:35 pm

Error -99 means the fvdw-sl web-interface sends unknown commands (ej. empty asked command code) from transmission menu (maybe it was related to the browser bug)
Jocko
Site Admin - expert
 
Posts: 11557
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: How to restart crashed HTTPD server and Transmission?

Postby Cubytus » Mon Apr 28, 2025 3:36 pm

hmm, since it must be done from the Web GUI, what's the correct way to reinstall server?
Captura de Pantalla 2025-04-28 a la(s) 12.02.54 .png
You do not have the required permissions to view the files attached to this post.
Last edited by Cubytus on Mon Apr 28, 2025 4:03 pm, edited 1 time in total.
Cubytus
Donator VIP
Donator VIP
 
Posts: 202
Joined: Fri Apr 10, 2015 1:45 am

Re: How to restart crashed HTTPD server and Transmission?

Postby Jocko » Mon Apr 28, 2025 3:40 pm

As it claims transmission is not installed, just click on Install button. It will reuse the share tr-downloads without resetting it.
Jocko
Site Admin - expert
 
Posts: 11557
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

PreviousNext

Return to Lacie cloudbox (white casing)

Who is online

Users browsing this forum: No registered users and 13 guests