Go to advanced search

by Dan1jel
Fri Jul 23, 2021 8:19 pm
Forum: Beginners
Topic: A few python application won't update...?!
Replies: 8
Views: 527

Re: A few python application won't update...?!

By looking at the error log you posted it seems you don't have all the prerequisite development packages installed for the libraries which those python modules need to build against. The glib-2.0 one actually suggests how to install the glib-2.0 dev package which it has determined isn't installed N...
by Dan1jel
Fri Jul 23, 2021 6:21 pm
Forum: Beginners
Topic: A few python application won't update...?!
Replies: 8
Views: 527

Re: A few python application won't update...?!

I wouldn't bother doing anything as the whole collection of installed python3 modules WILL change with RaspiOS Bullseye (which is due out next month, all things being equal). Oh that's nice, but how will all existing python work? Will there be any issues with settings as they are right now? Look at...
by Dan1jel
Fri Jul 23, 2021 6:05 am
Forum: Beginners
Topic: A few python application won't update...?!
Replies: 8
Views: 527

Re: A few python application won't update...?!

Do you need to upgrade? Is there something not working that leads you to believe you need to upgrade them? If not, leave it alone. Or just upgrade them. I wouldn't bother doing anything as the whole collection of installed python3 modules WILL change with RaspiOS Bullseye (which is due out next mon...
by Dan1jel
Fri Jul 23, 2021 6:03 am
Forum: Beginners
Topic: A few python application won't update...?!
Replies: 8
Views: 527

Re: A few python application won't update...?!

Those are not errors. They're merely telling you there are newer versions of those availabe. Do you need to upgrade? Is there something not working that leads you to believe you need to upgrade them? If not, leave it alone. Or just upgrade them. pycups is for printing, see here https://pypi.org/pro...
by Dan1jel
Thu Jul 22, 2021 8:05 pm
Forum: Beginners
Topic: A few python application won't update...?!
Replies: 8
Views: 527

A few python application won't update...?!

I'm that kind of guy that always want every update and no error, i don't even know what these py dose cutie do want to upgrade them, or remove them. Do anyone know what they do? Because I do get error when updating via "pip-review" or "pipdate" ~ $ pip-review pycups==2.0.1 is ava...
by Dan1jel
Wed Jul 14, 2021 9:36 pm
Forum: Advanced users
Topic: Image File Utilities
Replies: 644
Views: 123555

Re: Image File Utilities

is there a page or GitHub where we could get t any updates of image-utils or is it just by zip file when available? I update the ZIP file attached to the first post of this topic whenever any problems are found or enhancements are made. Fortunately, the scripts are pretty mature at this point and h...
by Dan1jel
Wed Jul 14, 2021 9:08 am
Forum: Advanced users
Topic: Image File Utilities
Replies: 644
Views: 123555

Re: Image File Utilities

So is there any way I could change the start location from /mnt or /media to /server instead? I have my Plex library and everything (3tb of 6tb) in /server drive so this is not working out that great for me atm :/ Simply make a symbolic link in /mnt or /media that points to /server. For example: su...
by Dan1jel
Wed Jul 14, 2021 7:19 am
Forum: Beginners
Topic: Backup OS and Plex files with a Script to Google Drive.
Replies: 5
Views: 520

Re: Backup OS and Plex files with a Script to Google Drive.

Posting my result/finished script that I'm using if someone is curious. After the tip about image-utils https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=247568 i use that instead of dd, with a script looking like this: #!/usr/bin/sh RCLONE_CONFIG=/home/pi/.config/rclone/rclone.conf export...
by Dan1jel
Wed Jul 14, 2021 6:03 am
Forum: Troubleshooting
Topic: Can't scroll up/down on terminal
Replies: 12
Views: 3298

Re: Can't scroll up/down on terminal

Just if someone looks here - i found that software terminal buffer was removed from kernel code from 5.10 kernel version once for all: https://www.linuxquestions.org/questions/showthread.php?p=6167719 And why? Because nobody is probably using it anymore... ?!? Everyone is now using some kind of X-T...
by Dan1jel
Tue Jul 13, 2021 8:47 pm
Forum: Advanced users
Topic: Image File Utilities
Replies: 644
Views: 123555

Re: Image File Utilities

I made a script with dd to do a backup every month but i found out that DD is not good to run when the system is on. So is there any way I could change the start location from /mnt or /media to /server instead? I have my Plex library and everything (3tb of 6tb) in /server drive so this is not workin...
by Dan1jel
Tue Jul 13, 2021 8:08 pm
Forum: Beginners
Topic: Backup OS and Plex files with a Script to Google Drive.
Replies: 5
Views: 520

Re: Backup OS and Plex files with a Script to Google Drive.

But why is DD not reliable when raspberry have that in the FAQ about backups? dd is fine for offline backups. But when backing up a running system things will change while it is being backed up. There will be corruption of the file system. An fsck is necessary to check the backed up image and hopef...
by Dan1jel
Tue Jul 13, 2021 6:51 pm
Forum: Beginners
Topic: Backup OS and Plex files with a Script to Google Drive.
Replies: 5
Views: 520

Re: Backup OS and Plex files with a Script to Google Drive.

Original backup script is from this author: https://www.raspberrypi.org/forums/viewtopic.php?t=302806 dd if=/dev/mmcblk0 | gzip -c > /server/scp/backup/pi_backup-$(date +%Y-%m-%d-%H:%M).iso.gz dd is not suitable for making reliable backups of a running system. Take a look at: image-backup Great tha...
by Dan1jel
Tue Jul 13, 2021 6:33 am
Forum: Beginners
Topic: Backup OS and Plex files with a Script to Google Drive.
Replies: 5
Views: 520

Backup OS and Plex files with a Script to Google Drive.

Hello and thanks Raspberry pi foundation for awaken my Linux interest. I just got this "glowing red, no boot" error and after some reinstalling and searching my SD card (other one laying around) kick my raspberry back to life. Even tho Im rather new to Gitlab i had some settings backed up ...
by Dan1jel
Sat Jul 10, 2021 8:23 pm
Forum: Beginners
Topic: Auto backup
Replies: 9
Views: 1734

Re: Auto backup

I ended up ditching the Timeshift idea. I decided to do a cronjob mixed with a executable that makes a compressed version of the iso. #! /bin/sh echo "Making a backup" dd if=/dev/mmcblk0 | gzip -c > /path/to/backup/DIR/PiBackup-$(date +%Y-%m-%d-%H:%M).iso.gz wait echo "Deleting old b...
by Dan1jel
Wed Nov 04, 2020 7:00 pm
Forum: Troubleshooting
Topic: USB Booting with 2 USB drives
Replies: 27
Views: 4728

Re: USB Booting with 2 USB drives

So I need to have an SD card that re-direct to my USB for it to boot... Because that is the info I read. Or am I completely off? Raspberry Pi bootloaders don't support selecting a specific boot device. One solution to this limitation is using an SD card to redirect the booting ( Running Raspbian fr...
by Dan1jel
Tue Nov 03, 2020 7:31 pm
Forum: Troubleshooting
Topic: USB Booting with 2 USB drives
Replies: 27
Views: 4728

Re: USB Booting with 2 USB drives

First, see: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=196778 Then, edit your /boot/cmdline.txt to contain a line for each bootable device. Comment out (#) all lines except the one you wish to boot (do not have any blank lines): # dwc_otg.lpm_enable=0 console=serial0,115200 console...
by Dan1jel
Mon Nov 02, 2020 2:33 pm
Forum: Troubleshooting
Topic: USB Booting with 2 USB drives
Replies: 27
Views: 4728

Re: USB Booting with 2 USB drives

LTolledo wrote:
Mon Nov 02, 2020 1:32 pm
is your system "multi-boot" or "single boot"
It is single boot but with one usb stick (os) and one harddrive (storage/media)

Edit : typo
by Dan1jel
Mon Nov 02, 2020 1:05 pm
Forum: Troubleshooting
Topic: USB Booting with 2 USB drives
Replies: 27
Views: 4728

Re: USB Booting with 2 USB drives

the cmdline.txt should be 1 line only. .. this is how it looks like in my system console=serial0,115200 console=tty1 root=PARTUUID=ea00e4c8-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait But I did as this info stated, what is right and what is wrong? I want my Raspberry to always boo...
by Dan1jel
Mon Nov 02, 2020 12:02 pm
Forum: Troubleshooting
Topic: USB Booting with 2 USB drives
Replies: 27
Views: 4728

Re: USB Booting with 2 USB drives

the boot specifications are in /boot/cmdline.txt and /etc/fstab verify the PARTUUID for the drives to see if it matches the drive you want to boot from. This is my fstab proc /proc proc defaults 0 0 PARTUUID=569fe58b-01 /boot vfat defaults 0 2 PARTUUID=569fe58b-02 / ext4 defaults,noatime 0 1 UUID=0...
by Dan1jel
Mon Nov 02, 2020 9:06 am
Forum: Troubleshooting
Topic: USB Booting with 2 USB drives
Replies: 27
Views: 4728

Re: USB Booting with 2 USB drives

Well i tried this cmdline and my Raspberry still won't boot sometimes. I have an usb with raspOS, and a usb hard drive as server. Sometimes it boots, and sometime it fails. How can I specify what usb to boot on so this won't happen in the future?!

Edit: forgot typ say what device I had. Raspberry 3B
by Dan1jel
Fri Aug 16, 2019 5:04 pm
Forum: Troubleshooting
Topic: Permanently disable swap on Raspbian Buster
Replies: 76
Views: 49353

Re: Permanently disable swap on Raspbian Buster

This solved it for me: sudo systemctl disable dphys-swapfile.service free -m confirms a 0 swap file size after a reboot, from 93MB before! Some of that returns to the RAM though... Thanks! I have a hard time to reboot alot (almost every 2-3 days) because my swap is or are at 100mb. Don't raspberry ...
by Dan1jel
Mon Jul 15, 2019 10:11 am
Forum: Troubleshooting
Topic: Deluge stopped working on Raspbian
Replies: 8
Views: 2119

Re: Deluge stopped working on Raspbian

Mine has been running for about 8 months now since first installation... on a native USB boot RPi2B, updated/upgraded regularly. Only time it was turned off was during every 3 months "cleaning of RPi board" and HDD upgrade (it has 2 x 2TB 2.5" HDDs connected now). Another (newer) one...
by Dan1jel
Tue Jul 09, 2019 9:10 pm
Forum: General discussion
Topic: [SOLVED] Buster 'apt-get update' issue
Replies: 11
Views: 95988

Re: Buster 'apt-get update' issue

trejan wrote:
Mon Jul 08, 2019 2:28 pm
Debian Buster was released so it changed to stable.

Run "sudo apt update --allow-releaseinfo-change" and it'll update it.
I too had problem with this and was stuck. Thank you for the solution. And thank you OP for starting this thread.
by Dan1jel
Mon Sep 03, 2018 3:32 pm
Forum: Troubleshooting
Topic: Swap memory getting full after a few days.
Replies: 24
Views: 17103

Re: Swap memory getting full after a few days.

Mhh... Transmission. https://github.com/transmission/transmission/issues/313 (don't miss the last comments, by a Pi3B+ user) Generally speaking and as IIRC, Raspbian has kernel tunables set to use as much RAM as possible and commit to disk as little as possible. Something akin to "laptop-mode&...
by Dan1jel
Sun Sep 02, 2018 4:18 pm
Forum: Troubleshooting
Topic: Swap memory getting full after a few days.
Replies: 24
Views: 17103

Re: Swap memory getting full after a few days.

I try to avoid swapping on my systems as much as possible. Most of my (light usage) Pis have no swap and don't need it. The high usage ones have USB disks and small swap files or partitions. If your system is swapping a lot, you are using the wrong system or you have a problem with code. I run seve...

Go to advanced search