Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Error] - www-data is not allowed to exxecute /usr/bin/atrm #861

Open
fdigiuseppe opened this issue Oct 27, 2023 · 1 comment
Open

[Error] - www-data is not allowed to exxecute /usr/bin/atrm #861

fdigiuseppe opened this issue Oct 27, 2023 · 1 comment

Comments

@fdigiuseppe
Copy link

Describe the bug
Admin page, when you try to delete one passes and confirm

Screenshots and/or logs
Sorry, user www-data is not allowed to execute '/usr/bin/atrm 398' as www-data on raspberrypi.

Support Output

Details about environment

Current local date/time: ven 27 ott 2023, 11:38:58, CEST
Current date/time (ms): 1698399538
Repo git hash: 17f90cc
Raspberry Pi Model: Raspberry Pi 4 Model B Rev 1.5
Architecture: Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
Num CPUs: 4

'at' Scheduled Jobs (Captures):

  • [405 Sat Oct 28 09:55:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20231028-095531 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698479731 920 37 Southbound E
  • [454 Thu Nov 2 21:43:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20231102-214338 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698957818 868 22 Northbound W
  • [449 Thu Nov 2 19:43:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20231102-194330 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698950610 957 48 Northbound E
  • [404 Sat Oct 28 21:44:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20231028-214404 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698522244 946 54 Northbound W
  • [440 Wed Nov 1 19:55:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20231101-195529 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698864929 970 60 Northbound E
  • [433 Tue Oct 31 09:26:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20231031-092615 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698740775 932 69 Southbound E
  • [447 Thu Nov 2 08:16:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20231102-081602 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698909362 856 22 Southbound E
  • [432 Tue Oct 31 20:07:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20231031-200732 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698779252 981 75 Northbound E
  • [406 Sat Oct 28 11:35:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20231028-113536 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698485736 895 30 Southbound W
  • [414 Sun Oct 29 08:32:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20231029-083244 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698564764 883 23 Southbound E
  • [417 Sun Oct 29 21:35:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20231029-213535 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698611735 892 25 Northbound W
  • [403 Sat Oct 28 20:04:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20231028-200431 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698516271 884 24 Northbound E
  • [438 Wed Nov 1 08:28:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20231101-082801 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698823681 887 28 Southbound E
  • [436 Wed Nov 1 12:03:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20231101-120310 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698836590 906 33 Southbound W
  • [424 Mon Oct 30 09:49:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20231030-094918 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698655758 933 74 Southbound W
  • [421 Mon Oct 30 08:52:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20231030-085209 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698652329 936 46 Southbound E
  • [448 Thu Nov 2 09:56:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20231102-095623 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698915383 949 53 Southbound W
  • [441 Wed Nov 1 09:03:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20231101-090318 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698825798 920 43 Southbound E
  • [418 Mon Oct 30 10:46:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20231030-104658 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698659218 1005 59 Southbound E
  • [412 Sun Oct 29 10:45:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20231029-104520 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698572720 856 22 Southbound W
  • [413 Sun Oct 29 20:31:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20231029-203149 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698607909 999 68 Northbound W
  • [453 Thu Nov 2 20:02:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20231102-200251 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698951771 950 51 Northbound E
  • [443 Wed Nov 1 20:25:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20231101-202541 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698866741 964 79 Northbound E
  • [445 Thu Nov 2 11:50:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20231102-115045 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698922245 962 42 Southbound W
  • [399 Sat Oct 28 12:11:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20231028-121137 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698487897 987 87 Southbound W
  • [451 Thu Nov 2 08:40:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20231102-084026 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698910826 880 26 Southbound E
  • [427 Tue Oct 31 10:34:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20231031-103440 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698744880 974 46 Southbound E
  • [393 Fri Oct 27 20:16:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20231027-201618 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698430578 891 29 Northbound E
  • [423 Mon Oct 30 20:19:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20231030-201939 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698693579 991 86 Northbound W
  • [408 Sun Oct 29 10:59:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20231029-105917 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698573557 966 74 Southbound E
  • [420 Mon Oct 30 22:14:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20231030-221437 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698700477 975 68 Northbound W
  • [437 Wed Nov 1 21:49:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20231101-214958 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698871798 995 73 Northbound E
  • [397 Fri Oct 27 21:40:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20231027-214053 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698435653 971 75 Northbound W
  • [428 Tue Oct 31 12:15:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20231031-121537 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698750937 915 27 Southbound W
  • [419 Mon Oct 30 12:28:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20231030-122805 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698665285 842 22 Southbound W
  • [416 Sun Oct 29 19:55:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20231029-195510 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698605710 899 43 Northbound E
  • [439 Wed Nov 1 10:08:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20231101-100835 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698829715 946 42 Southbound W
  • [411 Sun Oct 29 09:04:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20231029-090414 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698566654 953 58 Southbound E
  • [430 Tue Oct 31 08:40:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20231031-084005 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698738005 914 35 Southbound E
  • [402 Sat Oct 28 10:16:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20231028-101622 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698480982 967 73 Southbound E
  • [401 Sat Oct 28 23:39:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20231028-233933 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698529173 954 42 Northbound W
  • [407 Sat Oct 28 21:17:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20231028-211755 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698520675 967 68 Northbound E
  • [394 Fri Oct 27 21:56:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 19" NOAA-19-20231027-215622 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698436582 951 42 Northbound W
  • [398 Fri Oct 27 23:52:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20231027-235208 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698443528 906 33 Northbound W
  • [434 Tue Oct 31 20:48:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20231031-204844 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698781724 959 65 Northbound W
  • [425 Mon Oct 30 19:32:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20231030-193239 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698690759 890 28 Northbound E
  • [452 Thu Nov 2 10:20:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20231102-102016 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698916816 902 41 Southbound W
  • [396 Fri Oct 27 11:58:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20231027-115852 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698400732 854 21 Southbound W
  • [442 Wed Nov 1 10:43:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20231101-104329 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698831809 871 27 Southbound W
  • [410 Sun Oct 29 22:27:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20231029-222703 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698614823 934 54 Northbound W
  • [426 Mon Oct 30 21:12:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20231030-211201 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698696721 895 40 Northbound W
  • [415 Sun Oct 29 10:12:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_meteor.sh "METEOR-M2 3" METEOR-M2-3-20231029-101225 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698570745 921 48 Southbound W
  • [390 Fri Oct 27 12:23:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20231027-122359 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698402239 1002 68 Southbound W
  • [429 Tue Oct 31 22:02:00 2023 a pi] -> /home/pi/raspberry-noaa-v2/scripts/receive_noaa.sh "NOAA 18" NOAA-18-20231031-220215 /home/pi/raspberry-noaa-v2/tmp/orbit.tle 1698786135 947 88 Northbound W

Satellite SDR Settings:
meteor_m2_memory_threshold: 600
noaa_15_schedule: false
noaa_15_sdr_device_id: 0
noaa_15_freq_offset: 0
noaa_15_enable_bias_tee: false
noaa_15_gain: 39.7
noaa_15_sun_min_elevation: 0
noaa_15_sat_min_elevation: 20
noaa_18_schedule: true
noaa_18_sdr_device_id: 0
noaa_18_freq_offset: 0
noaa_18_enable_bias_tee: false
noaa_18_gain: 29.7
noaa_18_sun_min_elevation: 0
noaa_18_sat_min_elevation: 20
noaa_19_schedule: true
noaa_19_sdr_device_id: 0
noaa_19_freq_offset: 0
noaa_19_enable_bias_tee: false
noaa_19_gain: 29.7
noaa_19_sun_min_elevation: 0
noaa_19_sat_min_elevation: 20
meteor_m2_3_schedule: true
meteor_m2_3_sdr_device_id: 0
meteor_m2_3_freq_offset: 0
meteor_m2_3_enable_bias_tee: false
meteor_m2_3_gain: 29.7
meteor_m2_3_schedule_sun_min_elevation: -90
meteor_m2_3_sun_min_elevation: 0
meteor_m2_3_sat_min_elevation: 20
meteor_m2_3_80k_interleaving: false

USB Device Map:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0e8f:2517 GreenAsia Inc.
Bus 001 Device 003: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Disk Info:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk0 179:0 0 29,8G 0 disk
├─mmcblk0p1 179:1 0 256M 0 part /boot
└─mmcblk0p2 179:2 0 29,6G 0 part /

Disk Usage Info:
File system 1K-blocchi Usati Disponib. Uso% Montato su
/dev/root 30433312 10201496 18938696 36% /
devtmpfs 3735680 0 3735680 0% /dev
tmpfs 3999904 24576 3975328 1% /dev/shm
tmpfs 1599964 1312 1598652 1% /run
tmpfs 5120 4 5116 1% /run/lock
tmpfs 1024000 0 1024000 0% /var/ramfs
/dev/mmcblk0p1 261108 51634 209474 20% /boot
tmpfs 799980 28 799952 1% /run/user/1000

Memory Info:
MemTotal: 7999812 kB
MemFree: 4751716 kB
MemAvailable: 7203916 kB

Git source files changed:
ansible/roles/common/templates/settings.ini.j2
config/settings.yml
software/anydesk_6.3.0-1_amd64.deb
software/predict_2.2.3-4-b2_amd64.deb
software/satdump_1.1.1-0863e562_amd64.deb
software/wxtoimg-amd64-2.11.2-beta.deb
webpanel/App/Models/Capture.php

SDR Information:
Found 1 device(s):
0: Generic RTL2832U OEM

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner

Current configuration:


Vendor ID: 0x0bda
Product ID: 0x2838
Manufacturer: Realtek
Product: RTL2838UHIDIR
Serial number: 00000001
Serial number enabled: yes
IR endpoint enabled: yes
Remote wakeup enabled: no



Database tables:
predict_passes =>
CREATE TABLE predict_passes(
sat_name text not null,
pass_start timestamp primary key default (strftime('%s', 'now')) not null,
pass_end timestamp default (strftime('%s', 'now')) not null,
max_elev int not null,
is_active boolean, pass_start_azimuth int, direction text, azimuth_at_max int, at_job_id int not null default 0);

decoded_passes =>
CREATE TABLE decoded_passes(
id integer primary key autoincrement,
pass_start integer,
file_path text not null,
daylight_pass boolean, is_noaa boolean, sat_type integer, img_count integer, has_spectrogram boolean default 0, has_pristine boolean default 0, gain real, has_polar_az_el boolean default 0, has_polar_direction boolean default 0, has_histogram boolean default 0,
foreign key(pass_start) references passes(pass_start));

Server information (please complete the following information):

  • OS: Raspbian 11 bullseye
  • Python version 3.9.2
  • SDR device RTL-SDR-V3

Additional context
Add any other context about the problem here.

@jp112sdl
Copy link
Contributor

Is www-data in your sudoers group?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants