Barcelona were drawn against Ibiza in the last 32 of the Copa del Rey on Tuesday.
Quique Setien's first Barcelona away game will take place on the party island of Ibiza.
Setien, who on Monday agreed to be Ernesto Valverde's successor at Camp Nou on a deal until 2022, will take his new team to the Balearic Island in the last 32 of the Copa del Rey.
The game, which will take place next midweek, will follow Setien's first game in charge, at home to Granada on Sunday.Defending champions Valencia, the final team in pot one, face a potential banana skin when they go to Segunda B Group 2 table-toppers UD Logrones.
Real Madrid were paired with Segunda B Group 2 strugglers Unionistas Salamanca while city rivals Atletico will visit Cultural Leonesa.
Unionistas beat Deportivo La Coruna in the previous round and celebrated news of Tuesday’s draw with Zinedine Zidane's Madrid.
Sevilla play host to Levante, Espanyol go to Real Sociedad while Elche take on Athletic Bilbao.
Real Betis travel to Rayo Vallecano and Girona host Villarreal.
All matches at this stage are one-legged affairs following changes to the competition.