Go to advanced search

by rjobaan
Sat Mar 12, 2016 8:50 pm
Forum: Beginners
Topic: Copy img 4gb to 8gb
Replies: 20
Views: 2367

Re: Copy img 4gb to 8gb

Can you post the contents of all your sources.list files. That would normally be /etc/apt/sources.list and /etc/apt/sources.list.d/raspi.list (and any other list files in directory /etc/apt/sources.list.d) /etc/apt/sources.list deb http://archive.raspbian.org/raspbian wheezy main contrib non-free d...
by rjobaan
Sat Mar 12, 2016 8:23 pm
Forum: Beginners
Topic: Copy img 4gb to 8gb
Replies: 20
Views: 2367

Re: Copy img 4gb to 8gb

oh sorry, silly me. I need to start to read better
I will try that

sudo apt-get install raspi-config
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package raspi-config
by rjobaan
Sat Mar 12, 2016 7:05 pm
Forum: Beginners
Topic: Copy img 4gb to 8gb
Replies: 20
Views: 2367

Re: Copy img 4gb to 8gb

jahboater wrote:Try

Code: Select all

dpkg -l
I can not find out which xmbc is installed by that code right?
by rjobaan
Sat Mar 12, 2016 6:54 pm
Forum: Beginners
Topic: Copy img 4gb to 8gb
Replies: 20
Views: 2367

Re: Copy img 4gb to 8gb

You guys already are great to help me out here. Belivee me if I know what I did three years ago I told you right away
I think I just need to start all over again. Is there is no code I can use to find out what is installed?
by rjobaan
Sat Mar 12, 2016 6:41 pm
Forum: Beginners
Topic: Copy img 4gb to 8gb
Replies: 20
Views: 2367

Re: Copy img 4gb to 8gb

That the whole problem (see begin of my post)
I can run that command but I get message that but I got error sudo: raspi-config: command not found
by rjobaan
Sat Mar 12, 2016 6:11 pm
Forum: Beginners
Topic: Copy img 4gb to 8gb
Replies: 20
Views: 2367

Re: Copy img 4gb to 8gb

could question I have no idea how I did that
can I figure that out or not?

if I install noobs and from there XMBC is everything gone what I setup during time? or not

Can I figure out which files are changed or added during time?
by rjobaan
Sat Mar 12, 2016 11:05 am
Forum: Beginners
Topic: Copy img 4gb to 8gb
Replies: 20
Views: 2367

Re: Copy img 4gb to 8gb

I have no idea which I installed three years ago....

I did not use Noobs that is for sure
by rjobaan
Sat Mar 12, 2016 9:34 am
Forum: Beginners
Topic: Copy img 4gb to 8gb
Replies: 20
Views: 2367

Re: Copy img 4gb to 8gb

Code: Select all

cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
NAME="Raspbian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=raspbian
ID_LIKE=debian
ANSI_COLOR="1;31"
by rjobaan
Fri Mar 11, 2016 10:13 pm
Forum: Troubleshooting
Topic: error message when run rpi_update
Replies: 5
Views: 1420

Re: error message when run rpi_update

But where can I find the code I need to use?
by rjobaan
Fri Mar 11, 2016 8:31 pm
Forum: Troubleshooting
Topic: error message when run rpi_update
Replies: 5
Views: 1420

Re: error message when run rpi_update

The links is not working, which code do I need to use now I have same issue
by rjobaan
Fri Mar 11, 2016 6:31 pm
Forum: Beginners
Topic: Copy img 4gb to 8gb
Replies: 20
Views: 2367

Re: Copy img 4gb to 8gb

I replaced my 4gb sd card, but I have same issue with that....So what can I do next? besides reinstalling. Otherwise I need to find out what I have changes pasted months I tried wget https://github.com/Hexxeh/rpi-update/raw/master/rpi-update now I get Cannot write to `rpi-update' (No space left on d...
by rjobaan
Thu Mar 10, 2016 9:03 am
Forum: Beginners
Topic: Copy img 4gb to 8gb
Replies: 20
Views: 2367

Copy img 4gb to 8gb

Hi I created an img of my 4gb Sd card and after that I restored the Image on a new 8GB sd card When I try to start up my xmbc, its keeps rebooting. So I thought maybe it has to due that raspi don't uses the whole 8gb. So I tried to expand my filesystem with sudo raspi_config but I got error sudo: ra...
by rjobaan
Wed Dec 30, 2015 7:42 am
Forum: Beginners
Topic: Suddenly out of storage space
Replies: 9
Views: 2935

Re: Suddenly out of storage space

I have the old pi (512mb) and I can not reinstall everything else because I already set up a few things.so I just want to make a clone.
But I m still wondering how it possible that my pi is full somehow...
And which commands can I do without erasing my configuration and data etc.
by rjobaan
Tue Dec 29, 2015 11:53 pm
Forum: Beginners
Topic: Suddenly out of storage space
Replies: 9
Views: 2935

Re: Suddenly out of storage space

But before I do that better to get 8gb instead of 4 gb right?
So I first make a clone of my current SD card
by rjobaan
Tue Dec 29, 2015 7:35 pm
Forum: Beginners
Topic: Suddenly out of storage space
Replies: 9
Views: 2935

Re: Suddenly out of storage space

To do that I first need to clone my 4Gb SD card into my just bought 8Gb card.
by rjobaan
Tue Dec 29, 2015 6:21 pm
Forum: Beginners
Topic: Suddenly out of storage space
Replies: 9
Views: 2935

Re: Suddenly out of storage space

I will first copy all files to a new 8Gb (I first need to buy one) . I thought I had 8Gb.
But I did not install anything on this pi for a while so that's why I am surprised that;s its full

I will run sudo apt-get clean

and what about the other folders?
by rjobaan
Tue Dec 29, 2015 5:26 pm
Forum: Beginners
Topic: Suddenly out of storage space
Replies: 9
Views: 2935

Suddenly out of storage space

My raspberry is in a loop of restating after a few seconds. I read that its possible that your pi its out of memory So I ran code [email protected]:/# df -h Filesystem Size Used Avail Use% Mounted on /dev/mmcblk0p2 3.6G 3.4G 0 100% / /dev/mmcblk0p1 69M 6.4M 63M 10% /boot /dev/sda1 932G 913G 20G 98% /medi...
by rjobaan
Fri Dec 18, 2015 10:32 am
Forum: Beginners
Topic: Cronjob / Linux command line question
Replies: 60
Views: 7769

Re: Cronjob / Linux command line question

My cronjob is working now
You have to crontab
one Sudo crontab -e en one crontab -e

It's working form me in the crontab -e
Don't forget to set the permission correct
Sudo chmod 777 filename.sh
by rjobaan
Thu Dec 17, 2015 9:34 pm
Forum: Beginners
Topic: Cronjob / Linux command line question
Replies: 60
Views: 7769

Re: Cronjob / Linux command line question

I did what you said

First I used

Code: Select all

sudo reboot
my pi rebooted. I could not use sudo -reboot.
After that I added it to crontab
but nothing happens

Code: Select all

25 22 * * * /usr/bin/reboot
I checked date on pi
[email protected]:/ $ date
Thu 17 Dec 22:31:02 CET 2015
So what can else be the problem?
by rjobaan
Thu Dec 17, 2015 8:39 pm
Forum: Beginners
Topic: Cronjob / Linux command line question
Replies: 60
Views: 7769

Re: Cronjob / Linux command line question

No it is not in root

I will adjust the code here

Code: Select all

/home/pi/scripts/domoticz_backup.sh
but when add below code in crontab nothing happens

Code: Select all

5 11 * * * /home/pi/scripts/domoticz_backup.sh
But why is it not working?
by rjobaan
Thu Dec 17, 2015 7:24 pm
Forum: Beginners
Topic: I can not unzip *.gz file
Replies: 2
Views: 1524

Re: I can not unzip *.gz file

Thanks gunzip en tar xavf worked for me! I used tar -zcvf /tmp/$BACKUPFILEGZ /home/pi/domoticz/domoticz.db and send this file to other pi with scp and their I unzipped it to check it So I opened the unzipped file and opened the file in SQL light but get the message file is encrypted or not a databas...
by rjobaan
Thu Dec 17, 2015 1:19 pm
Forum: Beginners
Topic: Cronjob / Linux command line question
Replies: 60
Views: 7769

Re: Cronjob / Linux command line question

I have same issue

When I run below script directly I going well

Code: Select all

domoticz_backup.sh
but when add below code in crontab nothing happens

Code: Select all

5 11 * * * /domoticz_backup.sh
Is there a log-file? or what is going wrong
by rjobaan
Thu Dec 17, 2015 1:14 pm
Forum: Beginners
Topic: I can not unzip *.gz file
Replies: 2
Views: 1524

I can not unzip *.gz file

I succeed in creating a backup file of the domoticz.db [## BACKUP DATABASE BACKUPFILE="domoticz_$TIMESTAMP.db.gz" # ### Create backup and ZIP it /usr/bin/curl -s http://$DOMO_IP:$DOMO_PORT/backupdatabase.php > /tmp/$BACKUPFILE gzip -9 /tmp/$BACKUPFILE/code] And I moved the backup to my HDD on other ...
by rjobaan
Thu Dec 17, 2015 12:03 pm
Forum: Networking and servers
Topic: Combine Domoticz.db
Replies: 1
Views: 1140

Combine Domoticz.db

Now I finally succeeded in making backups how can How can I combine those db files into one?
I have SQL Light running
by rjobaan
Thu Dec 17, 2015 12:03 pm
Forum: Networking and servers
Topic: upload file to FTP server
Replies: 13
Views: 12436

Re: upload file to FTP server

So now next challenge How can I combine those db files into one? I have SQL Light running A new challenge == A NEW THREAD! https://www.raspberrypi.org/forums/posting.php?mode=post&f=36 Oh sorry ofcourse. Thank you very much for your help for far How can I send file directly without zipping but addi...

Go to advanced search