Mastiff
Mastiff
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Something is happening here. This is in /var/log/apache2/error.log:
203 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Weird, after a reboot the file was there in loaderJobs, with a size of 40 bytes. That was the stuff I added to jumpstart the download. I copied over the file from the previous virtual disk's inWork, and then rebooted again. Now it shows a logical number (1 % done). So I think the problem started with the file missing in loaderJobs, which meant that it didn't start the job in loaderJobs/inWork. But adding some random tiles created a file that I first either overlooked or that wasn't shown, but I found after a reboot. Anyway, seems like the problem is fixed. Thanks! 👍
203 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
I'm thinking it may be because the disk filled up, which made me copy everything to a new disk. Does that sound logical?
203 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
As I tried to say with the screen shot, which shows all files in the directory loaderJobs there is no file in loaderJobs, only in loaderJobs/inWork. The only file with the same name is in /loaderJobs/oldJobs, and that is much smaller. Should I copy the one from inWork to the parent directory? And now it shows -3498018815% so it is moving.
203 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
I selected some stuff I had already downloaded and clicked on the "Add to download" button, and it turned green. And it is still green. Maybe that kickstarted in in a way? The download percentage is a bit weird, though...
nais1.14 -3498142565%
nais1.14 -3498142565%
🤔 But I'm pretty sure it has started, the CPU usage has gone up to where it was while downloading. I'' leave it over night and see what it says on the percentage tomorrow.
203 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Weird. The nais1.14 file in
inWork
inWork
contains 1,3 GiB with stuff to download.
203 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
No description
203 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
I don't know, really. But it was done from the regular user, so I guess not. I used the stuff earlier up from you:
We need to see what the loaderSched does, but there is a problem: the loaderSched can't just be killed, it is restarted by cron. So you have to kill the loaderSched in one terminal and quickly start it in another terminal. In the 1-st terminal type: sudo kill 1497 In the 2-st terminal cd /GaladrielMap/tileproxy and type php loaderSched.php After it press Enter in 1-st terminal, and, after killing, quickly press Enter in 2-st.
203 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
I'm going crazy... I had to move the whole GaladrielMap directory to another virtual disk because the one I had was full, and something weird has happened with the permissions or something else. I did run
chmod -R 775 /GaladrielMap
chmod -R 775 /GaladrielMap
afterwards and
sudo chown -hR :www-data /GaladrielMap
sudo chown -hR :www-data /GaladrielMap
but it doesn't start downloading again. In the map's download page it's stuck on "download started", and the bullet is grey, not green or red. Trying to run the commands that you told me (killing the process and starting it again) I get this error, which is a bit different from the one I had earlier with the wrong permission:
php loaderSched.php
Планировщик запустился с pID 16050
PHP Notice: Trying to access array offset on value of type null in /GaladrielMap/tileproxy/loaderSched.php on line 36
PHP Notice: Trying to access array offset on value of type null in /GaladrielMap/tileproxy/loaderSched.php on line 36
Есть задания для загрузчиков -- нужны загрузчики
Работает загрузчик 1310
Работает загрузчик 14411
Работает загрузчик 14413
Работает загрузчик 14415
Работает загрузчик 14419
Работает загрузчик 14423
Работает загрузчик 14426
Работает загрузчик 14430
Работает загрузчик 14438
Работает загрузчик 14442
Работает загрузчик 14444
Работает загрузчик 14448
Работает загрузчик 14453
Работает загрузчик 14458
Работает загрузчик 14463
php loaderSched.php
Планировщик запустился с pID 16050
PHP Notice: Trying to access array offset on value of type null in /GaladrielMap/tileproxy/loaderSched.php on line 36
PHP Notice: Trying to access array offset on value of type null in /GaladrielMap/tileproxy/loaderSched.php on line 36
Есть задания для загрузчиков -- нужны загрузчики
Работает загрузчик 1310
Работает загрузчик 14411
Работает загрузчик 14413
Работает загрузчик 14415
Работает загрузчик 14419
Работает загрузчик 14423
Работает загрузчик 14426
Работает загрузчик 14430
Работает загрузчик 14438
Работает загрузчик 14442
Работает загрузчик 14444
Работает загрузчик 14448
Работает загрузчик 14453
Работает загрузчик 14458
Работает загрузчик 14463
Can you please tell me what's happening there? I checked the owner and permissions on the original VM, and it seems like they are the same..
203 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
I see! Thank you! 👍
203 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
It's not the difference in the map, it's that I was downloading CMap directly on the Pi in the boat (while NAI1S was downloaded on a virtual Debian on the server). But yesterdayafternoon I moved that to a pi in the house with LAN instead of WiFi, and that seems to have solved it.
203 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
The problem is that even with only 4 threads it is so heavy that it kills my Pi's connection from the boat to the cabin when downloading CMap. But I guess I can move this download as well to something inside the cabin, another Pi or virtual Debian . The virtual Debian is busy with the NAIS map, which goes around 1 % every two days, up to 12 now. I know it's silly to want the full map of Norway, but I plan to do a bit more long distance traveling in a few years, when I retire.
203 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
I figured I could just comment out the cron job and made www-data an account that could log in. But as that user the command
crontab -e
crontab -e
shows an empty file. I have set the correct permissions for the directory /var/www and a password that the account accepted, and I'm able to choose nano as the editor, it says that "No modification made", but no error messages. Any idea why? Is the cron jobitself running from another user, and running the php stuff as the www-data user?
203 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Aha, thanks! I never thought about using the GUI/webpage!
203 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
hHanks, but I have a very good solution for the Norwegian NAIS map, and I have around 80 gig of that downloaded, so I think I'll stick to GaladrielMap. I just need to know how to pause the download.
203 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Hi again! I have another question: How do I stop the loader jobs and restart them later? Stopping apache2 does not stop them, and disabling apache2 on startup does not block them from startup on a reboot. I would like to control this, but I can't find out how. 🙂
203 replies
SKSignal K
Created by Mastiff on 11/1/2024 in #questions
Is there a way to hook up SignalK to networked Garmin plotters?
Great, thanks! Looking forward to that!
4 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Great, I'm glad it works! I have my VM downloading everything on the NAIS1 map from zoom 6 to 16. It's using 80-90 % of the CPU on the VM! 😂 And thanks, I'll wait until you have another version out, then. It's not something that I'm in a hurry to get.
203 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Here it is. I don't think there are more stupid mistakes like the quotation mark, at least I see nothing wrong when I open the map now. 🙂
203 replies
SKSignal K
Created by Mastiff on 8/10/2024 in #questions
Is it possible to get maps in an easier way than MapBox?
Your English is far from bad, actually. 👍 I know I asked about a similar question, this is actually different. I want to have the nais1 as the default when I open the map on a new device that hasn't opened the map before.
203 replies