I lost admin privileges!

General discussions.

Moderator: moderators

I lost admin privileges!

Postby Rinaldus » Thu Jul 04, 2013 7:46 am

I don't know why but my admin account on Subsonic lost its admin privileges. I can't neither add users nor change transcode settings. How can I fix it through editing database?
Rinaldus
 
Posts: 10
Joined: Thu Apr 26, 2012 10:47 am

Re: I lost admin privileges!

Postby jserum » Sat Dec 14, 2013 4:51 pm

I had the same issue just now. On my Windows box I stopped the Subsonic service and edited the C:\Subsonic\db\subsonic.script. My username was 'admin' so I added this line near the other similar lines:
Code: Select all
INSERT INTO USER_ROLE VALUES('admin',1)

I did have an issue saving the file. I had to save it as another file name in the same directory, rename the old and then rename the new file to match the old.

After I restarted the service I had admin privileges again.

Hope this helps.
jserum
 
Posts: 1
Joined: Sat Dec 14, 2013 4:43 pm


Return to General

Who is online

Users browsing this forum: No registered users and 12 guests