Pages:
Author

Topic: [Minera v0.9.0] Your next mining dashboard - S9/L3+/D3/CPUminer/CGminer/BFGminer - page 16. (Read 850409 times)

newbie
Activity: 16
Merit: 0
hello, i have a raspberry 2 b.
I installed the image minera on a microsd of 32 go.
The problem is that with minera my root partition is only 4 GB, and even doing a "sudo raspi-config" and using the utility to extend the partition does not work.
Thank you for giving me the solution to use the full size of the card

do you have any console output? I will try because It's lot of time I don't do that.



I mean when you run the option "Extend file system" under the raspi-config menu
Ha ok

here is :



this micro sd have 8go not 32 but i want install minera in the 32go microsd

I think you have rebooted, right? Let me check something next days.


Found it! My bad I will fix this in the next release, in the meantime the workaround is run these commands and reboot:

Code:
sudo update-rc.d -f resize2fs_once remove
sudo update-rc.d resize2fs_once defaults
sudo raspi-config --expand-rootfs
sudo reboot



Ok
I succeeded without waiting lol:

I did this :
umount / dev / mmcblk0
parted / dev / mmcblk0
  (parted) unit chs
  (parted) print
(parted) rm 2
(parted) mkpart primary "number first and number end"
(parted) quit

e2fsck -f / dev / mmcblk0p2
resize2fs / dev / mmcblk0p2

301/5000
thank you for your answer and the order data that more or less correspond to what I did.
Ps I did all that root

Another question I took a license Minera for more ads.
If I redo a complete installation of mine I do how for my license to not have ads
legendary
Activity: 1015
Merit: 1000
hello, i have a raspberry 2 b.
I installed the image minera on a microsd of 32 go.
The problem is that with minera my root partition is only 4 GB, and even doing a "sudo raspi-config" and using the utility to extend the partition does not work.
Thank you for giving me the solution to use the full size of the card

do you have any console output? I will try because It's lot of time I don't do that.



I mean when you run the option "Extend file system" under the raspi-config menu
Ha ok

here is :

Code:
sudo raspi-config

Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): Disk /dev/mmcblk0: 7.5 GiB, 8068792320 bytes, 15759360 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x626c42a1

Device         Boot Start      End  Sectors  Size Id Type
/dev/mmcblk0p1       8192    93486    85295 41.7M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      94208 15759359 15665152  7.5G 83 Linux

Command (m for help): Partition number (1,2, default 2):
Partition 2 has been deleted.

Command (m for help): Partition type
   p   primary (1 primary, 0 extended, 3 free)
   e   extended (container for logical partitions)
Select (default p): Partition number (2-4, default 2): First sector (2048-15759359, default 2048): Last sector, +sectors or +siz                               e{K,M,G,T,P} (94208-15759359, default 15759359):
Created a new partition 2 of type 'Linux' and of size 7.5 GiB.
Partition #2 contains a ext4 signature.

Command (m for help):
Disk /dev/mmcblk0: 7.5 GiB, 8068792320 bytes, 15759360 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x626c42a1

Device         Boot Start      End  Sectors  Size Id Type
/dev/mmcblk0p1       8192    93486    85295 41.7M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      94208 15759359 15665152  7.5G 83 Linux

Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Device or resource busy

The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).

insserv: warning: current start runlevel(s) (empty) of script `resize2fs_once' overrides LSB defaults (3).
insserv: warning: current stop runlevel(s) (3) of script `resize2fs_once' overrides LSB defaults (empty).

Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): Disk /dev/mmcblk0: 7.5 GiB, 8068792320 bytes, 15759360 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x626c42a1

Device         Boot Start      End  Sectors  Size Id Type
/dev/mmcblk0p1       8192    93486    85295 41.7M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      94208 15759359 15665152  7.5G 83 Linux

Command (m for help): Partition number (1,2, default 2):
Partition 2 has been deleted.

Command (m for help): Partition type
   p   primary (1 primary, 0 extended, 3 free)
   e   extended (container for logical partitions)
Select (default p): Partition number (2-4, default 2): First sector (2048-15759359, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (94208-15759359, default 15759359):
Created a new partition 2 of type 'Linux' and of size 7.5 GiB.
Partition #2 contains a ext4 signature.

Command (m for help):
Disk /dev/mmcblk0: 7.5 GiB, 8068792320 bytes, 15759360 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x626c42a1

Device         Boot Start      End  Sectors  Size Id Type
/dev/mmcblk0p1       8192    93486    85295 41.7M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      94208 15759359 15665152  7.5G 83 Linux

Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Device or resource busy

The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).

insserv: warning: current start runlevel(s) (empty) of script `resize2fs_once' overrides LSB defaults (3).
insserv: warning: current stop runlevel(s) (3) of script `resize2fs_once' overrides LSB defaults (empty).
minera@minera:~$

this micro sd have 8go not 32 but i want install minera in the 32go microsd

I think you have rebooted, right? Let me check something next days.


Found it! My bad I will fix this in the next release, in the meantime the workaround is run these commands and reboot:

Code:
sudo update-rc.d -f resize2fs_once remove
sudo update-rc.d resize2fs_once defaults
sudo raspi-config --expand-rootfs
sudo reboot

legendary
Activity: 1015
Merit: 1000
hello, i have a raspberry 2 b.
I installed the image minera on a microsd of 32 go.
The problem is that with minera my root partition is only 4 GB, and even doing a "sudo raspi-config" and using the utility to extend the partition does not work.
Thank you for giving me the solution to use the full size of the card

do you have any console output? I will try because It's lot of time I don't do that.



I mean when you run the option "Extend file system" under the raspi-config menu
Ha ok

here is :

Code:
sudo raspi-config

Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): Disk /dev/mmcblk0: 7.5 GiB, 8068792320 bytes, 15759360 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x626c42a1

Device         Boot Start      End  Sectors  Size Id Type
/dev/mmcblk0p1       8192    93486    85295 41.7M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      94208 15759359 15665152  7.5G 83 Linux

Command (m for help): Partition number (1,2, default 2):
Partition 2 has been deleted.

Command (m for help): Partition type
   p   primary (1 primary, 0 extended, 3 free)
   e   extended (container for logical partitions)
Select (default p): Partition number (2-4, default 2): First sector (2048-15759359, default 2048): Last sector, +sectors or +siz                               e{K,M,G,T,P} (94208-15759359, default 15759359):
Created a new partition 2 of type 'Linux' and of size 7.5 GiB.
Partition #2 contains a ext4 signature.

Command (m for help):
Disk /dev/mmcblk0: 7.5 GiB, 8068792320 bytes, 15759360 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x626c42a1

Device         Boot Start      End  Sectors  Size Id Type
/dev/mmcblk0p1       8192    93486    85295 41.7M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      94208 15759359 15665152  7.5G 83 Linux

Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Device or resource busy

The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).

insserv: warning: current start runlevel(s) (empty) of script `resize2fs_once' overrides LSB defaults (3).
insserv: warning: current stop runlevel(s) (3) of script `resize2fs_once' overrides LSB defaults (empty).

Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): Disk /dev/mmcblk0: 7.5 GiB, 8068792320 bytes, 15759360 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x626c42a1

Device         Boot Start      End  Sectors  Size Id Type
/dev/mmcblk0p1       8192    93486    85295 41.7M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      94208 15759359 15665152  7.5G 83 Linux

Command (m for help): Partition number (1,2, default 2):
Partition 2 has been deleted.

Command (m for help): Partition type
   p   primary (1 primary, 0 extended, 3 free)
   e   extended (container for logical partitions)
Select (default p): Partition number (2-4, default 2): First sector (2048-15759359, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (94208-15759359, default 15759359):
Created a new partition 2 of type 'Linux' and of size 7.5 GiB.
Partition #2 contains a ext4 signature.

Command (m for help):
Disk /dev/mmcblk0: 7.5 GiB, 8068792320 bytes, 15759360 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x626c42a1

Device         Boot Start      End  Sectors  Size Id Type
/dev/mmcblk0p1       8192    93486    85295 41.7M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      94208 15759359 15665152  7.5G 83 Linux

Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Device or resource busy

The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).

insserv: warning: current start runlevel(s) (empty) of script `resize2fs_once' overrides LSB defaults (3).
insserv: warning: current stop runlevel(s) (3) of script `resize2fs_once' overrides LSB defaults (empty).
minera@minera:~$

this micro sd have 8go not 32 but i want install minera in the 32go microsd

I think you have rebooted, right? Let me check something next days.
newbie
Activity: 16
Merit: 0
hello, i have a raspberry 2 b.
I installed the image minera on a microsd of 32 go.
The problem is that with minera my root partition is only 4 GB, and even doing a "sudo raspi-config" and using the utility to extend the partition does not work.
Thank you for giving me the solution to use the full size of the card

do you have any console output? I will try because It's lot of time I don't do that.



I mean when you run the option "Extend file system" under the raspi-config menu
Ha ok

here is :

Code:
sudo raspi-config

Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): Disk /dev/mmcblk0: 7.5 GiB, 8068792320 bytes, 15759360 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x626c42a1

Device         Boot Start      End  Sectors  Size Id Type
/dev/mmcblk0p1       8192    93486    85295 41.7M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      94208 15759359 15665152  7.5G 83 Linux

Command (m for help): Partition number (1,2, default 2):
Partition 2 has been deleted.

Command (m for help): Partition type
   p   primary (1 primary, 0 extended, 3 free)
   e   extended (container for logical partitions)
Select (default p): Partition number (2-4, default 2): First sector (2048-15759359, default 2048): Last sector, +sectors or +siz                               e{K,M,G,T,P} (94208-15759359, default 15759359):
Created a new partition 2 of type 'Linux' and of size 7.5 GiB.
Partition #2 contains a ext4 signature.

Command (m for help):
Disk /dev/mmcblk0: 7.5 GiB, 8068792320 bytes, 15759360 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x626c42a1

Device         Boot Start      End  Sectors  Size Id Type
/dev/mmcblk0p1       8192    93486    85295 41.7M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      94208 15759359 15665152  7.5G 83 Linux

Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Device or resource busy

The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).

insserv: warning: current start runlevel(s) (empty) of script `resize2fs_once' overrides LSB defaults (3).
insserv: warning: current stop runlevel(s) (3) of script `resize2fs_once' overrides LSB defaults (empty).

Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): Disk /dev/mmcblk0: 7.5 GiB, 8068792320 bytes, 15759360 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x626c42a1

Device         Boot Start      End  Sectors  Size Id Type
/dev/mmcblk0p1       8192    93486    85295 41.7M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      94208 15759359 15665152  7.5G 83 Linux

Command (m for help): Partition number (1,2, default 2):
Partition 2 has been deleted.

Command (m for help): Partition type
   p   primary (1 primary, 0 extended, 3 free)
   e   extended (container for logical partitions)
Select (default p): Partition number (2-4, default 2): First sector (2048-15759359, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (94208-15759359, default 15759359):
Created a new partition 2 of type 'Linux' and of size 7.5 GiB.
Partition #2 contains a ext4 signature.

Command (m for help):
Disk /dev/mmcblk0: 7.5 GiB, 8068792320 bytes, 15759360 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x626c42a1

Device         Boot Start      End  Sectors  Size Id Type
/dev/mmcblk0p1       8192    93486    85295 41.7M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      94208 15759359 15665152  7.5G 83 Linux

Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Device or resource busy

The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).

insserv: warning: current start runlevel(s) (empty) of script `resize2fs_once' overrides LSB defaults (3).
insserv: warning: current stop runlevel(s) (3) of script `resize2fs_once' overrides LSB defaults (empty).
minera@minera:~$

this micro sd have 8go not 32 but i want install minera in the 32go microsd
legendary
Activity: 1015
Merit: 1000
hello, i have a raspberry 2 b.
I installed the image minera on a microsd of 32 go.
The problem is that with minera my root partition is only 4 GB, and even doing a "sudo raspi-config" and using the utility to extend the partition does not work.
Thank you for giving me the solution to use the full size of the card

do you have any console output? I will try because It's lot of time I don't do that.

Code:
df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       4.0G  2.2G  1.6G  59% /
devtmpfs        213M     0  213M   0% /dev
tmpfs           218M     0  218M   0% /dev/shm
tmpfs           218M  6.1M  212M   3% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           218M     0  218M   0% /sys/fs/cgroup
/dev/mmcblk0p1   41M   21M   21M  52% /boot
tmpfs            44M     0   44M   0% /run/user/1001

sudo fdisk -l

Disk /dev/ram14: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram15: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/mmcblk0: 7.5 GiB, 8068792320 bytes, 15759360 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x626c42a1

Device         Boot Start      End  Sectors  Size Id Type
/dev/mmcblk0p1       8192    93486    85295 41.7M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      94208 15759359 15665152  7.5G 83 Linux



I mean when you run the option "Extend file system" under the raspi-config menu
newbie
Activity: 16
Merit: 0
hello, i have a raspberry 2 b.
I installed the image minera on a microsd of 32 go.
The problem is that with minera my root partition is only 4 GB, and even doing a "sudo raspi-config" and using the utility to extend the partition does not work.
Thank you for giving me the solution to use the full size of the card

do you have any console output? I will try because It's lot of time I don't do that.

Code:
df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       4.0G  2.2G  1.6G  59% /
devtmpfs        213M     0  213M   0% /dev
tmpfs           218M     0  218M   0% /dev/shm
tmpfs           218M  6.1M  212M   3% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           218M     0  218M   0% /sys/fs/cgroup
/dev/mmcblk0p1   41M   21M   21M  52% /boot
tmpfs            44M     0   44M   0% /run/user/1001

sudo fdisk -l

Disk /dev/ram14: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram15: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/mmcblk0: 7.5 GiB, 8068792320 bytes, 15759360 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x626c42a1

Device         Boot Start      End  Sectors  Size Id Type
/dev/mmcblk0p1       8192    93486    85295 41.7M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      94208 15759359 15665152  7.5G 83 Linux

newbie
Activity: 46
Merit: 0
Hello  Smiley Smiley Smiley Smiley Smiley Smiley

problem solved  Shocked Shocked Shocked


Thanks to sandor111 and michelem for this great software and supporting gridseed users.
legendary
Activity: 1015
Merit: 1000
hello, i have a raspberry 2 b.
I installed the image minera on a microsd of 32 go.
The problem is that with minera my root partition is only 4 GB, and even doing a "sudo raspi-config" and using the utility to extend the partition does not work.
Thank you for giving me the solution to use the full size of the card

do you have any console output? I will try because It's lot of time I don't do that.
newbie
Activity: 16
Merit: 0
hello, i have a raspberry 2 b.
I installed the image minera on a microsd of 32 go.
The problem is that with minera my root partition is only 4 GB, and even doing a "sudo raspi-config" and using the utility to extend the partition does not work.
Thank you for giving me the solution to use the full size of the card
legendary
Activity: 1015
Merit: 1000
Hello

I'm having kernel panics with Minera 0.8.1, two GekkoScience 2Pac and a Raspberry Pi Zero. I've followed the setup from "http://www.badbox.de/2017/07/cgminer-for-asic-usb-stickminer-on-raspberry/" and have gotten them mining (lights flashing and interface reporting GH/s) anywhere from 10 seconds to 12 hours i get a long kernel panic.



I have a USB hub with 25A of power, plenty of cooling that works fine with 2 miners at 100-400mhz on a windows system. I have tried 2 Pi Zero 1.3 and a Pi Zero W. The Zero W seems to always crash shortly after mining starts. I have tried 5 different USB hubs all powered by 2A or more PSUs. I've tried a manual install of minera. lastly I've tried 4 different SD cards.

Its not a problem with hardware or RPI version, I think its the miner software to crash and not Minera itself, so you should ask to the author of this fork https://github.com/vthoang/cgminer or try another miner software.
newbie
Activity: 2
Merit: 0
Hello

I'm having kernel panics with Minera 0.8.1, two GekkoScience 2Pac and a Raspberry Pi Zero. I've followed the setup from "http://www.badbox.de/2017/07/cgminer-for-asic-usb-stickminer-on-raspberry/" and have gotten them mining (lights flashing and interface reporting GH/s) anywhere from 10 seconds to 12 hours i get a long kernel panic.

http://i65.tinypic.com/21lsr3c.jpg

I have a USB hub with 25A of power, plenty of cooling that works fine with 2 miners at 100-400mhz on a windows system. I have tried 2 Pi Zero 1.3 and a Pi Zero W. The Zero W seems to always crash shortly after mining starts. I have tried 5 different USB hubs all powered by 2A or more PSUs. I've tried a manual install of minera. lastly I've tried 4 different SD cards.
newbie
Activity: 10
Merit: 0
Yes it was an upgrade from 0.7.0 done from within Minera.
The system was originally built on an existing card derived from NOOBS by doing a manual install from git hub.

Thanks for your time.
Nick.
legendary
Activity: 1015
Merit: 1000
Response to sudo dpkg -l|grep php
                                                                                                                                                                                                                                                         
pi@raspberrypi:~ $ sudo dpkg -l|grep php
ii  php5-cgi                              5.6.30+dfsg-0+deb8u1                      armhf        server-side, HTML-embedded scripting
 language (CGI binary)                                                                                                               
ii  php5-cli                              5.6.30+dfsg-0+deb8u1                      armhf        command-line interpreter for the ph
5 scripting language                                                                                                                 
ii  php5-common                           5.6.30+dfsg-0+deb8u1                      armhf        Common files for packages built from
 the php5 source
ii  php5-curl                             5.6.30+dfsg-0+deb8u1                      armhf        CURL module for php5
ii  php5-fpm                              5.6.30+dfsg-0+deb8u1                      armhf        server-side, HTML-embedded scripting
 language (FPM-CGI binary)                                                                                                           
ii  php5-json                             1.3.6-1                                   armhf        JSON module for php5
ii  php5-readline                         5.6.30+dfsg-0+deb8u1                      armhf        Readline module for php5
pi@raspberrypi:~ $

It is a 1B, purchased April 2013

After running the above and "redis-cli del coins_profitability" the widgets are showing numbers again.
However the mining profitability table reads "No coins data available, please wait and try to refresh"
The Hourly charts also show "Ops! No data collected, wait at least 5 minutes to see the chart."

Argh! bugger, its now 15 minutes later and back the way it was - error in line 194

Severity: Notice


Message:  json_decode(): integer overflow detected


Filename: models/util_model.php


Line Number: 194



If I do "redis-cli del coins_profitability" the widgets work again, but everything between mining profitability and mining log is grayed out

Next auto refresh page is not working again.
 
Thank you very much for your help so far
Nick.


Oh well here is the problem, PHP 5 instead of PHP 7.
You probably did an upgrade from an old version of Minera (like 0.7.0). This isn't good because Minera >= 0.8.0 requires PHP 7 and new Raspbian version (Stretch instead Jessie).

You definitely should start from the new image file here https://getminera.com/download/latest
newbie
Activity: 10
Merit: 0
Response to sudo dpkg -l|grep php
                                                                                                                                                                                                                                                         
pi@raspberrypi:~ $ sudo dpkg -l|grep php
ii  php5-cgi                              5.6.30+dfsg-0+deb8u1                      armhf        server-side, HTML-embedded scripting
 language (CGI binary)                                                                                                               
ii  php5-cli                              5.6.30+dfsg-0+deb8u1                      armhf        command-line interpreter for the ph
5 scripting language                                                                                                                 
ii  php5-common                           5.6.30+dfsg-0+deb8u1                      armhf        Common files for packages built from
 the php5 source
ii  php5-curl                             5.6.30+dfsg-0+deb8u1                      armhf        CURL module for php5
ii  php5-fpm                              5.6.30+dfsg-0+deb8u1                      armhf        server-side, HTML-embedded scripting
 language (FPM-CGI binary)                                                                                                           
ii  php5-json                             1.3.6-1                                   armhf        JSON module for php5
ii  php5-readline                         5.6.30+dfsg-0+deb8u1                      armhf        Readline module for php5
pi@raspberrypi:~ $

It is a 1B, purchased April 2013

After running the above and "redis-cli del coins_profitability" the widgets are showing numbers again.
However the mining profitability table reads "No coins data available, please wait and try to refresh"
The Hourly charts also show "Ops! No data collected, wait at least 5 minutes to see the chart."

Argh! bugger, its now 15 minutes later and back the way it was - error in line 194

Severity: Notice


Message:  json_decode(): integer overflow detected


Filename: models/util_model.php


Line Number: 194



If I do "redis-cli del coins_profitability" the widgets work again, but everything between mining profitability and mining log is grayed out

Next auto refresh page is not working again.
 
Thank you very much for your help so far
Nick.
legendary
Activity: 1015
Merit: 1000
Nope - still get the error on line 194...

Thanks,
Nick.

That's really frustrating. That shouldn't happen.
Can I know more info?

Code:
sudo dpkg -l|grep php

And the Raspberry model please.

EDIT:
Nick please try also this:

Code:
redis-cli del coins_profitability

Then wait 5 minutes and retry the stats page
newbie
Activity: 10
Merit: 0
Nope - still get the error on line 194...

Thanks,
Nick.
newbie
Activity: 10
Merit: 0
Still the same error.  

Full content of "http://10.1.1.4/minera/index.php/app/stats" below;



A PHP Error was encountered



Severity: Notice


Message:  json_decode(): integer overflow detected


Filename: models/util_model.php


Line Number: 194



{"start_time":1508171456,"err":0,"devices":{"ttyACM1":{"temperature":false,"frequency":838,"accepted":1594,"rejected":751,"hw_errors":95,"shares":189055619,"hashrate":2724275,"last_share":1508240761,"serial":"48F485493137"},"ttyACM0":{"temperature":false,"frequency":838,"accepted":1439,"rejected":702,"hw_errors":317,"shares":178054759,"hashrate":2492768,"last_share":1508240555,"serial":"48ED56483237"}},"totals":{"temperature":false,"frequency":838,"accepted":3033,"rejected":1453,"hw_errors":412,"shares":367110378,"hashrate":5217043,"last_share":1508240761},"pool":{"hashrate":5670232,"url":"http:\/\/prohashing.com:3333","alive":true},"pools":[{"url":"http:\/\/prohashing.com:3333","priority":0,"user":"Nick9404","pass":"a=scrypt n=unit1","active":1,"stats":[{"stats_id":3,"start_time":1508221761,"shares":1653760,"stop_time":1508221761,"accepted":515,"rejected":20},{"stats_id":2,"start_time":1508219105,"shares":210944,"stop_time":1508221652,"accepted":33,"rejected":0},{"stats_id":1,"start_time":1508172448,"shares":3092480,"stop_time":1508212478,"accepted":1226,"rejected":52}],"stats_id":3,"alive":true},{"url":"stratum+tcp:\/\/scrypt.usa.nicehash.com:3333","priority":1,"user":"1879vXtEC1upZN92xgthfqzthoxjgv96Bp.unit1","pass":"d=8192","active":0,"stats":[{"stats_id":5,"start_time":1508221659,"shares":0,"stop_time":1508221659,"accepted":0,"rejected":0},{"stats_id":4,"start_time":1508217360,"shares":41418752,"stop_time":1508217961,"accepted":0,"rejected":158},{"stats_id":3,"start_time":1508217270,"shares":320602112,"stop_time":1508217360,"accepted":0,"rejected":1223},{"stats_id":2,"start_time":1508217235,"shares":1258,"stop_time":1508217270,"accepted":1258,"rejected":0},{"stats_id":1,"start_time":1508215681,"shares":131072,"stop_time":1508216125,"accepted":1,"rejected":0}],"stats_id":5,"alive":true}],"network_miners":[],"minera_id":"ntuynzamtzkz","miner":"cpuminer","algo":"SHA-256","sysload":[0.27,0.21,0.19],"cron":"1","sysuptime":"69482","temp":{"value":"38.47","scale":"c"},"btc_rates":{"high_eur":4938.44,"last_eur":4728.29,"high":"5807.11","last":"5560.00","timestamp":"1508240831","bid_eur":4725.4,"vwap_eur":4827.32,"bid":"5556.60","vwap":"5676.45","volume":"9631.76046357","low_eur":4706.45,"ask_eur":4727.93,"low":"5534.32","ask":"5559.57","eur_usd":1.1759},"altcoins_rates":{"error":"true"},"avg":{"1min":[{"timestamp":1508171346,"pool_hashrate":0,"hashrate":70725,"avg_freq":0,"accepted":0,"errors":0,"rejected":0,"shares":0,"last_share":1508169041},{"timestamp":1508171287,"pool_hashrate":0,"hashrate":70725,"avg_freq":0,"accepted":0,"errors":0,"rejected":0,"shares":0,"last_share":1508169041}],"5min":[{"timestamp":1508170686,"seconds":300,"pool_hashrate":0,"hashrate":70725,"frequency":0,"accepted":0,"errors":0,"rejected":0,"shares":0},{"timestamp":1508170387,"seconds":300,"pool_hashrate":0,"hashrate":70725,"frequency":0,"accepted":0,"errors":0,"rejected":0,"shares":0}],"1hour":[{"timestamp":1508164207,"seconds":3600,"pool_hashrate":5579272,"hashrate":327845,"frequency":0,"accepted":0,"errors":0,"rejected":0,"shares":8796},{"timestamp":1508160607,"seconds":3600,"pool_hashrate":8309354,"hashrate":13208,"frequency":28,"accepted":0,"errors":0,"rejected":0,"shares":4443}],"1day":[{"timestamp":1507955196,"seconds":86400,"pool_hashrate":3603112,"hashrate":4194875,"frequency":5,"accepted":4,"errors":0,"rejected":0,"shares":4174},{"timestamp":1507125149,"seconds":86400,"pool_hashrate":4467697,"hashrate":3522837,"frequency":15,"accepted":1,"errors":0,"rejected":0,"shares":3691}]},"profits":[{"symbol":"btc","coin":"bitcoin","algo":"sha256","reward":12.5,"difficulty":1196792694098.8,"blocks":490165,"networkhashps":"9223372036854775807","btcValue":1,"price":1,"coin_profitability":2.1010914955119e-10,"btc_profitability":2.1010914955119e-10,"timestamp":1508171350,"hashrate":1000000},{"symbol":"bch","coin":"bitcoin cash","algo":"sha256","reward":12.5,"difficulty":84768257679.689,"blocks":496167,"networkhashps":"217284823305364100","btcValue":0.055172,"price":0.055172,"coin_profitability":2.9664063179917e-9,"btc_profitability":1.6366256937624e-10,"timestamp":1508171350,"hashrate":1000000},{"symbol":"ltc","coin":"litecoin","algo":"scrypt","reward":25,"difficulty":919573.79964321,"blocks":1296215,"networkhashps":25677319288119,"btcValue":0.011328,"price":0.011328,"coin_profitability":0.00054689921623201,"btc_profitability":6.1952743214762e-6,"timestamp":1508171350,"hashrate":1000000}],"livestat":true,"timestamp":1508240874}


I'm now in the process of apt-get update & apt-get upgrade, 63 packages on the system need updating, I'll see if that fixes it.
Give it an hour or two...

Thanks,
Nick.
member
Activity: 117
Merit: 10
legendary
Activity: 1015
Merit: 1000
Used mineras inbuilt terminal to log in as pi sudo git pull changed 7 files.  refresh page didn't solve problem, sudo git pull again, everything up to date no changes, still not working.



Is there the previous error?
newbie
Activity: 10
Merit: 0
Used mineras inbuilt terminal to log in as pi sudo git pull changed 7 files.  refresh page didn't solve problem, sudo git pull again, everything up to date no changes, still not working.

Pages:
Jump to: