BOOTSTRAP & IPKG lost after every reboot

A major DSM update that includes: Cloud Station, ezCloud Service, iSCSI LUN Backup, Desktop Widgets, Application Portal, Antivirus Essential, File Station Enhancements, Surveillance Station 5 Enhancements, Photo Station 5 Enhancements, Download Station Enhancements, Media Indexing Service, VPN, Syslog, Hotspot, Connection Manager, Configuration Backup Enhancements, SMART Test Scheduler, Apple Routers Support, and DSM mobile Enhancements.

BOOTSTRAP & IPKG lost after every reboot

Postby mikeo » Mon Jan 16, 2012 5:12 pm

Today i installed DSM 4.0 beta on a DS211 and found a big problem.

BOOTSTRAP & IPKG lost after every reboot.

When you install BOOTSTRAP & IPKG all is fine until you reboot. Then IPKG is removed and you can start all over.

I send a bug report to Synology about it. If more people have this problem please send a bug report to them
mikeo
Beginner
Beginner
 
Posts: 24
Joined: Fri Mar 18, 2011 9:21 am

Re: BOOTSTRAP & IPKG lost after every reboot

Postby ZeusII » Mon Jan 16, 2012 5:42 pm

Hi,

I had the same problem, it's the first time an upgrade broke my optware installation. Reinstalling it solves until reboot so I did a little investigation and solved the problem this way:

edit the file /etc/rc.local and add a line like this belo #!/bin/sh:

Code: Select all
mount -o bind /volume1/@optware /opt


then, edit the file /root/.profile and modify the line that starts with "PATH" so it looks like this:

Code: Select all
PATH=/opt/bin:/opt/sbin:[the content that was already there]
DS109+
Firmware: 4.2-3202
Primary Use: Data storage, SVN, Media Server, Crashplan+ and Bittorent (Transmission 2.77)
HD: Western Digital WD20EARS, 2.0TB
USB Backup HD: Western Digital WD20EARS, 2.0TB
Protected by APC Back-UPS Pro 900 :)
User avatar
ZeusII
Knowledgeable
Knowledgeable
 
Posts: 308
Joined: Thu Jun 28, 2007 11:13 pm
Location: Barcelona, Spain

Re: BOOTSTRAP & IPKG lost after every reboot

Postby stephanstricker » Mon Jan 16, 2012 7:00 pm

Same problem here. Let us know when you hear something from support.

mikeo wrote:Today i installed DSM 4.0 beta on a DS211 and found a big problem.

BOOTSTRAP & IPKG lost after every reboot.

When you install BOOTSTRAP & IPKG all is fine until you reboot. Then IPKG is removed and you can start all over.

I send a bug report to Synology about it. If more people have this problem please send a bug report to them
stephanstricker
Novice
Novice
 
Posts: 45
Joined: Thu Jun 23, 2011 1:08 pm

Re: BOOTSTRAP & IPKG lost after every reboot

Postby mikeo » Tue Jan 17, 2012 7:29 am

ZeusII wrote:Hi,

I had the same problem, it's the first time an upgrade broke my optware installation. Reinstalling it solves until reboot so I did a little investigation and solved the problem this way:

edit the file /etc/rc.local and add a line like this belo #!/bin/sh:

Code: Select all
mount -o bind /volume1/@optware /opt


then, edit the file /root/.profile and modify the line that starts with "PATH" so it looks like this:

Code: Select all
PATH=/opt/bin:/opt/sbin:[the content that was already there]


Cheers :mrgreen:
That was the solution.

I only needed to add

Code: Select all
PATH=/opt/bin:/opt/sbin:[the content that was already there]


Installed IPKG again and after reboot it is still there.

Thankt you.
mikeo
Beginner
Beginner
 
Posts: 24
Joined: Fri Mar 18, 2011 9:21 am

Shell issued reboot considered an improper shutdown ?

Postby jckrarup » Tue Jan 17, 2012 7:21 pm

Hello everyone,

I noticed this after installing DSM4.0 and reinstalling ipkg

It does require a small workaround, described here:

http://www.naschenweng.info/2012/01/17/ ... eaks-ipkg/

When issueing a reboot command from the shell ,I received an email from my synology warning me:

Dear user,

Synology suffered from power failure and was shut down improperly.

Sincerely,

Is this normal behavior ? I don't recall this being an issue when rebooting using 3.x

If anyone can confirm, I will send a beta feedback describing it...

BR
Janus
DS410 (1 GB RAM) / DSM 4.1-3161B / 4 x WD20EARS (RAID 5)
User avatar
jckrarup
Beginner
Beginner
 
Posts: 22
Joined: Mon May 23, 2011 8:13 pm

beta dsm 4.0 and ipkg install on ds209+II

Postby romorio » Sat Jan 21, 2012 5:15 pm

hello

i upgraded my ds209+ii to the new beta version without any problems

i try to install ipkg

i did

mkdir /volume1/public and go to that folder cd /volume1/public

wget -c http://ipkg.nslu2-linux.org/feeds/optwa ... owerpc.xsh

downloaded everything

chmod +x syno-e500-bootstrap_1.2-7_powerpc.xsh

sh ./syno-e500-bootstrap_1.2-7_powerpc.xsh


result

sh ./syno-e500-bootstrap_1.2-7_powerpc.xsh
Optware Bootstrap for syno-e500.
Extracting archive... please wait
bootstrap/
bootstrap/bootstrap.sh
bootstrap/ipkg-opt.ipk
bootstrap/ipkg.sh
bootstrap/optware-bootstrap.ipk
bootstrap/wget.ipk
1329+1 records in
1329+1 records out


ipkg update not working i get :

ipkg update
/bin/sh: ipkg: not found


any tip

regards romorio
romorio
Novice
Novice
 
Posts: 45
Joined: Sun Mar 29, 2009 9:02 pm

Re: beta dsm 4.0 and ipkg install on ds209+II

Postby SynoGhost » Tue Jan 24, 2012 6:53 pm

Hi,

It looks like it installed ok.

You will need to reboot the NAS after installing, I think that is the problem.

Cheers
SynoGhost
I'm New!
I'm New!
 
Posts: 1
Joined: Tue Jan 24, 2012 6:51 pm

Re: beta dsm 4.0 and ipkg install on ds209+II

Postby Larry » Wed Jan 25, 2012 12:18 am

romorio wrote:hello

i upgraded my ds209+ii to the new beta version without any problems

i try to install ipkg

i did

mkdir /volume1/public and go to that folder cd /volume1/public

wget -c http://ipkg.nslu2-linux.org/feeds/optwa ... owerpc.xsh

downloaded everything

chmod +x syno-e500-bootstrap_1.2-7_powerpc.xsh

sh ./syno-e500-bootstrap_1.2-7_powerpc.xsh


result

sh ./syno-e500-bootstrap_1.2-7_powerpc.xsh
Optware Bootstrap for syno-e500.
Extracting archive... please wait
bootstrap/
bootstrap/bootstrap.sh
bootstrap/ipkg-opt.ipk
bootstrap/ipkg.sh
bootstrap/optware-bootstrap.ipk
bootstrap/wget.ipk
1329+1 records in
1329+1 records out


ipkg update not working i get :

ipkg update
/bin/sh: ipkg: not found


any tip

regards romorio


Same here with a DS212. IPKG appears to be installed but it wont run.
Larry
Rookie
Rookie
 
Posts: 33
Joined: Sat Nov 06, 2010 3:27 pm

Re: beta dsm 4.0 and ipkg install on ds209+II

Postby itsme » Wed Jan 25, 2012 9:10 am

Larry wrote:
romorio wrote:hello

i upgraded my ds209+ii to the new beta version without any problems

i try to install ipkg

i did

mkdir /volume1/public and go to that folder cd /volume1/public

wget -c http://ipkg.nslu2-linux.org/feeds/optwa ... owerpc.xsh

downloaded everything

chmod +x syno-e500-bootstrap_1.2-7_powerpc.xsh

sh ./syno-e500-bootstrap_1.2-7_powerpc.xsh


result

sh ./syno-e500-bootstrap_1.2-7_powerpc.xsh
Optware Bootstrap for syno-e500.
Extracting archive... please wait
bootstrap/
bootstrap/bootstrap.sh
bootstrap/ipkg-opt.ipk
bootstrap/ipkg.sh
bootstrap/optware-bootstrap.ipk
bootstrap/wget.ipk
1329+1 records in
1329+1 records out


ipkg update not working i get :

ipkg update
/bin/sh: ipkg: not found


any tip

regards romorio


Same here with a DS212. IPKG appears to be installed but it wont run.


Did you read the second post?


edit the file /root/.profile and modify the line that starts with "PATH" so it looks like this:

Code: Select all
PATH=/opt/bin:/opt/sbin:[the content that was already there]
itsme
I'm New!
I'm New!
 
Posts: 8
Joined: Mon Jan 23, 2012 8:50 pm

Re: BOOTSTRAP & IPKG lost after every reboot

Postby Lampy » Tue Jan 31, 2012 11:45 am

Is this going to be patched in the final release?
Lampy
I'm New!
I'm New!
 
Posts: 3
Joined: Sat Oct 03, 2009 6:07 pm

Re: BOOTSTRAP & IPKG lost after every reboot

Postby gregoire » Tue Jan 31, 2012 2:57 pm

Lampy wrote:Is this going to be patched in the final release?

The ipkg system isn't officially supported by synology so they aren't obligated to patch this. If they did it would be a cool gesture to the community, if not then it's business as usual.
DS-508
Samung UE46C6900
Wireless network.
gregoire
Versed
Versed
 
Posts: 245
Joined: Sun Oct 29, 2006 9:51 pm

Re: BOOTSTRAP & IPKG lost after every reboot

Postby molassen » Tue Jan 31, 2012 8:32 pm

Why dosnt this work with DSM 4.0 without modifying rc.local and .profile ?
I mean - what has changed? It worked out-of-the-box with DSM 3.2
Kind regards
Morten lassen, Denmark, http://blog.mola.dk
[DS-209+II|RAID1 @ 2x1.5Tb WD15EADS|DSM 4.2 beta
User avatar
molassen
Novice
Novice
 
Posts: 43
Joined: Tue Sep 22, 2009 8:04 pm

Re: BOOTSTRAP & IPKG lost after every reboot

Postby ruinit » Fri Mar 02, 2012 8:50 pm

How do I edit the these files? I put on dsm4.0 now ipkg will not work? I can't gain access to the files from what I see. I have even tried to get in using ftp but can't see files.
ruinit
I'm New!
I'm New!
 
Posts: 9
Joined: Fri Mar 02, 2012 6:56 pm

Re: BOOTSTRAP & IPKG lost after every reboot

Postby Blueyed1 » Tue Mar 06, 2012 4:47 pm

mikeo wrote:Today i installed DSM 4.0 beta on a DS211 and found a big problem.

BOOTSTRAP & IPKG lost after every reboot.

When you install BOOTSTRAP & IPKG all is fine until you reboot. Then IPKG is removed and you can start all over.

I send a bug report to Synology about it. If more people have this problem please send a bug report to them


I wonder if they fixed it with this final release ?

/Blueyed1
Blueyed1
Experienced
Experienced
 
Posts: 124
Joined: Fri Aug 01, 2008 8:12 pm

Re: BOOTSTRAP & IPKG lost after every reboot

Postby ZeusII » Tue Mar 06, 2012 4:56 pm

well, after updating to 4.0 final, I had to add the opt path to the PATH again so it's not fixed.

As it's really easy to fix (anyone who is able to install the bootstrap should be able to the fix) it's not a big matter at all.
DS109+
Firmware: 4.2-3202
Primary Use: Data storage, SVN, Media Server, Crashplan+ and Bittorent (Transmission 2.77)
HD: Western Digital WD20EARS, 2.0TB
USB Backup HD: Western Digital WD20EARS, 2.0TB
Protected by APC Back-UPS Pro 900 :)
User avatar
ZeusII
Knowledgeable
Knowledgeable
 
Posts: 308
Joined: Thu Jun 28, 2007 11:13 pm
Location: Barcelona, Spain

Next

Return to DiskStation Manager 4.0 BETA

Who is online

Users browsing this forum: No registered users and 1 guest